17#ifndef QGSDOCKWIDGET_H
18#define QGSDOCKWIDGET_H
58 bool isUserVisible()
const;
67 void setToggleVisibilityAction( QAction *action );
75 QAction *toggleVisibilityAction();
95 void setUserVisible(
bool visible );
106 void toggleUserVisible();
110 void closeEvent( QCloseEvent * )
override;
111 void showEvent( QShowEvent *event )
override;
147 void handleVisibilityChanged(
bool visible );
151 bool mVisibleAndActive =
false;
153 QAction *mAction =
nullptr;