23 #ifndef LIGHTAPP_SELECTIONMGR_H
24 #define LIGHTAPP_SELECTIONMGR_H
30 #include <QtCore/QTime>
32 #ifndef DISABLE_SALOMEOBJECT
35 #include <NCollection_DataMap.hxx>
37 #include <TColStd_IndexedMapOfInteger.hxx>
38 #include <TColStd_MapOfInteger.hxx>
41 class TCollection_AsciiString;
43 #include <QStringList>
64 #ifndef DISABLE_SALOMEOBJECT
65 typedef NCollection_DataMap< Handle(SALOME_InteractiveObject), TColStd_IndexedMapOfInteger >
MapIOOfMapOfInteger;
70 void setSelectedObjects( const
SALOME_ListIO&, const
bool = false );
73 TColStd_IndexedMapOfInteger& theIndex );
74 void GetIndexes( const QString& theEntry,
75 TColStd_IndexedMapOfInteger& theIndex );
79 const TColStd_MapOfInteger& theIndices,
83 TColStd_IndexedMapOfInteger theIndex,
bool append );
88 void selectedObjects( QStringList&,
const QString& = QString(),
const bool =
true )
const;
89 void setSelectedObjects(
const QStringList&,
const bool =
false );
92 void clearSelectionCache();
93 bool isSelectionCacheEnabled()
const;
94 void setSelectionCacheEnabled(
bool );
97 void currentSelectionChanged();
102 #ifndef DISABLE_SALOMEOBJECT
105 QStringList selectionCache(
const QString& = QString() )
const;
107 bool isActualSelectionCache(
const QString& = QString() )
const;
109 QStringList selectorTypes()
const;
112 #ifndef DISABLE_SALOMEOBJECT