Qt
ApplicationComponents
pqConfigureCategoriesReaction.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
3
#ifndef pqConfigureCategoriesReaction_h
4
#define pqConfigureCategoriesReaction_h
5
6
#include "
pqMasterOnlyReaction.h
"
7
8
class
QAction;
9
class
pqProxyGroupMenuManager
;
10
15
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqConfigureCategoriesReaction
:
public
pqMasterOnlyReaction
16
{
17
Q_OBJECT
18
typedef
pqMasterOnlyReaction
Superclass
;
19
20
public
:
21
pqConfigureCategoriesReaction
(QAction* action,
pqProxyGroupMenuManager
* manager)
22
: Superclass(action)
23
, Manager(manager)
24
{
25
}
26
30
static
void
configureCategories(
pqProxyGroupMenuManager
* manager);
31
32
protected
:
33
void
onTriggered
()
override
{
pqConfigureCategoriesReaction::configureCategories
(this->Manager); }
34
35
private
:
36
Q_DISABLE_COPY(
pqConfigureCategoriesReaction
)
37
38
pqProxyGroupMenuManager
* Manager;
39
};
40
41
#endif
pqProxyGroupMenuManager
pqProxyGroupMenuManager is a menu-populator that fills up a menu with proxies defined in an XML confi...
Definition:
pqProxyGroupMenuManager.h:25
pqConfigureCategoriesReaction::onTriggered
void onTriggered() override
Called when the action is triggered.
Definition:
pqConfigureCategoriesReaction.h:33
pqConfigureCategoriesReaction::configureCategories
static void configureCategories(pqProxyGroupMenuManager *manager)
Pops-up the pqConfigureCategoriesDialog dialog.
PQAPPLICATIONCOMPONENTS_EXPORT
#define PQAPPLICATIONCOMPONENTS_EXPORT
Definition:
pqApplicationComponentsModule.h:15
pqMasterOnlyReaction.h
pqConfigureCategoriesReaction::pqConfigureCategoriesReaction
pqConfigureCategoriesReaction(QAction *action, pqProxyGroupMenuManager *manager)
Definition:
pqConfigureCategoriesReaction.h:21
pqMasterOnlyReaction
This is a superclass just to make it easier to collect all such reactions.
Definition:
pqMasterOnlyReaction.h:24
pqConfigureCategoriesReaction
pqConfigureCategoriesReaction is the reaction to pop-up the categories manager dialog.
Definition:
pqConfigureCategoriesReaction.h:15
Generated by
1.8.13 on Tue Dec 31 2024