How to set background color for the MainWindow.? Can some one help me out with this.?
How to set background color for the MainWindow.? Can some one help me out with this.?
Try to use QPalette! Also a look to setAutoFillBackground() can help.
Hi,
You can use QPallete or QStyleSheet. You can get the sample code at here :
http://toto-share.com/2011/11/qt-change-qwidget-color/
Or you can get many of tutorial from google. Please try that
Regards,
Toto
Bookmarks