Version: 6.3.1
Signals | Public Member Functions | Static Public Member Functions | Private Slots | Private Member Functions | Private Attributes

SALOME_Selection Class Reference

The class represents selection which can be used in Python.

#include <SalomePyQt.h>

Inheritance diagram for SALOME_Selection:
Inheritance graph

Signals

void currentSelectionChanged ()

Public Member Functions

 ~SALOME_Selection ()
 Destructor.
void Clear ()
 Clear the selection.
void ClearIObjects ()
 Clear the selection.
void ClearFilters ()

Static Public Member Functions

static SALOME_SelectionGetSelection (LightApp_Application *)
 Get the selection object for the specified application.

Private Slots

void onSelMgrDestroyed ()
 Called when selection manager is destroyed (usually when the study is closed).

Private Member Functions

 SALOME_Selection (QObject *)
 Constructor.

Private Attributes

LightApp_SelectionMgrmySelMgr

Constructor & Destructor Documentation

SALOME_Selection::~SALOME_Selection ( )

References SelMap.

SALOME_Selection::SALOME_Selection ( QObject p) [private]

Member Function Documentation

SALOME_Selection * SALOME_Selection::GetSelection ( LightApp_Application app) [static]

Finds or creates the selection object (one per study).

Parameters:
appapplication object
Returns:
selection object or 0 if app is invalid

References SALOME_Selection(), and SelMap.

void SALOME_Selection::Clear ( )
void SALOME_Selection::ClearIObjects ( )

References Clear().

void SALOME_Selection::ClearFilters ( )

Removes all selection filters.

References SUIT_SelectionMgr.clearFilters(), mySelMgr, and ProcessVoidEvent().

void SALOME_Selection.currentSelectionChanged ( ) [signal]
void SALOME_Selection::onSelMgrDestroyed ( ) [private, slot]

References mySelMgr.


Field Documentation

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS