#include <LightApp_Plot2dSelector.h>

Public Member Functions | |
| LightApp_Plot2dSelector (Plot2d_Viewer *, SUIT_SelectionMgr *) | |
| virtual | ~LightApp_Plot2dSelector () |
| virtual QString | type () const |
| SUIT_SelectionMgr * | selectionMgr () const |
| bool | isEnabled () const |
| virtual void | setEnabled (const bool) |
| bool | autoBlock () const |
| virtual void | setAutoBlock (const bool) |
| void | selected (SUIT_DataOwnerPtrList &) const |
| void | setSelected (const SUIT_DataOwnerPtrList &) |
| bool | hasSelectionMode (const int) const |
| void | selectionModes (QList< int > &) const |
Protected Member Functions | |
| virtual void | getSelection (SUIT_DataOwnerPtrList &) const |
| virtual void | setSelection (const SUIT_DataOwnerPtrList &) |
| void | selectionChanged () |
Private Slots | |
| void | onSelectionChanged (const QString &) |
Private Attributes | |
| QString | myCurEntry |
Custom selector to get/set selection from object browser
| LightApp_Plot2dSelector::LightApp_Plot2dSelector | ( | Plot2d_Viewer * | v, |
| SUIT_SelectionMgr * | mgr | ||
| ) |
Constructor
References onSelectionChanged().
| LightApp_Plot2dSelector::~LightApp_Plot2dSelector | ( | ) | [virtual] |
Destructor
| virtual QString LightApp_Plot2dSelector.type | ( | ) | const [virtual] |
Return "ObjectBrowser"
Implements SUIT_Selector.
| void LightApp_Plot2dSelector::onSelectionChanged | ( | const QString & | entry | ) | [private, slot] |
On selection changed.
References myCurEntry, and SUIT_Selector.selectionChanged().
| void LightApp_Plot2dSelector::getSelection | ( | SUIT_DataOwnerPtrList & | theList | ) | const [protected, virtual] |
Gets selection.
Implements SUIT_Selector.
References SUIT_DataOwnerPtrList.append(), and myCurEntry.
| void LightApp_Plot2dSelector::setSelection | ( | const SUIT_DataOwnerPtrList & | theList | ) | [protected, virtual] |
| SUIT_SelectionMgr * SUIT_Selector::selectionMgr | ( | ) | const [inherited] |
Gets selection manager.
References SUIT_Selector.mySelMgr.
| bool SUIT_Selector::isEnabled | ( | ) | const [inherited] |
Checks: Is selctor enabled?
References SUIT_Selector.myEnabled.
| void SUIT_Selector::setEnabled | ( | const bool | on | ) | [virtual, inherited] |
Sets selctor anbled to on.
References SUIT_Selector.myEnabled.
| bool SUIT_Selector::autoBlock | ( | ) | const [inherited] |
Checks: Is selector auto block?
References SUIT_Selector.myAutoBlock.
| void SUIT_Selector::setAutoBlock | ( | const bool | on | ) | [virtual, inherited] |
Sets selctor autoblock to on.
References SUIT_Selector.myAutoBlock.
| void SUIT_Selector::selected | ( | SUIT_DataOwnerPtrList & | lst | ) | const [inherited] |
Puts to lst selection list of data owners.
References SUIT_DataOwnerPtrList.clear(), and SUIT_Selector.getSelection().
| void SUIT_Selector::setSelected | ( | const SUIT_DataOwnerPtrList & | lst | ) | [inherited] |
Puts to selection list of data owners lst..
References SUIT_Selector.isEnabled(), SUIT_Selector.myBlock, and SUIT_Selector.setSelection().
| bool SUIT_Selector::hasSelectionMode | ( | const int | mode | ) | const [inherited] |
Checks: Is selection manager has selection mode mode?
References SUIT_SelectionMgr.hasSelectionMode(), and SUIT_Selector.selectionMgr().
| void SUIT_Selector::selectionModes | ( | QList< int > & | lst | ) | const [inherited] |
Puts to list lst selection modes from selection manager.
References SUIT_Selector.selectionMgr(), and SUIT_SelectionMgr.selectionModes().
| void SUIT_Selector::selectionChanged | ( | ) | [protected, inherited] |
On selection changed.
References SUIT_Selector.autoBlock(), SUIT_Selector.isEnabled(), SUIT_Selector.myBlock, SUIT_SelectionMgr.selectionChanged(), and SUIT_Selector.selectionMgr().
QString LightApp_Plot2dSelector.myCurEntry [private] |