Hi Friends....
Just now i registered as a member to this forum,
my question is
How to set background colour to MainWindow, in my application it is taking default color, but i want to make it as more colourful, please help me.
Hi Friends....
Just now i registered as a member to this forum,
my question is
How to set background colour to MainWindow, in my application it is taking default color, but i want to make it as more colourful, please help me.
In general there are two choices. Either set a stylesheet on the window that contains a "background" property or set the QPalette::Window color role of the window's palette. I'd suggest going for the latter, but the former is just as good.
If ur using QtDesigner4 ,then go to
property editor->select palette->change palette(double click) ->select window(double click)
and select ur desired color
that's it
Bookmarks