yartov
24th June 2008, 19:36
Hello,
Could somebody tell me how I can prevent docking action on mouse doubleclick on title bar. I create my dockable widget as follow:
QDockWidget* d = new QDockWidget(tr("myDockWidget"), this);
d->setAllowedAreas(Qt::NoDockWidgetArea);
d->setFeatures ( QDockWidget::DockWidgetFloatable|QDockWidget::Dock WidgetMovable|QDockWidget::DockWidgetClosable );
myView = new SplitCombineFiles( d );
d->setWidget(myView );
d->setFloating ( true );
i would think that i set all flags possible to prevent docking, but no, it still docks on double click.
Thanks in advance.
Could somebody tell me how I can prevent docking action on mouse doubleclick on title bar. I create my dockable widget as follow:
QDockWidget* d = new QDockWidget(tr("myDockWidget"), this);
d->setAllowedAreas(Qt::NoDockWidgetArea);
d->setFeatures ( QDockWidget::DockWidgetFloatable|QDockWidget::Dock WidgetMovable|QDockWidget::DockWidgetClosable );
myView = new SplitCombineFiles( d );
d->setWidget(myView );
d->setFloating ( true );
i would think that i set all flags possible to prevent docking, but no, it still docks on double click.
Thanks in advance.