1 #ifndef XGUI_SelectionMgr_H
2 #define XGUI_SelectionMgr_H
4 #include "XGUI_Constants.h"
9 /**\class XGUI_SelectionMgr
11 * \brief Selection manager. Provides selection event on selection in
12 * Object Browser and Viewer
14 class XGUI_SelectionMgr : public QObject
18 XGUI_SelectionMgr(XGUI_Workshop* theParent);
19 virtual ~XGUI_SelectionMgr();
21 //! Returns list of currently selected objects
22 QFeatureList selectedData() const { return mySelectedData; }
25 //! Emited when selection in a one of viewers was changed
26 void selectionChanged();
29 void onSelectionChanged();
32 XGUI_Workshop* myWorkshop;
34 //! List of selected features
35 QFeatureList mySelectedData;