Reaction to handle creation of filters from the filters menu.
More...
#include <pqFiltersMenuReaction.h>
Inherits QObject.
Reaction to handle creation of filters from the filters menu.
pqFiltersMenuReaction knows when to enable/disable actions in the menu as well as what to do when an action is triggered.
Definition at line 21 of file pqFiltersMenuReaction.h.
◆ pqFiltersMenuReaction()
pqFiltersMenuReaction::pqFiltersMenuReaction |
( |
pqProxyGroupMenuManager * |
menuManager, |
|
|
bool |
hideDisabledActions = false |
|
) |
| |
◆ updateEnableState
virtual void pqFiltersMenuReaction::updateEnableState |
( |
bool |
updateOnlyToolbars = false | ) |
|
|
virtualslot |
Updates the enabled state.
The actions in toolbars will be updated automatically. The containing widget of other actions should connect its aboutToShow signal to this slot.
◆ createFilter
Creates a filter of the given type.
◆ onTriggered
virtual void pqFiltersMenuReaction::onTriggered |
( |
const QString & |
group, |
|
|
const QString & |
name |
|
) |
| |
|
inlineprotectedvirtualslot |
◆ setEnableStateDirty
virtual void pqFiltersMenuReaction::setEnableStateDirty |
( |
| ) |
|
|
protectedvirtualslot |
The documentation for this class was generated from the following file: