// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
#define DIALOGBOX_MAXTOLERANCE_H
#include "MeasureGUI_Skeleton.h"
-#include "MeasureGUI_1Sel6LineEdit_QTD.h"
-#include "MeasureGUI.h"
+class MeasureGUI_1Sel6LineEdit_QTD;
+
+#if defined WNT && defined MEASUREGUI_EXPORTS
+#define MEASUREGUI_EXPORT __declspec( dllexport )
+#else
+#define MEASUREGUI_EXPORT
+#endif
//=================================================================================
// class : DialogBox_PROPERTIES
// purpose :
//=================================================================================
-class MeasureGUI_MaxToleranceDlg : public MeasureGUI_Skeleton
+class MEASUREGUI_EXPORT MeasureGUI_MaxToleranceDlg : public MeasureGUI_Skeleton
{
Q_OBJECT
public:
- MeasureGUI_MaxToleranceDlg(QWidget* parent = 0, const char* name = 0, SALOME_Selection* Sel = 0, bool modal = FALSE, WFlags fl = 0);
- ~MeasureGUI_MaxToleranceDlg();
+ MeasureGUI_MaxToleranceDlg( GeometryGUI* GUI,
+ QWidget* parent );
+ ~MeasureGUI_MaxToleranceDlg();
+
+protected:
+
+ // redefined from GEOMBase_Helper and MeasureGUI_Skeleton
+ virtual void processObject();
private:
- void Init();
- void enterEvent(QEvent* e);
- void CalculateMaxTolerance(const TopoDS_Shape& S);
- MeasureGUI_1Sel6LineEdit_QTD* GroupC1;
+ void Init();
+ bool getParameters( double& theMinFaceToler,
+ double& theMaxFaceToler,
+ double& theMinEdgeToler,
+ double& theMaxEdgeToler,
+ double& theMinVertexToler,
+ double& theMaxVertexToler );
+
+
-private slots:
- void SetEditCurrentArgument();
- void SelectionIntoArgument();
- void LineEditReturnPressed();
- void ActivateThisDialog();
+private:
+ MeasureGUI_1Sel6LineEdit_QTD* myGrp;
};
#endif // DIALOGBOX_MAXTOLERANCE_H
+
+
+
+
+
+
+
+
+
+