pqTreeWidgetSelectionHelper enables multiple element selection and the toggling on then changing the checked state of the selected elements.
More...
#include <pqTreeWidgetSelectionHelper.h>
Inherits QObject.
pqTreeWidgetSelectionHelper enables multiple element selection and the toggling on then changing the checked state of the selected elements.
Hence, the user can do things like selecting a subset of nodes and then (un)checking all of them etc. This cannot work in parallel with pqTreeWidgetCheckHelper, hence only once of the two must be used on the same tree widget. CAVEATS: This helper currently assumes that the 0-th column is checkable (if at all). This can be fixed if needed.
Definition at line 23 of file pqTreeWidgetSelectionHelper.h.
◆ pqTreeWidgetSelectionHelper()
pqTreeWidgetSelectionHelper::pqTreeWidgetSelectionHelper |
( |
QTreeWidget * |
treeWidget | ) |
|
◆ ~pqTreeWidgetSelectionHelper()
pqTreeWidgetSelectionHelper::~pqTreeWidgetSelectionHelper |
( |
| ) |
|
|
override |
◆ onItemPressed
void pqTreeWidgetSelectionHelper::onItemPressed |
( |
QTreeWidgetItem * |
item, |
|
|
int |
column |
|
) |
| |
|
protectedslot |
◆ showContextMenu
void pqTreeWidgetSelectionHelper::showContextMenu |
( |
const QPoint & |
| ) |
|
|
protectedslot |
The documentation for this class was generated from the following file: