Reaction for delete sources (all or selected only).
More...
#include <pqDeleteReaction.h>
Reaction for delete sources (all or selected only).
Definition at line 43 of file pqDeleteReaction.h.
◆ pqDeleteReaction()
pqDeleteReaction::pqDeleteReaction |
( |
QAction * |
parent, |
|
|
bool |
delete_all = false |
|
) |
| |
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 |
◆ deleteSources()
static void pqDeleteReaction::deleteSources |
( |
QSet< pqPipelineSource * > & |
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
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:
- /home/kitware/dashboards/buildbot/paraview_release-vall-linux-shared-release_adios2_doc_extdeps_gui_mpi_python3/source/Qt/ApplicationComponents/pqDeleteReaction.h