#include <LightApp_Plot2dSelector.h>
Public Member Functions | |
LightApp_Plot2dSelector (Plot2d_Viewer *, SUIT_SelectionMgr *) | |
virtual | ~LightApp_Plot2dSelector () |
virtual QString | type () const |
Public Member Functions inherited from SUIT_Selector | |
SUIT_Selector (SUIT_SelectionMgr *, QObject *=0) | |
virtual | ~SUIT_Selector () |
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 |
QObject * | owner () const |
Protected Member Functions | |
virtual void | getSelection (SUIT_DataOwnerPtrList &) const |
virtual void | setSelection (const SUIT_DataOwnerPtrList &) |
Protected Member Functions inherited from SUIT_Selector | |
void | selectionChanged () |
Private Slots | |
void | onSelectionChanged (const QString &) |
void | onClearSelected () |
Private Attributes | |
QString | myCurEntry |
Plot2d_Viewer * | myViewer |
Custom selector to get/set selection from object browser
LightApp_Plot2dSelector::LightApp_Plot2dSelector | ( | Plot2d_Viewer * | v, |
SUIT_SelectionMgr * | mgr | ||
) |
Constructor
References onClearSelected(), and onSelectionChanged().
|
virtual |
Destructor
|
protectedvirtual |
Gets selection.
Implements SUIT_Selector.
References SUIT_DataOwnerPtrList::append(), myCurEntry, and SALOME_InteractiveObject().
|
privateslot |
On clear selected.
References SUIT_SelectionMgr::clearSelected(), and SUIT_Selector::selectionMgr().
|
privateslot |
On selection changed.
References myCurEntry, and SUIT_Selector::selectionChanged().
|
protectedvirtual |
Sets selection.
Implements SUIT_Selector.
References LightApp_DataOwner::entry(), myViewer, SUIT_Selector::owner(), SALOME_InteractiveObject(), and SPlot2d_Viewer::setObjectsSelected().
|
inlinevirtual |
Return "ObjectBrowser"
Implements SUIT_Selector.
|
private |
|
private |