23 : QDockWidget( parent, flags )
25 connect(
this, &QDockWidget::visibilityChanged,
this, &QgsDockWidget::handleVisibilityChanged );
29 : QDockWidget( title, parent, flags )
31 connect(
this, &QDockWidget::visibilityChanged,
this, &QgsDockWidget::handleVisibilityChanged );
43 if ( !mVisibleAndActive )
52 return mVisibleAndActive;
60 QDockWidget::closeEvent( e );
68 QDockWidget::showEvent( e );
71 void QgsDockWidget::handleVisibilityChanged(
bool visible )
73 mVisibleAndActive = visible;