Hello,
Could somebody tell me how I can prevent docking action on mouse doubleclick on title bar. I create my dockable widget as follow:
d->setAllowedAreas(Qt::NoDockWidgetArea);
d
->setFeatures
( QDockWidget::DockWidgetFloatable|QDockWidget
::DockWidgetMovable|QDockWidget
::DockWidgetClosable );
myView = new SplitCombineFiles( d );
d->setWidget(myView );
d->setFloating ( true );
QDockWidget* d = new QDockWidget(tr("myDockWidget"), this);
d->setAllowedAreas(Qt::NoDockWidgetArea);
d->setFeatures ( QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable|QDockWidget::DockWidgetClosable );
myView = new SplitCombineFiles( d );
d->setWidget(myView );
d->setFloating ( true );
To copy to clipboard, switch view to plain text mode
i would think that i set all flags possible to prevent docking, but no, it still docks on double click.
Thanks in advance.
Bookmarks