[Qt-interest] How to set the DockWidget style sheet in floating & non-floating scenario

Santhosh Y santhosh at softjin.com
Mon Jun 22 08:52:50 CEST 2009


Hi,

I would like to set style sheet for QDockWidget:

"QDockWidget {background-color: white;}"

I have set a widget to dock widget and I attached dockwidget to main window.

The problem is that I can see only white background to the dock in 
floating dock state but not in non-floating dock state.

How can I set the background white in non-floating state?

I have seen the Pseudo states , but there is no floating & non-floating 
state for Dock widget.

Please guide me in doing this.

-- 
----------------------------------------------------
Y Santhosh Kumar
Senior Software Engineer
SoftJin Technologies Private Limited
Unit No. 102, Mobius Tower,
I Floor, SJR I - Park,
EPIP, White Field,
Bangalore - 560066, India
U : www.softjin.com
E : santhosh at softjin.com
T : +91-80-41779999
M : +91-9740535265
----------------------------------------------------



Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for  the use  of the  individual or entity  to which they  are  addressed. It
may  contain confidential,  proprietary or legally  privileged  information.
If  you  are  not  the  intended recipient please be advised that you have
received  this  message in error and any use is strictly prohibited. Please
immediately  delete it  and all copies of it from your system, destroy any
hard  copies  of  it and  notify  the  sender  by return mail. You must not,
directly or indirectly, use,  disclose,  distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________





More information about the Qt-interest-old mailing list