Class SBGWidgetNodeIndexerSelector#
ClassList > SBGWidgetNodeIndexerSelector
#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. |
|
bool | empty () const Returns whether the selection contains at least one created node. |
QString | getLabel () const Returns the label shown in the selector. |
SBPointerIndexer< SBNode > & | getSelection () Returns the selection. |
const SBPointerIndexer< SBNode > & | getSelection () const Returns the selection. |
void | setLabel (const QString & label) Sets the label shown in the selector. |
virtual | ~SBGWidgetNodeIndexerSelector () Destructs the selector widget. |
Detailed Description#
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.
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 empty#
Returns whether the selection contains at least one created node.
function getLabel#
Returns the label shown in the selector.
function getSelection [1/2]#
Returns the selection.
function getSelection [2/2]#
Returns the selection.
function setLabel#
Sets the label shown in the selector.
function ~SBGWidgetNodeIndexerSelector#
Destructs the selector widget.