Salome HOME
Implementation '22873: EDF 8651 GEOM: Annotate shapes into the OCC viewer' issue
[modules/geom.git] / src / MeasureGUI / MeasureGUI_PropertiesDlg.h
old mode 100755 (executable)
new mode 100644 (file)
index 4911b4c..660f0ce
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -29,7 +29,8 @@
 
 #include "MeasureGUI_Skeleton.h"
 
-class MeasureGUI_1Sel3LineEdit;
+class SalomeApp_DoubleSpinBox;
+class QLineEdit;
 
 //=================================================================================
 // class    : MeasureGUI_PropertiesDlg
@@ -46,8 +47,10 @@ public:
   
 protected:
   // redefined from GEOMBase_Helper and MeasureGUI_Skeleton
+  virtual bool                        isValid( QString& );
   virtual void                        processObject();
   virtual void                        activateSelection();
+  virtual void                        SelectionIntoArgument();
   virtual SALOME_Prs*                 buildPrs();
 
 private:
@@ -56,8 +59,14 @@ private:
                                                      double&,
                                                      double& );
 
-private:    
-  MeasureGUI_1Sel3LineEdit*           myGrp;
+private:
+  SalomeApp_DoubleSpinBox *myTolerance;
+  QLineEdit               *myLength;
+  QLineEdit               *mySurface;
+  QLineEdit               *myVolume;
+
+private slots:
+  void                                toleranceChanged(double);
 };
 
 #endif // MEASUREGUI_PROPERTIESDLG_H