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;
10 
16 {
17  Q_OBJECT
19 
20 public:
22  : Superclass(action)
23  , Manager(manager)
24  {
25  }
26 
30  static void configureCategories(pqProxyGroupMenuManager* manager);
31 
32 protected:
34 
35 private:
36  Q_DISABLE_COPY(pqConfigureCategoriesReaction)
37 
38  pqProxyGroupMenuManager* Manager;
39 };
40 
41 #endif
pqProxyGroupMenuManager is a menu-populator that fills up a menu with proxies defined in an XML confi...
void onTriggered() override
Called when the action is triggered.
static void configureCategories(pqProxyGroupMenuManager *manager)
Pops-up the pqConfigureCategoriesDialog dialog.
#define PQAPPLICATIONCOMPONENTS_EXPORT
pqConfigureCategoriesReaction(QAction *action, pqProxyGroupMenuManager *manager)
This is a superclass just to make it easier to collect all such reactions.
pqConfigureCategoriesReaction is the reaction to pop-up the categories manager dialog.