X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_SelectionMgr.h;h=93f19284c72f34fdfe66899494b2933a578c6c86;hb=47c18d4de2719126f6b045b5c37525cd8f170aa1;hp=e98b52841fb76fb321e910d51a52e1ebdbfb7b76;hpb=142e6a7451245b1c39e5d0afbabb5dc4f678520e;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_SelectionMgr.h b/src/XGUI/XGUI_SelectionMgr.h index e98b52841..93f19284c 100644 --- a/src/XGUI/XGUI_SelectionMgr.h +++ b/src/XGUI/XGUI_SelectionMgr.h @@ -12,6 +12,7 @@ class XGUI_Workshop; class XGUI_ObjectsBrowser; +class XGUI_Selection; /**\class XGUI_SelectionMgr * \ingroup GUI @@ -25,17 +26,19 @@ public: XGUI_SelectionMgr(XGUI_Workshop* theParent); virtual ~XGUI_SelectionMgr(); + XGUI_Selection* selection() const { return mySelection; } + //! Returns list of currently selected data objects - QFeatureList selectedFeatures() const; + //QFeatureList selectedFeatures() const; //! Returns list of currently selected QModelIndexes - QModelIndexList selectedIndexes() const; + //QModelIndexList selectedIndexes() const; //! Returns list of currently selected AIS objects - void selectedAISObjects(AIS_ListOfInteractive& theList) const; + //void selectedAISObjects(AIS_ListOfInteractive& theList) const; //! Returns list of currently selected shapes - void selectedShapes(NCollection_List& theList) const; + //void selectedShapes(NCollection_List& theList) const; //! Connects the manager to all viewers accessible by Workshop void connectViewers(); @@ -49,8 +52,8 @@ private slots: void onViewerSelection(); private: - XGUI_Workshop* myWorkshop; + XGUI_Selection* mySelection; }; #endif