X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMeasureGUI%2FMeasureGUI_MaxToleranceDlg.h;h=07f99c764e7f9ff66e69c805dab536c0d116b9f2;hb=b9f2e4923309c9ee15d3d356c792125f180318ce;hp=5513582b7b9cdfd49261d9a8d511b26c9d48f5e0;hpb=c577ca78d7a6e286526662cf54df6de1f4f2f449;p=modules%2Fgeom.git diff --git a/src/MeasureGUI/MeasureGUI_MaxToleranceDlg.h b/src/MeasureGUI/MeasureGUI_MaxToleranceDlg.h index 5513582b7..07f99c764 100644 --- 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 // -// 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" -#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 + + + + + + + + + +