Qt
ApplicationComponents
pqViewMenuManager.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 pqViewMenuManager_h
5
#define pqViewMenuManager_h
6
7
#include "
pqApplicationComponentsModule.h
"
8
#include <QObject>
9
#include <QPointer>
10
11
class
QMenu;
12
class
QMainWindow;
13
class
QAction;
14
20
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqViewMenuManager
:
public
QObject
21
{
22
Q_OBJECT
23
typedef
QObject Superclass;
24
25
public
:
26
pqViewMenuManager
(QMainWindow* mainWindow, QMenu* menu);
27
28
protected
Q_SLOTS:
33
void
buildMenu();
34
43
virtual
void
updateMenu();
44
45
protected
:
// NOLINT(readability-redundant-access-specifiers)
46
QPointer<QMenu>
Menu
;
47
QPointer<QMenu>
ToolbarsMenu
;
48
QPointer<QAction> DockPanelSeparators[2];
49
QPointer<QAction>
ShowFrameDecorationsAction
;
50
51
private
:
52
Q_DISABLE_COPY(
pqViewMenuManager
)
53
QMainWindow* Window;
54
};
55
56
#endif
pqViewMenuManager::ToolbarsMenu
QPointer< QMenu > ToolbarsMenu
Definition:
pqViewMenuManager.h:47
PQAPPLICATIONCOMPONENTS_EXPORT
#define PQAPPLICATIONCOMPONENTS_EXPORT
Definition:
pqApplicationComponentsModule.h:15
pqViewMenuManager
pqViewMenuManager keeps ParaView View menu populated with all the available dock widgets and toolbars...
Definition:
pqViewMenuManager.h:20
pqApplicationComponentsModule.h
pqViewMenuManager::ShowFrameDecorationsAction
QPointer< QAction > ShowFrameDecorationsAction
Definition:
pqViewMenuManager.h:49
pqViewMenuManager::Menu
QPointer< QMenu > Menu
Definition:
pqViewMenuManager.h:46
Generated by
1.8.13 on Mon Dec 23 2024