Details
-
Bug
-
Resolution: Out of scope
-
P4: Low
-
5.2.0
-
None
-
Windows 7
-
5e6697bf2083e9f3490792ad100680598ba56998 (dev, 7.4.2014 ,5.4)
Description
On Windows, you are unable to draw a custom dock widget title, because the windows style does a cast to a QDockWidget first:
(Line 1428 of qwindowsvistastyle.cpp)
case CE_DockWidgetTitle: if (const QDockWidget *dockWidget = qobject_cast<const QDockWidget *>(widget))
As it only does a cast to check if the widget is floating, it would make more sense to add "floating" as a boolean in the style option.