Salome HOME
Issues #647, #949, #799: Do not rotate view if a sketcher plane is selected on a...
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchLabel.h
index 25807c81b0dc1010ece814373eaaf325a66ec03a..709c57efa0f7ce68d0c78c5215b7bd855d3ec6d6 100644 (file)
@@ -22,6 +22,7 @@ class QLabel;
 class XGUI_OperationMgr;
 class XGUI_Workshop;
 class QCheckBox;
+class QStackedWidget;
 
 /// the plane edge width
 #define SKETCH_WIDTH        "4"
@@ -128,6 +129,9 @@ protected:
    /// Slot on change selection
   void onSelectionChanged();
 
+  /// A slot called on set sketch plane view
+  void onSetPlaneView();
+
  private:
    /// Create preview of planes for sketch plane selection
    /// \param theOrigin an origin of the plane
@@ -151,16 +155,15 @@ protected:
   void showPreviewPlanes();
 
 
-  QLabel* myLabel;
-  QString myText;
-  QString myTooltip;
-
   AISObjectPtr myYZPlane;
   AISObjectPtr myXZPlane;
   AISObjectPtr myXYPlane;
   bool myPreviewDisplayed;
 
   QCheckBox* myShowConstraints;
+  QCheckBox* myViewInverted;
+
+  QStackedWidget* myStackWidget;
 };
 
 #endif