Salome HOME
version 5_1_4 HOMARD_SRC
[modules/homard.git] / src / HOMARDGUI / CreateZone.h
1 /********************************************************************************
2 ** Form generated from reading ui file 'CreateZone.ui'
3 **
4 ** Created: Mon Sep 27 14:45:47 2010
5 **      by: Qt User Interface Compiler version 4.5.2
6 **
7 ** WARNING! All changes made in this file will be lost when recompiling ui file!
8 ********************************************************************************/
9
10 #ifndef CREATEZONE_H
11 #define CREATEZONE_H
12
13 #include <QtCore/QVariant>
14 #include <QtGui/QAction>
15 #include <QtGui/QApplication>
16 #include <QtGui/QButtonGroup>
17 #include <QtGui/QDialog>
18 #include <QtGui/QDoubleSpinBox>
19 #include <QtGui/QGridLayout>
20 #include <QtGui/QGroupBox>
21 #include <QtGui/QHBoxLayout>
22 #include <QtGui/QHeaderView>
23 #include <QtGui/QLabel>
24 #include <QtGui/QLineEdit>
25 #include <QtGui/QPushButton>
26 #include <QtGui/QRadioButton>
27
28 QT_BEGIN_NAMESPACE
29
30 class Ui_CreateZone
31 {
32 public:
33     QGridLayout *gridLayout_3;
34     QLabel *Name;
35     QLineEdit *LEZoneName;
36     QGroupBox *TypeZone;
37     QHBoxLayout *horizontalLayout;
38     QRadioButton *RBBox;
39     QRadioButton *RBSphere;
40     QGroupBox *gBBox;
41     QGridLayout *gridLayout;
42     QLabel *TLXmini;
43     QDoubleSpinBox *SpinBox_Xmini;
44     QLabel *TLYmini;
45     QDoubleSpinBox *SpinBox_Ymini;
46     QLabel *TLZmini;
47     QDoubleSpinBox *SpinBox_Zmini;
48     QLabel *TLXmaxi;
49     QLabel *TLZmaxi;
50     QDoubleSpinBox *SpinBox_Zmaxi;
51     QLabel *TLYmaxi;
52     QDoubleSpinBox *SpinBox_Xmaxi;
53     QDoubleSpinBox *SpinBox_Ymaxi;
54     QGroupBox *gBSphere;
55     QGridLayout *gridLayout_2;
56     QLabel *TLXcentre;
57     QDoubleSpinBox *SpinBox_Xcentre;
58     QLabel *TLYcentre;
59     QDoubleSpinBox *SpinBox_Ycentre;
60     QLabel *TLRayon;
61     QDoubleSpinBox *SpinBox_Rayon;
62     QLabel *TLZcentre;
63     QDoubleSpinBox *SpinBox_Zcentre;
64     QGroupBox *GBButtons;
65     QHBoxLayout *hboxLayout;
66     QPushButton *buttonOk;
67     QPushButton *buttonApply;
68     QPushButton *buttonCancel;
69     QPushButton *buttonHelp;
70
71     void setupUi(QDialog *CreateZone)
72     {
73         if (CreateZone->objectName().isEmpty())
74             CreateZone->setObjectName(QString::fromUtf8("CreateZone"));
75         CreateZone->resize(415, 472);
76         CreateZone->setAutoFillBackground(false);
77         CreateZone->setSizeGripEnabled(true);
78         gridLayout_3 = new QGridLayout(CreateZone);
79         gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
80         Name = new QLabel(CreateZone);
81         Name->setObjectName(QString::fromUtf8("Name"));
82
83         gridLayout_3->addWidget(Name, 0, 0, 1, 1);
84
85         LEZoneName = new QLineEdit(CreateZone);
86         LEZoneName->setObjectName(QString::fromUtf8("LEZoneName"));
87         LEZoneName->setMaxLength(32);
88
89         gridLayout_3->addWidget(LEZoneName, 0, 1, 1, 1);
90
91         TypeZone = new QGroupBox(CreateZone);
92         TypeZone->setObjectName(QString::fromUtf8("TypeZone"));
93         QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
94         sizePolicy.setHorizontalStretch(0);
95         sizePolicy.setVerticalStretch(0);
96         sizePolicy.setHeightForWidth(TypeZone->sizePolicy().hasHeightForWidth());
97         TypeZone->setSizePolicy(sizePolicy);
98         TypeZone->setMinimumSize(QSize(340, 0));
99         horizontalLayout = new QHBoxLayout(TypeZone);
100         horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
101         RBBox = new QRadioButton(TypeZone);
102         RBBox->setObjectName(QString::fromUtf8("RBBox"));
103         QIcon icon;
104         icon.addFile(QString::fromUtf8("../../resources/zone_boxdxyz.png"), QSize(), QIcon::Normal, QIcon::Off);
105         RBBox->setIcon(icon);
106         RBBox->setCheckable(true);
107         RBBox->setChecked(true);
108
109         horizontalLayout->addWidget(RBBox);
110
111         RBSphere = new QRadioButton(TypeZone);
112         RBSphere->setObjectName(QString::fromUtf8("RBSphere"));
113         QIcon icon1;
114         icon1.addFile(QString::fromUtf8("../../resources/zone_spherepoint.png"), QSize(), QIcon::Normal, QIcon::Off);
115         RBSphere->setIcon(icon1);
116
117         horizontalLayout->addWidget(RBSphere);
118
119
120         gridLayout_3->addWidget(TypeZone, 1, 0, 1, 2);
121
122         gBBox = new QGroupBox(CreateZone);
123         gBBox->setObjectName(QString::fromUtf8("gBBox"));
124         sizePolicy.setHeightForWidth(gBBox->sizePolicy().hasHeightForWidth());
125         gBBox->setSizePolicy(sizePolicy);
126         gridLayout = new QGridLayout(gBBox);
127         gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
128         TLXmini = new QLabel(gBBox);
129         TLXmini->setObjectName(QString::fromUtf8("TLXmini"));
130         sizePolicy.setHeightForWidth(TLXmini->sizePolicy().hasHeightForWidth());
131         TLXmini->setSizePolicy(sizePolicy);
132         TLXmini->setWordWrap(false);
133
134         gridLayout->addWidget(TLXmini, 0, 0, 1, 1);
135
136         SpinBox_Xmini = new QDoubleSpinBox(gBBox);
137         SpinBox_Xmini->setObjectName(QString::fromUtf8("SpinBox_Xmini"));
138         SpinBox_Xmini->setDecimals(5);
139         SpinBox_Xmini->setMinimum(-1e+09);
140         SpinBox_Xmini->setMaximum(1e+09);
141         SpinBox_Xmini->setValue(0);
142
143         gridLayout->addWidget(SpinBox_Xmini, 0, 1, 1, 1);
144
145         TLYmini = new QLabel(gBBox);
146         TLYmini->setObjectName(QString::fromUtf8("TLYmini"));
147         sizePolicy.setHeightForWidth(TLYmini->sizePolicy().hasHeightForWidth());
148         TLYmini->setSizePolicy(sizePolicy);
149         TLYmini->setWordWrap(false);
150
151         gridLayout->addWidget(TLYmini, 1, 0, 1, 1);
152
153         SpinBox_Ymini = new QDoubleSpinBox(gBBox);
154         SpinBox_Ymini->setObjectName(QString::fromUtf8("SpinBox_Ymini"));
155         SpinBox_Ymini->setDecimals(5);
156         SpinBox_Ymini->setMinimum(-1e+09);
157         SpinBox_Ymini->setMaximum(1e+09);
158         SpinBox_Ymini->setValue(0);
159
160         gridLayout->addWidget(SpinBox_Ymini, 1, 1, 1, 1);
161
162         TLZmini = new QLabel(gBBox);
163         TLZmini->setObjectName(QString::fromUtf8("TLZmini"));
164         sizePolicy.setHeightForWidth(TLZmini->sizePolicy().hasHeightForWidth());
165         TLZmini->setSizePolicy(sizePolicy);
166         TLZmini->setWordWrap(false);
167
168         gridLayout->addWidget(TLZmini, 2, 0, 1, 1);
169
170         SpinBox_Zmini = new QDoubleSpinBox(gBBox);
171         SpinBox_Zmini->setObjectName(QString::fromUtf8("SpinBox_Zmini"));
172         SpinBox_Zmini->setDecimals(5);
173         SpinBox_Zmini->setMinimum(-1e+09);
174         SpinBox_Zmini->setMaximum(1e+09);
175         SpinBox_Zmini->setValue(0);
176
177         gridLayout->addWidget(SpinBox_Zmini, 2, 1, 1, 1);
178
179         TLXmaxi = new QLabel(gBBox);
180         TLXmaxi->setObjectName(QString::fromUtf8("TLXmaxi"));
181         sizePolicy.setHeightForWidth(TLXmaxi->sizePolicy().hasHeightForWidth());
182         TLXmaxi->setSizePolicy(sizePolicy);
183         TLXmaxi->setWordWrap(false);
184
185         gridLayout->addWidget(TLXmaxi, 0, 2, 1, 1);
186
187         TLZmaxi = new QLabel(gBBox);
188         TLZmaxi->setObjectName(QString::fromUtf8("TLZmaxi"));
189         sizePolicy.setHeightForWidth(TLZmaxi->sizePolicy().hasHeightForWidth());
190         TLZmaxi->setSizePolicy(sizePolicy);
191         TLZmaxi->setWordWrap(false);
192
193         gridLayout->addWidget(TLZmaxi, 2, 2, 1, 1);
194
195         SpinBox_Zmaxi = new QDoubleSpinBox(gBBox);
196         SpinBox_Zmaxi->setObjectName(QString::fromUtf8("SpinBox_Zmaxi"));
197         SpinBox_Zmaxi->setDecimals(5);
198         SpinBox_Zmaxi->setMinimum(-1e+09);
199         SpinBox_Zmaxi->setMaximum(1e+09);
200         SpinBox_Zmaxi->setValue(0);
201
202         gridLayout->addWidget(SpinBox_Zmaxi, 2, 3, 1, 1);
203
204         TLYmaxi = new QLabel(gBBox);
205         TLYmaxi->setObjectName(QString::fromUtf8("TLYmaxi"));
206         sizePolicy.setHeightForWidth(TLYmaxi->sizePolicy().hasHeightForWidth());
207         TLYmaxi->setSizePolicy(sizePolicy);
208         TLYmaxi->setWordWrap(false);
209
210         gridLayout->addWidget(TLYmaxi, 1, 2, 1, 1);
211
212         SpinBox_Xmaxi = new QDoubleSpinBox(gBBox);
213         SpinBox_Xmaxi->setObjectName(QString::fromUtf8("SpinBox_Xmaxi"));
214         SpinBox_Xmaxi->setDecimals(5);
215         SpinBox_Xmaxi->setMinimum(-1e+09);
216         SpinBox_Xmaxi->setMaximum(1e+09);
217         SpinBox_Xmaxi->setValue(0);
218
219         gridLayout->addWidget(SpinBox_Xmaxi, 0, 3, 1, 1);
220
221         SpinBox_Ymaxi = new QDoubleSpinBox(gBBox);
222         SpinBox_Ymaxi->setObjectName(QString::fromUtf8("SpinBox_Ymaxi"));
223         SpinBox_Ymaxi->setDecimals(5);
224         SpinBox_Ymaxi->setMinimum(-1e+09);
225         SpinBox_Ymaxi->setMaximum(1e+09);
226         SpinBox_Ymaxi->setValue(0);
227
228         gridLayout->addWidget(SpinBox_Ymaxi, 1, 3, 1, 1);
229
230
231         gridLayout_3->addWidget(gBBox, 2, 0, 1, 2);
232
233         gBSphere = new QGroupBox(CreateZone);
234         gBSphere->setObjectName(QString::fromUtf8("gBSphere"));
235         sizePolicy.setHeightForWidth(gBSphere->sizePolicy().hasHeightForWidth());
236         gBSphere->setSizePolicy(sizePolicy);
237         gridLayout_2 = new QGridLayout(gBSphere);
238         gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
239         TLXcentre = new QLabel(gBSphere);
240         TLXcentre->setObjectName(QString::fromUtf8("TLXcentre"));
241         sizePolicy.setHeightForWidth(TLXcentre->sizePolicy().hasHeightForWidth());
242         TLXcentre->setSizePolicy(sizePolicy);
243         TLXcentre->setWordWrap(false);
244
245         gridLayout_2->addWidget(TLXcentre, 0, 0, 1, 1);
246
247         SpinBox_Xcentre = new QDoubleSpinBox(gBSphere);
248         SpinBox_Xcentre->setObjectName(QString::fromUtf8("SpinBox_Xcentre"));
249         SpinBox_Xcentre->setDecimals(5);
250         SpinBox_Xcentre->setMinimum(-1e+09);
251         SpinBox_Xcentre->setMaximum(1e+09);
252         SpinBox_Xcentre->setValue(0);
253
254         gridLayout_2->addWidget(SpinBox_Xcentre, 0, 1, 1, 1);
255
256         TLYcentre = new QLabel(gBSphere);
257         TLYcentre->setObjectName(QString::fromUtf8("TLYcentre"));
258         sizePolicy.setHeightForWidth(TLYcentre->sizePolicy().hasHeightForWidth());
259         TLYcentre->setSizePolicy(sizePolicy);
260         TLYcentre->setWordWrap(false);
261
262         gridLayout_2->addWidget(TLYcentre, 1, 0, 1, 1);
263
264         SpinBox_Ycentre = new QDoubleSpinBox(gBSphere);
265         SpinBox_Ycentre->setObjectName(QString::fromUtf8("SpinBox_Ycentre"));
266         SpinBox_Ycentre->setDecimals(5);
267         SpinBox_Ycentre->setMinimum(-1e+09);
268         SpinBox_Ycentre->setMaximum(1e+09);
269         SpinBox_Ycentre->setValue(0);
270
271         gridLayout_2->addWidget(SpinBox_Ycentre, 1, 1, 1, 1);
272
273         TLRayon = new QLabel(gBSphere);
274         TLRayon->setObjectName(QString::fromUtf8("TLRayon"));
275         sizePolicy.setHeightForWidth(TLRayon->sizePolicy().hasHeightForWidth());
276         TLRayon->setSizePolicy(sizePolicy);
277         TLRayon->setWordWrap(false);
278
279         gridLayout_2->addWidget(TLRayon, 1, 2, 1, 1);
280
281         SpinBox_Rayon = new QDoubleSpinBox(gBSphere);
282         SpinBox_Rayon->setObjectName(QString::fromUtf8("SpinBox_Rayon"));
283         SpinBox_Rayon->setDecimals(5);
284         SpinBox_Rayon->setMinimum(-1e+09);
285         SpinBox_Rayon->setMaximum(1e+09);
286         SpinBox_Rayon->setValue(0);
287
288         gridLayout_2->addWidget(SpinBox_Rayon, 1, 3, 1, 1);
289
290         TLZcentre = new QLabel(gBSphere);
291         TLZcentre->setObjectName(QString::fromUtf8("TLZcentre"));
292         sizePolicy.setHeightForWidth(TLZcentre->sizePolicy().hasHeightForWidth());
293         TLZcentre->setSizePolicy(sizePolicy);
294         TLZcentre->setWordWrap(false);
295
296         gridLayout_2->addWidget(TLZcentre, 2, 0, 1, 1);
297
298         SpinBox_Zcentre = new QDoubleSpinBox(gBSphere);
299         SpinBox_Zcentre->setObjectName(QString::fromUtf8("SpinBox_Zcentre"));
300         SpinBox_Zcentre->setDecimals(5);
301         SpinBox_Zcentre->setMinimum(-1e+09);
302         SpinBox_Zcentre->setMaximum(1e+09);
303         SpinBox_Zcentre->setValue(0);
304
305         gridLayout_2->addWidget(SpinBox_Zcentre, 2, 1, 1, 1);
306
307
308         gridLayout_3->addWidget(gBSphere, 3, 0, 1, 2);
309
310         GBButtons = new QGroupBox(CreateZone);
311         GBButtons->setObjectName(QString::fromUtf8("GBButtons"));
312         sizePolicy.setHeightForWidth(GBButtons->sizePolicy().hasHeightForWidth());
313         GBButtons->setSizePolicy(sizePolicy);
314         hboxLayout = new QHBoxLayout(GBButtons);
315 #ifndef Q_OS_MAC
316         hboxLayout->setSpacing(6);
317 #endif
318 #ifndef Q_OS_MAC
319         hboxLayout->setMargin(9);
320 #endif
321         hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
322         buttonOk = new QPushButton(GBButtons);
323         buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
324
325         hboxLayout->addWidget(buttonOk);
326
327         buttonApply = new QPushButton(GBButtons);
328         buttonApply->setObjectName(QString::fromUtf8("buttonApply"));
329
330         hboxLayout->addWidget(buttonApply);
331
332         buttonCancel = new QPushButton(GBButtons);
333         buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
334
335         hboxLayout->addWidget(buttonCancel);
336
337         buttonHelp = new QPushButton(GBButtons);
338         buttonHelp->setObjectName(QString::fromUtf8("buttonHelp"));
339
340         hboxLayout->addWidget(buttonHelp);
341
342
343         gridLayout_3->addWidget(GBButtons, 4, 0, 1, 2);
344
345
346         retranslateUi(CreateZone);
347
348         QMetaObject::connectSlotsByName(CreateZone);
349     } // setupUi
350
351     void retranslateUi(QDialog *CreateZone)
352     {
353         CreateZone->setWindowTitle(QApplication::translate("CreateZone", "Create Zone", 0, QApplication::UnicodeUTF8));
354         Name->setText(QApplication::translate("CreateZone", "Name", 0, QApplication::UnicodeUTF8));
355         TypeZone->setTitle(QApplication::translate("CreateZone", "Type of zone", 0, QApplication::UnicodeUTF8));
356         RBBox->setText(QString());
357         RBSphere->setText(QString());
358         gBBox->setTitle(QApplication::translate("CreateZone", "Coordinates", 0, QApplication::UnicodeUTF8));
359         TLXmini->setText(QApplication::translate("CreateZone", "X mini", 0, QApplication::UnicodeUTF8));
360         TLYmini->setText(QApplication::translate("CreateZone", "Y mini", 0, QApplication::UnicodeUTF8));
361         TLZmini->setText(QApplication::translate("CreateZone", "Z mini", 0, QApplication::UnicodeUTF8));
362         TLXmaxi->setText(QApplication::translate("CreateZone", "X maxi", 0, QApplication::UnicodeUTF8));
363         TLZmaxi->setText(QApplication::translate("CreateZone", "Z maxi", 0, QApplication::UnicodeUTF8));
364         TLYmaxi->setText(QApplication::translate("CreateZone", "Y maxi", 0, QApplication::UnicodeUTF8));
365         gBSphere->setTitle(QApplication::translate("CreateZone", "Coordinates", 0, QApplication::UnicodeUTF8));
366         TLXcentre->setText(QApplication::translate("CreateZone", "X centre", 0, QApplication::UnicodeUTF8));
367         TLYcentre->setText(QApplication::translate("CreateZone", "Y centre", 0, QApplication::UnicodeUTF8));
368         TLRayon->setText(QApplication::translate("CreateZone", "Radius", 0, QApplication::UnicodeUTF8));
369         TLZcentre->setText(QApplication::translate("CreateZone", "Z centre", 0, QApplication::UnicodeUTF8));
370         GBButtons->setTitle(QString());
371         buttonOk->setText(QApplication::translate("CreateZone", "&Ok", 0, QApplication::UnicodeUTF8));
372         buttonApply->setText(QApplication::translate("CreateZone", "&Apply", 0, QApplication::UnicodeUTF8));
373         buttonCancel->setText(QApplication::translate("CreateZone", "&Cancel", 0, QApplication::UnicodeUTF8));
374         buttonHelp->setText(QApplication::translate("CreateZone", "&Help", 0, QApplication::UnicodeUTF8));
375         Q_UNUSED(CreateZone);
376     } // retranslateUi
377
378 };
379
380 namespace Ui {
381     class CreateZone: public Ui_CreateZone {};
382 } // namespace Ui
383
384 QT_END_NAMESPACE
385
386 #endif // CREATEZONE_H