Re: [PyQt] TextEdit background color

2009-12-08 Thread Nick Gaens

Take a look at style sheets.

On 8-dec-2009, at 09:44, Nadav Chernin  wrote:


Hi, i'm new for PyQt

I use TextEdit widget, and i want that it's background color will  
black (for example)


I tried to use TextEdit.setTextBackgroundColor but only background  
of text painted by black color.


How can i color all TextEdit area by any color?

Thanks, Nadav
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


[PyQt] TextEdit background color

2009-12-08 Thread Nadav Chernin
Hi, i'm new for PyQt

I use TextEdit widget, and i want that it's background color will black (for
example)

I tried to use TextEdit.setTextBackgroundColor but only background of text
painted by black color.

How can i color all TextEdit area by any color?

Thanks, Nadav
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt