Salome HOME
Selection manager added
[modules/shaper.git] / src / XGUI / XGUI_SelectionMgr.h
1 #ifndef XGUI_SelectionMgr_H
2 #define XGUI_SelectionMgr_H
3
4 #include "XGUI_Constants.h"
5 #include <QObject>
6
7 class XGUI_Workshop;
8
9 class XGUI_SelectionMgr : public QObject
10 {
11   Q_OBJECT
12 public:
13   XGUI_SelectionMgr(XGUI_Workshop* theParent);
14   virtual ~XGUI_SelectionMgr();
15
16   QFeatureList selectedData() const { return mySelectedData; }
17
18
19 signals:
20   void selectionChanged();
21
22 public slots:
23   void onSelectionChanged();
24
25 private:
26   XGUI_Workshop* myWorkshop;
27
28   QFeatureList mySelectedData;
29 };
30
31 #endif;