[Qt-interest] Is it a Qt Stylesheet bug?

NoRulez norulez at me.com
Fri Nov 5 19:28:14 CET 2010


Hello,

 

I have one big stylesheet for my app which is called after QApplication:

 

app.setStyleSheet(loadStyleSheet(“:/qss/app.qss”));

 

Then I have three QDockWidgets which are configured as followed:

 

setCorner(Qt::TopLeftCorner, Qt::TopDockWidgetArea);

setCorner(Qt::TopRightCorner, Qt::RightDockWidgetArea);

setCorner(Qt::BottomLeftCorner, Qt::BottomDockWidgetArea);

setCorner(Qt::BottomRightCorner, Qt::RightDockWidgetArea);

addDockWidget(Qt::RightDockWidgetArea, dockWidget1);

addDockWidget(Qt::RightDockWidgetArea, dockWidget2);

addDockWidget(Qt::BottomDockWidgetArea, dockWidget3);

 

The problem now is, that when I use “app.setStylesheet
”, then the bottom
QDockWidget (dockWidget2) is hidden/minimized. If I comment the line out,
then it is correct.

It does no matter what is in the stylesheet, for example when I commented
the whole stylesheet out è same problem

 

The operating system for the application is Windows 7

 

Did anybody also have such strange problems?

 

Thanks in advance

 

Best Regards

NoRulez

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101105/2cb4950f/attachment.html 


More information about the Qt-interest-old mailing list