]> SALOME platform Git repositories - modules/geom.git/blob - src/MeasureGUI/MeasureGUI_WhatisDlg.h
Salome HOME
Bug 0020043: EDF 865 GEOM: Object is non valid after translation. Fix object after...
[modules/geom.git] / src / MeasureGUI / MeasureGUI_WhatisDlg.h
1 //  GEOM GEOMGUI : GUI for Geometry component
2 //
3 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5 // 
6 //  This library is free software; you can redistribute it and/or 
7 //  modify it under the terms of the GNU Lesser General Public 
8 //  License as published by the Free Software Foundation; either 
9 //  version 2.1 of the License. 
10 // 
11 //  This library is distributed in the hope that it will be useful, 
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
14 //  Lesser General Public License for more details. 
15 // 
16 //  You should have received a copy of the GNU Lesser General Public 
17 //  License along with this library; if not, write to the Free Software 
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
19 // 
20 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 //
23 //
24 //  File   : MeasureGUI_WhatisDlg.h
25 //  Author : Nicolas REJNERI
26 //  Module : GEOM
27 //  $Header$
28
29 #ifndef DIALOGBOX_WHATIS_H
30 #define DIALOGBOX_WHATIS_H
31
32 #include "GEOM_MeasureGUI.hxx"
33
34 #include "MeasureGUI_Skeleton.h"
35
36 //class MeasureGUI_1Sel1TextView_QTD;
37
38 #include <qvariant.h>
39 #include <qwidget.h>
40 class QVBoxLayout; 
41 class QHBoxLayout; 
42 class QGridLayout; 
43 class QGroupBox;
44 class QLabel;
45 class QLineEdit;
46 class QPushButton;
47 class QTextEdit;
48 class QMessageBox;
49
50 class GEOM_MEASUREGUI_EXPORT MeasureGUI_Whatis_QTD : public QWidget
51
52     Q_OBJECT
53
54 public:
55     MeasureGUI_Whatis_QTD( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
56     ~MeasureGUI_Whatis_QTD();
57
58     QGroupBox* GroupBox1;
59
60     QLabel* TextLabel1;
61     QPushButton* PushButton1;
62     QLineEdit* LineEdit1;
63
64     QTextEdit* TextEdit1;
65
66     QLabel* TextLabel2;
67     QLineEdit* LineEdit2;
68     QPushButton* PushButton2;
69
70 protected:
71     QGridLayout* MeasureGUI_Whatis_QTDLayout;
72     QGridLayout* GroupBox1Layout;
73     QGridLayout* Layout1;
74 };
75
76
77 //=================================================================================
78 // class    : MeasureGUI_WhatisDlg
79 // purpose  :
80 //=================================================================================
81 class GEOM_MEASUREGUI_EXPORT MeasureGUI_WhatisDlg : public MeasureGUI_Skeleton
82
83     Q_OBJECT
84
85 public:
86     MeasureGUI_WhatisDlg (GeometryGUI* GUI, QWidget* parent);
87     ~MeasureGUI_WhatisDlg();
88
89 protected:
90     // redefined from GEOMBase_Helper and MeasureGUI_Skeleton
91     virtual void processObject();
92
93 protected slots:
94     virtual void ClickOnProperties();
95
96 private:
97     void         Init();
98     bool         getParameters( QString& );
99     QString      getKindOfShape( QString& );
100
101 private:
102     //MeasureGUI_1Sel1TextView_QTD* myGrp;
103     MeasureGUI_Whatis_QTD* myGrp;
104     //MeasureGUI_Params_Dlg* myParamsDlg;
105     QMessageBox* myParamsDlg;
106 };
107
108 #endif // DIALOGBOX_WHATIS_H