pqLockPanelsBehavior.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 #ifndef pqLockPanelsBehavior_h
5 #define pqLockPanelsBehavior_h
6 
7 #include <QObject>
8 #include <QScopedPointer>
9 
11 
12 class QAction;
13 
20 {
21  Q_OBJECT
22  typedef QObject Superclass;
23 
24 public:
29  pqLockPanelsBehavior(QObject* parent = nullptr);
30  ~pqLockPanelsBehavior() override;
31 
35  void generalSettingsChanged();
36 
40  static void toggleLockPanels();
41 
42 private:
43  Q_DISABLE_COPY(pqLockPanelsBehavior);
44 
45  class pqInternals;
46  QScopedPointer<pqInternals> Internals;
47 
51  void lockPanels(bool lock);
52 };
53 
54 #endif // pqLockPanelsBehavior_h
Central location for controlling whether dock widgets are locked down or movable. ...
#define PQAPPLICATIONCOMPONENTS_EXPORT