Reaction for delete sources (all or selected only).
More...
#include <pqDeleteReaction.h>
Reaction for delete sources (all or selected only).
Definition at line 16 of file pqDeleteReaction.h.
◆ DeleteModes
◆ pqDeleteReaction()
if delete_all is false, then only selected items will be deleted if possible.
◆ deleteAll()
static void pqDeleteReaction::deleteAll |
( |
| ) |
|
|
static |
◆ deleteSelected()
static void pqDeleteReaction::deleteSelected |
( |
| ) |
|
|
static |
◆ canDeleteSelected()
static bool pqDeleteReaction::canDeleteSelected |
( |
| ) |
|
|
static |
◆ deleteTree()
static void pqDeleteReaction::deleteTree |
( |
| ) |
|
|
static |
◆ canDeleteTree()
static bool pqDeleteReaction::canDeleteTree |
( |
| ) |
|
|
static |
◆ deleteSources()
static void pqDeleteReaction::deleteSources |
( |
const QSet< pqProxy *> & |
sources | ) |
|
|
static |
Deletes all sources in the set, if possible.
All variants of public methods on this class basically call this method with the sources set built up appropriately. The sources set is modified to remove all deleted sources. Any undeleted sources will remain in the set.
◆ updateEnableState
void pqDeleteReaction::updateEnableState |
( |
| ) |
|
|
overrideslot |
Updates the enabled state.
Applications need not explicitly call this.
◆ deleteSource
void pqDeleteReaction::deleteSource |
( |
pqProxy * |
source | ) |
|
|
slot |
Request deletion of a particular source.
◆ onTriggered()
void pqDeleteReaction::onTriggered |
( |
| ) |
|
|
overrideprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
The documentation for this class was generated from the following file: