View Full Version : Background Color for main window
karthic
16th May 2012, 09:22
How to set background color for the MainWindow.? Can some one help me out with this.?
Lykurg
16th May 2012, 13:53
Try to use QPalette! Also a look to setAutoFillBackground() can help.
myta212
16th May 2012, 17:04
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
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.