[Qt-interest] Is it a Qt Stylesheet bug?
NoRulez
norulez at me.com
Mon Nov 8 14:10:20 CET 2010
It seems, that the problem only occurs when I start the app in debug mode from visual studio
Had anybody the same behavior?
Thanks in advance
Best Regards
NoRulez
Am 05.11.2010 um 19:28 schrieb NoRulez <norulez at me.com>:
> 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
>
>
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101108/3e3b2abc/attachment.html
More information about the Qt-interest-old
mailing list