The class represents selection which can be used in Python.
#include <SalomePyQt.h>
Signals | |
void | currentSelectionChanged () |
Public Member Functions | |
~SALOME_Selection () | |
Destructor. More... | |
void | Clear () |
Clear the selection. More... | |
void | ClearIObjects () |
Clear the selection. More... | |
void | ClearFilters () |
Static Public Member Functions | |
static SALOME_Selection * | GetSelection (LightApp_Application *) |
Get the selection object for the specified application. More... | |
Private Slots | |
void | onSelMgrDestroyed () |
Called when selection manager is destroyed (usually when the study is closed). More... | |
Private Member Functions | |
SALOME_Selection (QObject *) | |
Constructor. More... | |
Private Attributes | |
LightApp_SelectionMgr * | mySelMgr |
SALOME_Selection::~SALOME_Selection | ( | ) |
References app.
|
private |
p | parent object |
References currentSelectionChanged(), mySelMgr, onSelMgrDestroyed(), and LightApp_Application::selectionMgr().
void SALOME_Selection::Clear | ( | ) |
References SUIT_SelectionMgr::clearSelected(), mySelMgr, and ProcessVoidEvent().
void SALOME_Selection::ClearFilters | ( | ) |
Removes all selection filters.
References SUIT_SelectionMgr::clearFilters(), mySelMgr, and ProcessVoidEvent().
void SALOME_Selection::ClearIObjects | ( | ) |
References Clear().
|
signal |
|
static |
Finds or creates the selection object (one per study).
app | application object |
References app, and SALOME_Selection().
|
privateslot |
References mySelMgr.
|
private |