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 )
57 return mVisibleAndActive;
65 QDockWidget::closeEvent( e );
73 QDockWidget::showEvent( e );
76 void QgsDockWidget::handleVisibilityChanged(
bool visible )
78 mVisibleAndActive = visible;