Object browser selection handler class.
#include <SALOME_PYQT_Selector.h>

Public Member Functions | |
| SALOME_PYQT_Selector (SALOME_PYQT_ModuleLight *, SUIT_SelectionMgr *) | |
| Constructor.  More... | |
| virtual | ~SALOME_PYQT_Selector () | 
| Destructor.  More... | |
| SALOME_PYQT_ModuleLight * | pyModule () const | 
| Get Python module interface instance.  More... | |
| virtual QString | type () const | 
| Get selector type.  More... | |
| unsigned long | getModifiedTime () const | 
| Get the time of the last selection changing.  More... | |
| void | setModified () | 
| Update the time of the latest selection changing.  More... | |
| void | setLocalEntries (const QStringList &entries) | 
| void | clear () | 
| Reset selection internally. Used on close study.  More... | |
  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 | 
| Get list of currently selected objects.  More... | |
| virtual void | setSelection (const SUIT_DataOwnerPtrList &) | 
| Set selection.  More... | |
  Protected Member Functions inherited from SUIT_Selector | |
| void | selectionChanged () | 
Private Slots | |
| void | onSelectionChanged () | 
| Called when the Object browser selection is changed.  More... | |
Private Member Functions | |
| void | fillEntries (QStringList &) | 
| Fill map of the data objects currently shown in the Object Browser.  More... | |
Private Attributes | |
| QStringList | myLocalEntries | 
| SALOME_PYQT_ModuleLight * | myPyModule | 
| SUIT_DataOwnerPtrList | mySelectedList | 
| QStringList | myEntries | 
| unsigned long | myModifiedTime | 
| SALOME_PYQT_Selector::SALOME_PYQT_Selector | ( | SALOME_PYQT_ModuleLight * | pymod, | 
| SUIT_SelectionMgr * | mgr | ||
| ) | 
| pymod | Python module interface instance in charge of calling Python module methods from C++ | 
| mgr | selection manager | 
References SUIT_DataOwnerPtrList::clear(), myEntries, myLocalEntries, myModifiedTime, myPyModule, mySelectedList, onSelectionChanged(), and setModified().
      
  | 
  virtual | 
| void SALOME_PYQT_Selector::clear | ( | ) | 
References SUIT_DataOwnerPtrList::clear(), myEntries, myLocalEntries, and mySelectedList.
      
  | 
  private | 
| entries | map to be filled | 
References myPyModule, setModified(), and SALOME_PYQT_ModuleLight::setSelected().
| unsigned long SALOME_PYQT_Selector::getModifiedTime | ( | ) | const | 
References myModifiedTime.
      
  | 
  protectedvirtual | 
| theList | list to be filled with the selected objects owners | 
Implements SUIT_Selector.
References LightApp_DataObject::componentDataType(), SALOME_PYQT_BorrowedDataObjectLight::entry(), Handle(), myLocalEntries, mySelectedList, SALOME_PYQT_BorrowedDataObjectLight::name(), obj, SUIT_Selector::owner(), and SALOME_InteractiveObject().
      
  | 
  privateslot | 
References SUIT_DataOwnerPtrList::clear(), mySelectedList, and SUIT_Selector::selectionChanged().
| SALOME_PYQT_ModuleLight * SALOME_PYQT_Selector::pyModule | ( | ) | const | 
References myPyModule.
      
  | 
  inline | 
| void SALOME_PYQT_Selector::setModified | ( | ) | 
References myModifiedTime.
      
  | 
  protectedvirtual | 
| theList | list of the object owners to be set selected | 
Implements SUIT_Selector.
References SUIT_DataOwnerPtrList::clear(), LightApp_DataOwner::entry(), fillEntries(), myEntries, myPyModule, mySelectedList, and SUIT_Selector::owner().
      
  | 
  virtual | 
Implements SUIT_Selector.
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |