hello
I'm new to QT.I wrote a QT ui.the top is a widget,an some buttons in it.
And, I want to change the color of the ui, including the top widget.
what can I do ??
Thank you .
hello
I'm new to QT.I wrote a QT ui.the top is a widget,an some buttons in it.
And, I want to change the color of the ui, including the top widget.
what can I do ??
Thank you .
Thru palette for your widget.
In sources it may look like this:
Qt Code:
this->setPalette(palette);To copy to clipboard, switch view to plain text mode
take a look on http://doc.qt.nokia.com/4.6/qpalette.html
feiyinziiu (4th December 2009)
Bookmarks