OpenLexocad  27.1
OpenLxUI::Selection Class Reference

#include <Selection.h>

Inheritance diagram for OpenLxUI::Selection:

Signals

void selectedSignal (const std::vector< std::shared_ptr< OpenLxUI::UIElement >> &)
 
void deselectedSignal (const std::vector< std::shared_ptr< OpenLxUI::UIElement >> &)
 
void clearedSelectionSignal ()
 

Public Member Functions

std::shared_ptr< OpenLxApp::DocumentgetDocument () const
 
void selectAll () const
 
void select (std::shared_ptr< OpenLxApp::Element > aElem) const
 
void select (const std::vector< std::shared_ptr< OpenLxApp::Element >> &aElems) const
 
void deselectAll () const
 
void deselect (std::shared_ptr< OpenLxApp::Element > aElem) const
 
void deselect (const std::vector< std::shared_ptr< OpenLxApp::Element >> &aElems) const
 
void forceUpdate () const
 
std::vector< std::shared_ptr< OpenLxApp::DocObject > > getDocObjects () const
 
std::vector< std::shared_ptr< OpenLxApp::Element > > getAsElements () const
 
std::vector< std::shared_ptr< OpenLxUI::UIElement > > getUIElements () const
 
void addCallback (OpenLxUI::SelectionCB *aCB)
 
void addCallback (OpenLxUI::SelectionCB *aCB, OpenLxUI::UIElementFilter *aFilter)
 
void removeCallback (OpenLxUI::SelectionCB *aCB)
 
void removeCallbacks ()
 
std::vector< OpenLxUI::SelectionCB * > getCallbacks () const
 
std::vector< OpenLxUI::SelectionCB * > getCallbacks (OpenLxUI::UIElementFilter *aFilter) const
 
void testCB ()
 
 Selection (std::shared_ptr< OpenLxApp::Document > aDoc)
 
 ~Selection ()
 
 Selection ()=delete
 

Detailed Description

Since
24.0

Constructor & Destructor Documentation

◆ Selection() [1/2]

OpenLxUI::Selection::Selection ( std::shared_ptr< OpenLxApp::Document aDoc)

◆ ~Selection()

OpenLxUI::Selection::~Selection ( )

◆ Selection() [2/2]

OpenLxUI::Selection::Selection ( )
delete

Member Function Documentation

◆ addCallback() [1/2]

void OpenLxUI::Selection::addCallback ( OpenLxUI::SelectionCB aCB)

◆ addCallback() [2/2]

void OpenLxUI::Selection::addCallback ( OpenLxUI::SelectionCB aCB,
OpenLxUI::UIElementFilter aFilter 
)

◆ clearedSelectionSignal

void OpenLxUI::Selection::clearedSelectionSignal ( )
signal

◆ deselect() [1/2]

void OpenLxUI::Selection::deselect ( std::shared_ptr< OpenLxApp::Element aElem) const

◆ deselect() [2/2]

void OpenLxUI::Selection::deselect ( const std::vector< std::shared_ptr< OpenLxApp::Element >> &  aElems) const

◆ deselectAll()

void OpenLxUI::Selection::deselectAll ( ) const

◆ deselectedSignal

void OpenLxUI::Selection::deselectedSignal ( const std::vector< std::shared_ptr< OpenLxUI::UIElement >> &  )
signal

◆ forceUpdate()

void OpenLxUI::Selection::forceUpdate ( ) const

◆ getAsElements()

std::vector<std::shared_ptr<OpenLxApp::Element> > OpenLxUI::Selection::getAsElements ( ) const

◆ getCallbacks() [1/2]

std::vector<OpenLxUI::SelectionCB*> OpenLxUI::Selection::getCallbacks ( ) const

◆ getCallbacks() [2/2]

std::vector<OpenLxUI::SelectionCB*> OpenLxUI::Selection::getCallbacks ( OpenLxUI::UIElementFilter aFilter) const

◆ getDocObjects()

std::vector<std::shared_ptr<OpenLxApp::DocObject> > OpenLxUI::Selection::getDocObjects ( ) const

◆ getDocument()

std::shared_ptr<OpenLxApp::Document> OpenLxUI::Selection::getDocument ( ) const

◆ getUIElements()

std::vector<std::shared_ptr<OpenLxUI::UIElement> > OpenLxUI::Selection::getUIElements ( ) const

◆ removeCallback()

void OpenLxUI::Selection::removeCallback ( OpenLxUI::SelectionCB aCB)

◆ removeCallbacks()

void OpenLxUI::Selection::removeCallbacks ( )

◆ select() [1/2]

void OpenLxUI::Selection::select ( std::shared_ptr< OpenLxApp::Element aElem) const

◆ select() [2/2]

void OpenLxUI::Selection::select ( const std::vector< std::shared_ptr< OpenLxApp::Element >> &  aElems) const

◆ selectAll()

void OpenLxUI::Selection::selectAll ( ) const

◆ selectedSignal

void OpenLxUI::Selection::selectedSignal ( const std::vector< std::shared_ptr< OpenLxUI::UIElement >> &  )
signal

◆ testCB()

void OpenLxUI::Selection::testCB ( )

The documentation for this class was generated from the following file: