Text tree selection handler class. It provides selection synchronization between application and text tree widget. This selector listens item selection changed signal of text tree widget to emit common selection changed signal of SUIT selector to start selection synchronization. In get/setSelection selector processes annotation items. These items have specific entry generated in annotation manager, having the "object entry:annotation_id" structure.
#include <GEOMGUI_TextTreeSelector.h>
|
virtual void | getSelection (SUIT_DataOwnerPtrList &) const |
| Get list of currently selected annotation objects. More...
|
|
virtual void | setSelection (const SUIT_DataOwnerPtrList &) |
| Set selection. More...
|
|
|
void | onSelectionChanged () |
| Called when the Object browser selection is changed. It emits signal to synchronize selection in application. More...
|
|
GEOMGUI_TextTreeSelector::~GEOMGUI_TextTreeSelector |
( |
| ) |
|
|
virtual |
void GEOMGUI_TextTreeSelector::getSelection |
( |
SUIT_DataOwnerPtrList & |
theList | ) |
const |
|
protectedvirtual |
void GEOMGUI_TextTreeSelector::onSelectionChanged |
( |
| ) |
|
|
privateslot |
void GEOMGUI_TextTreeSelector::setSelection |
( |
const SUIT_DataOwnerPtrList & |
theList | ) |
|
|
protectedvirtual |
- Returns
- a pointer to the text tree widget
References myTextTree.
QString GEOMGUI_TextTreeSelector::type |
( |
| ) |
const |
|
virtual |
SUIT_DataOwnerPtrList GEOMGUI_TextTreeSelector::mySelectedList |
|
private |
The documentation for this class was generated from the following files: