Class SBGWidgetNodeIndexerSelector#
ClassList > SBGWidgetNodeIndexerSelector
The SBGWidgetNodeIndexerSelector class is a convenience widget for specifying a selection of nodes - it contains a label and push buttons to set the selection of nodes, to select them in the document, and clear the selection.More...
#include "SBGWidgetNodeIndexerSelector.hpp"
Inherits the following classes: QWidget
Public Slots#
| Type | Name |
|---|---|
| slot void | onClear |
| slot void | onSelect |
| slot void | onSet |
Public Signals#
| Type | Name |
|---|---|
| signal void | selectionChanged |
Public Functions#
| Type | Name |
|---|---|
| SBGWidgetNodeIndexerSelector (QWidget * parent=nullptr) Constructs a selector widget. |
|
| QString | getLabel () const Returns the label shown in the selector. |
| SBPointerIndexer< SBNode > & | getSelection () Returns the selection. |
| const SBPointerIndexer< SBNode > & | getSelection () const Returns the selection. |
| bool | isEmpty () const Returns whether the selection contains at least one created node. |
| void | setLabel (const QString & label) Sets the label shown in the selector. |
| virtual | ~SBGWidgetNodeIndexerSelector () Destructs the selector widget. |
Detailed Description#
Short name: SBNodeIndexerSelector
Public Slots Documentation#
slot onClear#
slot onSelect#
slot onSet#
Public Signals Documentation#
signal selectionChanged#
Public Functions Documentation#
function SBGWidgetNodeIndexerSelector#
Constructs a selector widget.
function getLabel#
Returns the label shown in the selector.
function getSelection [1/2]#
Returns the selection.
function getSelection [2/2]#
Returns the selection.
function isEmpty#
Returns whether the selection contains at least one created node.
function setLabel#
Sets the label shown in the selector.
function ~SBGWidgetNodeIndexerSelector#
Destructs the selector widget.