Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LightApp_Plot2dSelector Class Reference

#include <LightApp_Plot2dSelector.h>

Inheritance diagram for LightApp_Plot2dSelector:
Inheritance graph

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_SelectionMgrselectionMgr () 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
 
QObjectowner () 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_ViewermyViewer
 

Detailed Description

Custom selector to get/set selection from object browser

Constructor & Destructor Documentation

LightApp_Plot2dSelector::LightApp_Plot2dSelector ( Plot2d_Viewer v,
SUIT_SelectionMgr mgr 
)

Constructor

References onClearSelected(), and onSelectionChanged().

LightApp_Plot2dSelector::~LightApp_Plot2dSelector ( )
virtual

Destructor

Member Function Documentation

void LightApp_Plot2dSelector::getSelection ( SUIT_DataOwnerPtrList theList) const
protectedvirtual
void LightApp_Plot2dSelector::onClearSelected ( )
privateslot
void LightApp_Plot2dSelector::onSelectionChanged ( const QString &  entry)
privateslot

On selection changed.

References myCurEntry, and SUIT_Selector::selectionChanged().

void LightApp_Plot2dSelector::setSelection ( const SUIT_DataOwnerPtrList theList)
protectedvirtual
virtual QString LightApp_Plot2dSelector::type ( ) const
inlinevirtual

Return "ObjectBrowser"

Implements SUIT_Selector.

Member Data Documentation

QString LightApp_Plot2dSelector::myCurEntry
private
Plot2d_Viewer* LightApp_Plot2dSelector::myViewer
private

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