apango
14th August 2013, 15:34
Hi, guys
When I try to construct a main window with several dockable windows, I use setPalette of QMainWindow to draw background of main window. The dock windows will have the same background pixmap when they docked and have default background color when they are floating. How to make the dock widget always show default background color whenever docked or floating?
Thany you!
When I try to construct a main window with several dockable windows, I use setPalette of QMainWindow to draw background of main window. The dock windows will have the same background pixmap when they docked and have default background color when they are floating. How to make the dock widget always show default background color whenever docked or floating?
Thany you!