Salome HOME
Command New Document provided
[modules/shaper.git] / src / XGUI / XGUI_SelectionMgr.h
index 5f50ca3d81d6b344652d236061b903a54aa73ffa..58af58ea0515878ba974481329f58e539ec0a8f4 100644 (file)
@@ -6,6 +6,11 @@
 
 class XGUI_Workshop;
 
+/**\class XGUI_SelectionMgr
+ * \ingroup GUI
+ * \brief Selection manager. Provides selection event on selection in 
+ * Object Browser and Viewer
+ */
 class XGUI_SelectionMgr : public QObject
 {
   Q_OBJECT
@@ -13,10 +18,11 @@ public:
   XGUI_SelectionMgr(XGUI_Workshop* theParent);
   virtual ~XGUI_SelectionMgr();
 
+  //! Returns list of currently selected objects
   QFeatureList selectedData() const { return mySelectedData; }
 
-
 signals:
+  //! Emited when selection in a one of viewers was changed
   void selectionChanged();
 
 public slots:
@@ -25,6 +31,7 @@ public slots:
 private:
   XGUI_Workshop* myWorkshop;
 
+  //! List of selected features
   QFeatureList mySelectedData;
 };