Details
-
Bug
-
Resolution: Cannot Reproduce
-
P4: Low
-
None
-
5.2.0
-
None
-
Windows 7 64bit
Qt 5.2.0 MSVC2012 64 OpenGL
Description
I have a QDockWidget I am setting the internal widget to a widget created using QWidget::createWindowContainer
When I show the widget in a docked state it doesn't have a title bar.
The same code used to work with 5.1 and 5.1.1
Here is an excerpt of the code:
wnd= QWidget::createWindowContainer(dynamic_cast<QWindow*>(rs.renderer->getUnderlyingSurface()));
wnd->setMinimumHeight(180);
ui->dockFilmStrip->setWidget(wnd);
ui->dockFilmStrip->setVisible(true);
I can work around it by adding the following after calling setVisible:
ui->dockFilmStrip->setFloating(true); ui->dockFilmStrip->setFloating(false);
Attachments
Issue Links
- relates to
-
QTBUG-34138 Change QWindowContainer to not create native child widgets
-
- Closed
-
-
QTBUG-29012 DockWidget can not be docked if setFloating is set to true as initial state.
-
- Closed
-