Qt
ApplicationComponents
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
10
#include "
pqApplicationComponentsModule.h
"
11
12
class
QAction;
13
19
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqLockPanelsBehavior
:
public
QObject
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
pqLockPanelsBehavior
Central location for controlling whether dock widgets are locked down or movable. ...
Definition:
pqLockPanelsBehavior.h:19
PQAPPLICATIONCOMPONENTS_EXPORT
#define PQAPPLICATIONCOMPONENTS_EXPORT
Definition:
pqApplicationComponentsModule.h:15
pqApplicationComponentsModule.h
Generated by
1.8.13 on Tue Oct 1 2024