Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for PAL10496.
[modules/geom.git]
/
src
/
MeasureGUI
/
MeasureGUI_MaxToleranceDlg.h
diff --git
a/src/MeasureGUI/MeasureGUI_MaxToleranceDlg.h
b/src/MeasureGUI/MeasureGUI_MaxToleranceDlg.h
index 5513582b7b9cdfd49261d9a8d511b26c9d48f5e0..07f99c764e7f9ff66e69c805dab536c0d116b9f2 100644
(file)
--- a/
src/MeasureGUI/MeasureGUI_MaxToleranceDlg.h
+++ b/
src/MeasureGUI/MeasureGUI_MaxToleranceDlg.h
@@
-17,7
+17,7
@@
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// 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
//
//
//
//
//
//
@@
-30,35
+30,58
@@
#define DIALOGBOX_MAXTOLERANCE_H
#include "MeasureGUI_Skeleton.h"
#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 : DialogBox_PROPERTIES
// purpose :
//=================================================================================
-class MeasureGUI_MaxToleranceDlg : public MeasureGUI_Skeleton
+class M
EASUREGUI_EXPORT M
easureGUI_MaxToleranceDlg : public MeasureGUI_Skeleton
{
Q_OBJECT
public:
{
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:
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
};
#endif // DIALOGBOX_MAXTOLERANCE_H
+
+
+
+
+
+
+
+
+
+