Salome HOME
Make faces on selection of sketcher
[modules/shaper.git] / src / XGUI / XGUI_RubberBand.h
index 76b3a6bc9708cc8022f49008e4f1553375154356..e31eafdee1a4fd9ab509fe594ec27b865815e907 100644 (file)
@@ -1,29 +1,30 @@
 #ifndef XGUI_RubberBand_H
 #define XGUI_RubberBand_H
 
+#include "XGUI.h"
 #include <QWidget>
 
 /*!
 \class XGUI_AbstractRubberBand
 \ingroup GUI
 \brief Analog of class QRubberBand with possibility of creation non-rectangular contour for selection.
-  
 Currently this class does not support Style functionality in full.
-*/
-class XGUI_AbstractRubberBand: public QWidget
+ \class XGUI_AbstractRubberBand
+ \ingroup GUI
+ \brief Analog of class QRubberBand with possibility of creation non-rectangular contour for selection.
+ Currently this class does not support Style functionality in full.
+ */
+class XGUI_EXPORT XGUI_AbstractRubberBand : public QWidget
 {
 Q_OBJECT
-protected:
+ protected:
   XGUI_AbstractRubberBand(QWidget*);
 
-public:
+ public:
   virtual ~XGUI_AbstractRubberBand();
 
   virtual void clearGeometry();
 
   bool isClosed();
 
-protected:
+ protected:
   virtual void paintEvent(QPaintEvent*);
   virtual void showEvent(QShowEvent*);
   virtual void moveEvent(QMoveEvent*);
@@ -33,24 +34,24 @@ protected:
 
   virtual void updateMask();
 
-protected:
+ protected:
   QPolygon myPoints;
 
   bool myIsClosed;
 };
 
 /*!
 \class XGUI_RectRubberBand
 \ingroup GUI
 \brief Analog of class QRubberBand with possibility of creation non-rectangular contour for selection.
-  
 Redefinition for rectangular rubber band
-*/
-class XGUI_RectRubberBand: public XGUI_AbstractRubberBand
+ \class XGUI_RectRubberBand
+ \ingroup GUI
+ \brief Analog of class QRubberBand with possibility of creation non-rectangular contour for selection.
+ Redefinition for rectangular rubber band
+ */
+class XGUI_RectRubberBand : public XGUI_AbstractRubberBand
 {
 Q_OBJECT
 
-public:
+ public:
   XGUI_RectRubberBand(QWidget*);
   virtual ~XGUI_RectRubberBand();
 
@@ -61,11 +62,11 @@ public:
   virtual void clearGeometry();
 };
 
-class XGUI_PolyRubberBand: public XGUI_AbstractRubberBand
+class XGUI_PolyRubberBand : public XGUI_AbstractRubberBand
 {
 Q_OBJECT
 
-public:
+ public:
   XGUI_PolyRubberBand(QWidget*);
   virtual ~XGUI_PolyRubberBand();