PDA

View Full Version : Background manipulation of QPlainTextEdit



djjkotze
3rd May 2010, 11:03
Hi there everyone!

I'm trying to change the background color of a QPlainTextEdit widget (both the background of the text and the remainder of the widget) to the standard window color.

I've looked at SetBackgroundRole and setBackgroundVisible, but these only color the non-text portion of the widget.

Any ideas on how to color the entire widget would be welcome!

Thanks,
Dirk

MorrisLiang
3rd May 2010, 13:34
Try using stylesheet.:p