1 /********************************************************************************
2 ** Form generated from reading UI file 'CreateZone.ui'
4 ** Created: Tue Sep 17 14:09:38 2013
5 ** by: Qt User Interface Compiler version 4.6.3
7 ** WARNING! All changes made in this file will be lost when recompiling UI file!
8 ********************************************************************************/
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/QHeaderView>
22 #include <QtGui/QLabel>
23 #include <QtGui/QLineEdit>
24 #include <QtGui/QPushButton>
25 #include <QtGui/QRadioButton>
32 QGridLayout *gridLayout;
34 QGridLayout *gridLayout1;
35 QPushButton *buttonHelp;
36 QPushButton *buttonCancel;
37 QPushButton *buttonApply;
38 QPushButton *buttonOk;
40 QGridLayout *gridLayout2;
41 QRadioButton *RBSphere;
43 QRadioButton *RBCylinder;
45 QGroupBox *gBCylindre;
46 QGridLayout *gridLayout3;
47 QDoubleSpinBox *SpinBox_Haut;
50 QDoubleSpinBox *SpinBox_Xaxis;
51 QDoubleSpinBox *SpinBox_Yaxis;
52 QDoubleSpinBox *SpinBox_Zaxis;
56 QDoubleSpinBox *SpinBox_Ybase;
59 QDoubleSpinBox *SpinBox_Zbase;
60 QDoubleSpinBox *SpinBox_Radius;
62 QDoubleSpinBox *SpinBox_Xbase;
64 QGridLayout *gridLayout4;
66 QDoubleSpinBox *SpinBox_Xcentre;
68 QDoubleSpinBox *SpinBox_Ycentre;
70 QDoubleSpinBox *SpinBox_Rayon;
72 QDoubleSpinBox *SpinBox_Zcentre;
74 QGridLayout *gridLayout5;
76 QDoubleSpinBox *SpinBox_Xmini;
78 QDoubleSpinBox *SpinBox_Ymini;
80 QDoubleSpinBox *SpinBox_Zmini;
83 QDoubleSpinBox *SpinBox_Zmaxi;
85 QDoubleSpinBox *SpinBox_Xmaxi;
86 QDoubleSpinBox *SpinBox_Ymaxi;
90 QGridLayout *gridLayout6;
92 QDoubleSpinBox *SpinBox_Xbase_p;
94 QDoubleSpinBox *SpinBox_Radius_int;
95 QDoubleSpinBox *SpinBox_Zbase_p;
99 QDoubleSpinBox *SpinBox_Ybase_p;
103 QDoubleSpinBox *SpinBox_Zaxis_p;
104 QDoubleSpinBox *SpinBox_Yaxis_p;
105 QDoubleSpinBox *SpinBox_Xaxis_p;
106 QDoubleSpinBox *SpinBox_Radius_ext;
107 QLabel *TLRadius_ext;
108 QDoubleSpinBox *SpinBox_Haut_p;
110 void setupUi(QDialog *CreateZone)
112 if (CreateZone->objectName().isEmpty())
113 CreateZone->setObjectName(QString::fromUtf8("CreateZone"));
114 CreateZone->resize(551, 880);
115 CreateZone->setAutoFillBackground(true);
116 CreateZone->setSizeGripEnabled(true);
117 gridLayout = new QGridLayout(CreateZone);
119 gridLayout->setSpacing(6);
122 gridLayout->setContentsMargins(9, 9, 9, 9);
124 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
125 GBButtons = new QGroupBox(CreateZone);
126 GBButtons->setObjectName(QString::fromUtf8("GBButtons"));
127 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
128 sizePolicy.setHorizontalStretch(0);
129 sizePolicy.setVerticalStretch(0);
130 sizePolicy.setHeightForWidth(GBButtons->sizePolicy().hasHeightForWidth());
131 GBButtons->setSizePolicy(sizePolicy);
132 gridLayout1 = new QGridLayout(GBButtons);
134 gridLayout1->setSpacing(6);
137 gridLayout1->setContentsMargins(9, 9, 9, 9);
139 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
140 buttonHelp = new QPushButton(GBButtons);
141 buttonHelp->setObjectName(QString::fromUtf8("buttonHelp"));
143 gridLayout1->addWidget(buttonHelp, 0, 3, 1, 1);
145 buttonCancel = new QPushButton(GBButtons);
146 buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
148 gridLayout1->addWidget(buttonCancel, 0, 2, 1, 1);
150 buttonApply = new QPushButton(GBButtons);
151 buttonApply->setObjectName(QString::fromUtf8("buttonApply"));
153 gridLayout1->addWidget(buttonApply, 0, 1, 1, 1);
155 buttonOk = new QPushButton(GBButtons);
156 buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
158 gridLayout1->addWidget(buttonOk, 0, 0, 1, 1);
161 gridLayout->addWidget(GBButtons, 6, 0, 1, 2);
163 TypeZone = new QGroupBox(CreateZone);
164 TypeZone->setObjectName(QString::fromUtf8("TypeZone"));
165 sizePolicy.setHeightForWidth(TypeZone->sizePolicy().hasHeightForWidth());
166 TypeZone->setSizePolicy(sizePolicy);
167 TypeZone->setMinimumSize(QSize(340, 0));
168 gridLayout2 = new QGridLayout(TypeZone);
170 gridLayout2->setSpacing(6);
173 gridLayout2->setContentsMargins(9, 9, 9, 9);
175 gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
176 RBSphere = new QRadioButton(TypeZone);
177 RBSphere->setObjectName(QString::fromUtf8("RBSphere"));
178 const QIcon icon = QIcon(QString::fromUtf8("../../resources/zone_spherepoint.png"));
179 RBSphere->setIcon(icon);
181 gridLayout2->addWidget(RBSphere, 0, 3, 1, 1);
183 RBPipe = new QRadioButton(TypeZone);
184 RBPipe->setObjectName(QString::fromUtf8("RBPipe"));
185 const QIcon icon1 = QIcon(QString::fromUtf8("../../resources/pipe.png"));
186 RBPipe->setIcon(icon1);
188 gridLayout2->addWidget(RBPipe, 0, 2, 1, 1);
190 RBCylinder = new QRadioButton(TypeZone);
191 RBCylinder->setObjectName(QString::fromUtf8("RBCylinder"));
192 const QIcon icon2 = QIcon(QString::fromUtf8("../../resources/cylinderpointvector.png"));
193 RBCylinder->setIcon(icon2);
195 gridLayout2->addWidget(RBCylinder, 0, 1, 1, 1);
197 RBBox = new QRadioButton(TypeZone);
198 RBBox->setObjectName(QString::fromUtf8("RBBox"));
199 const QIcon icon3 = QIcon(QString::fromUtf8("../../resources/zone_boxdxyz.png"));
200 RBBox->setIcon(icon3);
201 RBBox->setCheckable(true);
202 RBBox->setChecked(true);
204 gridLayout2->addWidget(RBBox, 0, 0, 1, 1);
207 gridLayout->addWidget(TypeZone, 1, 0, 1, 2);
209 gBCylindre = new QGroupBox(CreateZone);
210 gBCylindre->setObjectName(QString::fromUtf8("gBCylindre"));
211 sizePolicy.setHeightForWidth(gBCylindre->sizePolicy().hasHeightForWidth());
212 gBCylindre->setSizePolicy(sizePolicy);
213 gBCylindre->setFocusPolicy(Qt::TabFocus);
214 gridLayout3 = new QGridLayout(gBCylindre);
216 gridLayout3->setSpacing(6);
219 gridLayout3->setContentsMargins(9, 9, 9, 9);
221 gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
222 SpinBox_Haut = new QDoubleSpinBox(gBCylindre);
223 SpinBox_Haut->setObjectName(QString::fromUtf8("SpinBox_Haut"));
224 SpinBox_Haut->setDecimals(5);
225 SpinBox_Haut->setMaximum(1e+09);
227 gridLayout3->addWidget(SpinBox_Haut, 4, 1, 1, 1);
229 TLHaut = new QLabel(gBCylindre);
230 TLHaut->setObjectName(QString::fromUtf8("TLHaut"));
231 sizePolicy.setHeightForWidth(TLHaut->sizePolicy().hasHeightForWidth());
232 TLHaut->setSizePolicy(sizePolicy);
233 TLHaut->setWordWrap(false);
235 gridLayout3->addWidget(TLHaut, 4, 0, 1, 1);
237 TLRadius = new QLabel(gBCylindre);
238 TLRadius->setObjectName(QString::fromUtf8("TLRadius"));
239 sizePolicy.setHeightForWidth(TLRadius->sizePolicy().hasHeightForWidth());
240 TLRadius->setSizePolicy(sizePolicy);
241 TLRadius->setWordWrap(false);
243 gridLayout3->addWidget(TLRadius, 3, 0, 1, 1);
245 SpinBox_Xaxis = new QDoubleSpinBox(gBCylindre);
246 SpinBox_Xaxis->setObjectName(QString::fromUtf8("SpinBox_Xaxis"));
247 SpinBox_Xaxis->setDecimals(5);
248 SpinBox_Xaxis->setMaximum(1e+09);
249 SpinBox_Xaxis->setMinimum(-1e+09);
250 SpinBox_Xaxis->setValue(0);
252 gridLayout3->addWidget(SpinBox_Xaxis, 0, 3, 1, 1);
254 SpinBox_Yaxis = new QDoubleSpinBox(gBCylindre);
255 SpinBox_Yaxis->setObjectName(QString::fromUtf8("SpinBox_Yaxis"));
256 SpinBox_Yaxis->setDecimals(5);
257 SpinBox_Yaxis->setMaximum(1e+09);
258 SpinBox_Yaxis->setMinimum(-1e+09);
259 SpinBox_Yaxis->setValue(0);
261 gridLayout3->addWidget(SpinBox_Yaxis, 1, 3, 1, 1);
263 SpinBox_Zaxis = new QDoubleSpinBox(gBCylindre);
264 SpinBox_Zaxis->setObjectName(QString::fromUtf8("SpinBox_Zaxis"));
265 SpinBox_Zaxis->setDecimals(5);
266 SpinBox_Zaxis->setMaximum(1e+09);
267 SpinBox_Zaxis->setMinimum(-1e+09);
268 SpinBox_Zaxis->setValue(0);
270 gridLayout3->addWidget(SpinBox_Zaxis, 2, 3, 1, 1);
272 TLZaxis = new QLabel(gBCylindre);
273 TLZaxis->setObjectName(QString::fromUtf8("TLZaxis"));
274 sizePolicy.setHeightForWidth(TLZaxis->sizePolicy().hasHeightForWidth());
275 TLZaxis->setSizePolicy(sizePolicy);
276 TLZaxis->setWordWrap(false);
278 gridLayout3->addWidget(TLZaxis, 2, 2, 1, 1);
280 TLYaxis = new QLabel(gBCylindre);
281 TLYaxis->setObjectName(QString::fromUtf8("TLYaxis"));
282 sizePolicy.setHeightForWidth(TLYaxis->sizePolicy().hasHeightForWidth());
283 TLYaxis->setSizePolicy(sizePolicy);
284 TLYaxis->setWordWrap(false);
286 gridLayout3->addWidget(TLYaxis, 1, 2, 1, 1);
288 TLXaxis = new QLabel(gBCylindre);
289 TLXaxis->setObjectName(QString::fromUtf8("TLXaxis"));
290 sizePolicy.setHeightForWidth(TLXaxis->sizePolicy().hasHeightForWidth());
291 TLXaxis->setSizePolicy(sizePolicy);
292 TLXaxis->setWordWrap(false);
294 gridLayout3->addWidget(TLXaxis, 0, 2, 1, 1);
296 SpinBox_Ybase = new QDoubleSpinBox(gBCylindre);
297 SpinBox_Ybase->setObjectName(QString::fromUtf8("SpinBox_Ybase"));
298 SpinBox_Ybase->setDecimals(5);
299 SpinBox_Ybase->setMaximum(1e+09);
300 SpinBox_Ybase->setMinimum(-1e+09);
301 SpinBox_Ybase->setValue(0);
303 gridLayout3->addWidget(SpinBox_Ybase, 1, 1, 1, 1);
305 TLYbase = new QLabel(gBCylindre);
306 TLYbase->setObjectName(QString::fromUtf8("TLYbase"));
307 sizePolicy.setHeightForWidth(TLYbase->sizePolicy().hasHeightForWidth());
308 TLYbase->setSizePolicy(sizePolicy);
309 TLYbase->setWordWrap(false);
311 gridLayout3->addWidget(TLYbase, 1, 0, 1, 1);
313 TLZbase = new QLabel(gBCylindre);
314 TLZbase->setObjectName(QString::fromUtf8("TLZbase"));
315 sizePolicy.setHeightForWidth(TLZbase->sizePolicy().hasHeightForWidth());
316 TLZbase->setSizePolicy(sizePolicy);
317 TLZbase->setWordWrap(false);
319 gridLayout3->addWidget(TLZbase, 2, 0, 1, 1);
321 SpinBox_Zbase = new QDoubleSpinBox(gBCylindre);
322 SpinBox_Zbase->setObjectName(QString::fromUtf8("SpinBox_Zbase"));
323 SpinBox_Zbase->setDecimals(5);
324 SpinBox_Zbase->setMaximum(1e+09);
325 SpinBox_Zbase->setMinimum(-1e+09);
326 SpinBox_Zbase->setValue(0);
328 gridLayout3->addWidget(SpinBox_Zbase, 2, 1, 1, 1);
330 SpinBox_Radius = new QDoubleSpinBox(gBCylindre);
331 SpinBox_Radius->setObjectName(QString::fromUtf8("SpinBox_Radius"));
332 SpinBox_Radius->setDecimals(5);
333 SpinBox_Radius->setMaximum(1e+09);
335 gridLayout3->addWidget(SpinBox_Radius, 3, 1, 1, 1);
337 TLXbase = new QLabel(gBCylindre);
338 TLXbase->setObjectName(QString::fromUtf8("TLXbase"));
339 sizePolicy.setHeightForWidth(TLXbase->sizePolicy().hasHeightForWidth());
340 TLXbase->setSizePolicy(sizePolicy);
341 TLXbase->setWordWrap(false);
343 gridLayout3->addWidget(TLXbase, 0, 0, 1, 1);
345 SpinBox_Xbase = new QDoubleSpinBox(gBCylindre);
346 SpinBox_Xbase->setObjectName(QString::fromUtf8("SpinBox_Xbase"));
347 SpinBox_Xbase->setDecimals(5);
348 SpinBox_Xbase->setMaximum(1e+09);
349 SpinBox_Xbase->setMinimum(-1e+09);
350 SpinBox_Xbase->setValue(0);
352 gridLayout3->addWidget(SpinBox_Xbase, 0, 1, 1, 1);
355 gridLayout->addWidget(gBCylindre, 4, 0, 1, 2);
357 gBSphere = new QGroupBox(CreateZone);
358 gBSphere->setObjectName(QString::fromUtf8("gBSphere"));
359 sizePolicy.setHeightForWidth(gBSphere->sizePolicy().hasHeightForWidth());
360 gBSphere->setSizePolicy(sizePolicy);
361 gridLayout4 = new QGridLayout(gBSphere);
363 gridLayout4->setSpacing(6);
366 gridLayout4->setContentsMargins(9, 9, 9, 9);
368 gridLayout4->setObjectName(QString::fromUtf8("gridLayout4"));
369 TLXcentre = new QLabel(gBSphere);
370 TLXcentre->setObjectName(QString::fromUtf8("TLXcentre"));
371 sizePolicy.setHeightForWidth(TLXcentre->sizePolicy().hasHeightForWidth());
372 TLXcentre->setSizePolicy(sizePolicy);
373 TLXcentre->setWordWrap(false);
375 gridLayout4->addWidget(TLXcentre, 0, 0, 1, 1);
377 SpinBox_Xcentre = new QDoubleSpinBox(gBSphere);
378 SpinBox_Xcentre->setObjectName(QString::fromUtf8("SpinBox_Xcentre"));
379 SpinBox_Xcentre->setDecimals(5);
380 SpinBox_Xcentre->setMaximum(1e+09);
381 SpinBox_Xcentre->setMinimum(-1e+09);
382 SpinBox_Xcentre->setValue(0);
384 gridLayout4->addWidget(SpinBox_Xcentre, 0, 1, 1, 1);
386 TLYcentre = new QLabel(gBSphere);
387 TLYcentre->setObjectName(QString::fromUtf8("TLYcentre"));
388 sizePolicy.setHeightForWidth(TLYcentre->sizePolicy().hasHeightForWidth());
389 TLYcentre->setSizePolicy(sizePolicy);
390 TLYcentre->setWordWrap(false);
392 gridLayout4->addWidget(TLYcentre, 1, 0, 1, 1);
394 SpinBox_Ycentre = new QDoubleSpinBox(gBSphere);
395 SpinBox_Ycentre->setObjectName(QString::fromUtf8("SpinBox_Ycentre"));
396 SpinBox_Ycentre->setDecimals(5);
397 SpinBox_Ycentre->setMaximum(1e+09);
398 SpinBox_Ycentre->setMinimum(-1e+09);
399 SpinBox_Ycentre->setValue(0);
401 gridLayout4->addWidget(SpinBox_Ycentre, 1, 1, 1, 1);
403 TLRayon = new QLabel(gBSphere);
404 TLRayon->setObjectName(QString::fromUtf8("TLRayon"));
405 sizePolicy.setHeightForWidth(TLRayon->sizePolicy().hasHeightForWidth());
406 TLRayon->setSizePolicy(sizePolicy);
407 TLRayon->setWordWrap(false);
409 gridLayout4->addWidget(TLRayon, 1, 2, 1, 1);
411 SpinBox_Rayon = new QDoubleSpinBox(gBSphere);
412 SpinBox_Rayon->setObjectName(QString::fromUtf8("SpinBox_Rayon"));
413 SpinBox_Rayon->setDecimals(5);
414 SpinBox_Rayon->setMaximum(1e+09);
415 SpinBox_Rayon->setMinimum(-1e+09);
416 SpinBox_Rayon->setValue(0);
418 gridLayout4->addWidget(SpinBox_Rayon, 1, 3, 1, 1);
420 TLZcentre = new QLabel(gBSphere);
421 TLZcentre->setObjectName(QString::fromUtf8("TLZcentre"));
422 sizePolicy.setHeightForWidth(TLZcentre->sizePolicy().hasHeightForWidth());
423 TLZcentre->setSizePolicy(sizePolicy);
424 TLZcentre->setWordWrap(false);
426 gridLayout4->addWidget(TLZcentre, 2, 0, 1, 1);
428 SpinBox_Zcentre = new QDoubleSpinBox(gBSphere);
429 SpinBox_Zcentre->setObjectName(QString::fromUtf8("SpinBox_Zcentre"));
430 SpinBox_Zcentre->setDecimals(5);
431 SpinBox_Zcentre->setMaximum(1e+09);
432 SpinBox_Zcentre->setMinimum(-1e+09);
433 SpinBox_Zcentre->setValue(0);
435 gridLayout4->addWidget(SpinBox_Zcentre, 2, 1, 1, 1);
438 gridLayout->addWidget(gBSphere, 3, 0, 1, 2);
440 gBBox = new QGroupBox(CreateZone);
441 gBBox->setObjectName(QString::fromUtf8("gBBox"));
442 sizePolicy.setHeightForWidth(gBBox->sizePolicy().hasHeightForWidth());
443 gBBox->setSizePolicy(sizePolicy);
444 gridLayout5 = new QGridLayout(gBBox);
446 gridLayout5->setSpacing(6);
449 gridLayout5->setContentsMargins(9, 9, 9, 9);
451 gridLayout5->setObjectName(QString::fromUtf8("gridLayout5"));
452 TLXmini = new QLabel(gBBox);
453 TLXmini->setObjectName(QString::fromUtf8("TLXmini"));
454 sizePolicy.setHeightForWidth(TLXmini->sizePolicy().hasHeightForWidth());
455 TLXmini->setSizePolicy(sizePolicy);
456 TLXmini->setWordWrap(false);
458 gridLayout5->addWidget(TLXmini, 0, 0, 1, 1);
460 SpinBox_Xmini = new QDoubleSpinBox(gBBox);
461 SpinBox_Xmini->setObjectName(QString::fromUtf8("SpinBox_Xmini"));
462 SpinBox_Xmini->setDecimals(5);
463 SpinBox_Xmini->setMaximum(1e+09);
464 SpinBox_Xmini->setMinimum(-1e+09);
465 SpinBox_Xmini->setValue(0);
467 gridLayout5->addWidget(SpinBox_Xmini, 0, 1, 1, 1);
469 TLYmini = new QLabel(gBBox);
470 TLYmini->setObjectName(QString::fromUtf8("TLYmini"));
471 sizePolicy.setHeightForWidth(TLYmini->sizePolicy().hasHeightForWidth());
472 TLYmini->setSizePolicy(sizePolicy);
473 TLYmini->setWordWrap(false);
475 gridLayout5->addWidget(TLYmini, 1, 0, 1, 1);
477 SpinBox_Ymini = new QDoubleSpinBox(gBBox);
478 SpinBox_Ymini->setObjectName(QString::fromUtf8("SpinBox_Ymini"));
479 SpinBox_Ymini->setDecimals(5);
480 SpinBox_Ymini->setMaximum(1e+09);
481 SpinBox_Ymini->setMinimum(-1e+09);
482 SpinBox_Ymini->setValue(0);
484 gridLayout5->addWidget(SpinBox_Ymini, 1, 1, 1, 1);
486 TLZmini = new QLabel(gBBox);
487 TLZmini->setObjectName(QString::fromUtf8("TLZmini"));
488 sizePolicy.setHeightForWidth(TLZmini->sizePolicy().hasHeightForWidth());
489 TLZmini->setSizePolicy(sizePolicy);
490 TLZmini->setWordWrap(false);
492 gridLayout5->addWidget(TLZmini, 2, 0, 1, 1);
494 SpinBox_Zmini = new QDoubleSpinBox(gBBox);
495 SpinBox_Zmini->setObjectName(QString::fromUtf8("SpinBox_Zmini"));
496 SpinBox_Zmini->setDecimals(5);
497 SpinBox_Zmini->setMaximum(1e+09);
498 SpinBox_Zmini->setMinimum(-1e+09);
499 SpinBox_Zmini->setValue(0);
501 gridLayout5->addWidget(SpinBox_Zmini, 2, 1, 1, 1);
503 TLXmaxi = new QLabel(gBBox);
504 TLXmaxi->setObjectName(QString::fromUtf8("TLXmaxi"));
505 sizePolicy.setHeightForWidth(TLXmaxi->sizePolicy().hasHeightForWidth());
506 TLXmaxi->setSizePolicy(sizePolicy);
507 TLXmaxi->setWordWrap(false);
509 gridLayout5->addWidget(TLXmaxi, 0, 2, 1, 1);
511 TLZmaxi = new QLabel(gBBox);
512 TLZmaxi->setObjectName(QString::fromUtf8("TLZmaxi"));
513 sizePolicy.setHeightForWidth(TLZmaxi->sizePolicy().hasHeightForWidth());
514 TLZmaxi->setSizePolicy(sizePolicy);
515 TLZmaxi->setWordWrap(false);
517 gridLayout5->addWidget(TLZmaxi, 2, 2, 1, 1);
519 SpinBox_Zmaxi = new QDoubleSpinBox(gBBox);
520 SpinBox_Zmaxi->setObjectName(QString::fromUtf8("SpinBox_Zmaxi"));
521 SpinBox_Zmaxi->setDecimals(5);
522 SpinBox_Zmaxi->setMaximum(1e+09);
523 SpinBox_Zmaxi->setMinimum(-1e+09);
524 SpinBox_Zmaxi->setValue(0);
526 gridLayout5->addWidget(SpinBox_Zmaxi, 2, 3, 1, 1);
528 TLYmaxi = new QLabel(gBBox);
529 TLYmaxi->setObjectName(QString::fromUtf8("TLYmaxi"));
530 sizePolicy.setHeightForWidth(TLYmaxi->sizePolicy().hasHeightForWidth());
531 TLYmaxi->setSizePolicy(sizePolicy);
532 TLYmaxi->setWordWrap(false);
534 gridLayout5->addWidget(TLYmaxi, 1, 2, 1, 1);
536 SpinBox_Xmaxi = new QDoubleSpinBox(gBBox);
537 SpinBox_Xmaxi->setObjectName(QString::fromUtf8("SpinBox_Xmaxi"));
538 SpinBox_Xmaxi->setDecimals(5);
539 SpinBox_Xmaxi->setMaximum(1e+09);
540 SpinBox_Xmaxi->setMinimum(-1e+09);
541 SpinBox_Xmaxi->setValue(0);
543 gridLayout5->addWidget(SpinBox_Xmaxi, 0, 3, 1, 1);
545 SpinBox_Ymaxi = new QDoubleSpinBox(gBBox);
546 SpinBox_Ymaxi->setObjectName(QString::fromUtf8("SpinBox_Ymaxi"));
547 SpinBox_Ymaxi->setDecimals(5);
548 SpinBox_Ymaxi->setMaximum(1e+09);
549 SpinBox_Ymaxi->setMinimum(-1e+09);
550 SpinBox_Ymaxi->setValue(0);
552 gridLayout5->addWidget(SpinBox_Ymaxi, 1, 3, 1, 1);
555 gridLayout->addWidget(gBBox, 2, 0, 1, 2);
557 LEName = new QLineEdit(CreateZone);
558 LEName->setObjectName(QString::fromUtf8("LEName"));
559 LEName->setMaxLength(32);
561 gridLayout->addWidget(LEName, 0, 1, 1, 1);
563 Name = new QLabel(CreateZone);
564 Name->setObjectName(QString::fromUtf8("Name"));
566 gridLayout->addWidget(Name, 0, 0, 1, 1);
568 gBPipe = new QGroupBox(CreateZone);
569 gBPipe->setObjectName(QString::fromUtf8("gBPipe"));
570 sizePolicy.setHeightForWidth(gBPipe->sizePolicy().hasHeightForWidth());
571 gBPipe->setSizePolicy(sizePolicy);
572 gridLayout6 = new QGridLayout(gBPipe);
574 gridLayout6->setSpacing(6);
577 gridLayout6->setContentsMargins(9, 9, 9, 9);
579 gridLayout6->setObjectName(QString::fromUtf8("gridLayout6"));
580 TLHaut_p = new QLabel(gBPipe);
581 TLHaut_p->setObjectName(QString::fromUtf8("TLHaut_p"));
582 sizePolicy.setHeightForWidth(TLHaut_p->sizePolicy().hasHeightForWidth());
583 TLHaut_p->setSizePolicy(sizePolicy);
584 TLHaut_p->setWordWrap(false);
586 gridLayout6->addWidget(TLHaut_p, 4, 0, 1, 1);
588 SpinBox_Xbase_p = new QDoubleSpinBox(gBPipe);
589 SpinBox_Xbase_p->setObjectName(QString::fromUtf8("SpinBox_Xbase_p"));
590 SpinBox_Xbase_p->setDecimals(5);
591 SpinBox_Xbase_p->setMaximum(1e+09);
592 SpinBox_Xbase_p->setMinimum(-1e+09);
593 SpinBox_Xbase_p->setValue(0);
595 gridLayout6->addWidget(SpinBox_Xbase_p, 0, 1, 1, 1);
597 TLXbase_p = new QLabel(gBPipe);
598 TLXbase_p->setObjectName(QString::fromUtf8("TLXbase_p"));
599 sizePolicy.setHeightForWidth(TLXbase_p->sizePolicy().hasHeightForWidth());
600 TLXbase_p->setSizePolicy(sizePolicy);
601 TLXbase_p->setWordWrap(false);
603 gridLayout6->addWidget(TLXbase_p, 0, 0, 1, 1);
605 SpinBox_Radius_int = new QDoubleSpinBox(gBPipe);
606 SpinBox_Radius_int->setObjectName(QString::fromUtf8("SpinBox_Radius_int"));
607 SpinBox_Radius_int->setDecimals(5);
608 SpinBox_Radius_int->setMaximum(1e+09);
610 gridLayout6->addWidget(SpinBox_Radius_int, 3, 1, 1, 1);
612 SpinBox_Zbase_p = new QDoubleSpinBox(gBPipe);
613 SpinBox_Zbase_p->setObjectName(QString::fromUtf8("SpinBox_Zbase_p"));
614 SpinBox_Zbase_p->setDecimals(5);
615 SpinBox_Zbase_p->setMaximum(1e+09);
616 SpinBox_Zbase_p->setMinimum(-1e+09);
617 SpinBox_Zbase_p->setValue(0);
619 gridLayout6->addWidget(SpinBox_Zbase_p, 2, 1, 1, 1);
621 TLRadius_int = new QLabel(gBPipe);
622 TLRadius_int->setObjectName(QString::fromUtf8("TLRadius_int"));
623 sizePolicy.setHeightForWidth(TLRadius_int->sizePolicy().hasHeightForWidth());
624 TLRadius_int->setSizePolicy(sizePolicy);
625 TLRadius_int->setWordWrap(false);
627 gridLayout6->addWidget(TLRadius_int, 3, 0, 1, 1);
629 TLZbase_p = new QLabel(gBPipe);
630 TLZbase_p->setObjectName(QString::fromUtf8("TLZbase_p"));
631 sizePolicy.setHeightForWidth(TLZbase_p->sizePolicy().hasHeightForWidth());
632 TLZbase_p->setSizePolicy(sizePolicy);
633 TLZbase_p->setWordWrap(false);
635 gridLayout6->addWidget(TLZbase_p, 2, 0, 1, 1);
637 TLYbase_p = new QLabel(gBPipe);
638 TLYbase_p->setObjectName(QString::fromUtf8("TLYbase_p"));
639 sizePolicy.setHeightForWidth(TLYbase_p->sizePolicy().hasHeightForWidth());
640 TLYbase_p->setSizePolicy(sizePolicy);
641 TLYbase_p->setWordWrap(false);
643 gridLayout6->addWidget(TLYbase_p, 1, 0, 1, 1);
645 SpinBox_Ybase_p = new QDoubleSpinBox(gBPipe);
646 SpinBox_Ybase_p->setObjectName(QString::fromUtf8("SpinBox_Ybase_p"));
647 SpinBox_Ybase_p->setDecimals(5);
648 SpinBox_Ybase_p->setMaximum(1e+09);
649 SpinBox_Ybase_p->setMinimum(-1e+09);
650 SpinBox_Ybase_p->setValue(0);
652 gridLayout6->addWidget(SpinBox_Ybase_p, 1, 1, 1, 1);
654 TLXaxis_p = new QLabel(gBPipe);
655 TLXaxis_p->setObjectName(QString::fromUtf8("TLXaxis_p"));
656 sizePolicy.setHeightForWidth(TLXaxis_p->sizePolicy().hasHeightForWidth());
657 TLXaxis_p->setSizePolicy(sizePolicy);
658 TLXaxis_p->setWordWrap(false);
660 gridLayout6->addWidget(TLXaxis_p, 0, 2, 1, 1);
662 TLYaxis_p = new QLabel(gBPipe);
663 TLYaxis_p->setObjectName(QString::fromUtf8("TLYaxis_p"));
664 sizePolicy.setHeightForWidth(TLYaxis_p->sizePolicy().hasHeightForWidth());
665 TLYaxis_p->setSizePolicy(sizePolicy);
666 TLYaxis_p->setWordWrap(false);
668 gridLayout6->addWidget(TLYaxis_p, 1, 2, 1, 1);
670 TLZaxis_p = new QLabel(gBPipe);
671 TLZaxis_p->setObjectName(QString::fromUtf8("TLZaxis_p"));
672 sizePolicy.setHeightForWidth(TLZaxis_p->sizePolicy().hasHeightForWidth());
673 TLZaxis_p->setSizePolicy(sizePolicy);
674 TLZaxis_p->setWordWrap(false);
676 gridLayout6->addWidget(TLZaxis_p, 2, 2, 1, 1);
678 SpinBox_Zaxis_p = new QDoubleSpinBox(gBPipe);
679 SpinBox_Zaxis_p->setObjectName(QString::fromUtf8("SpinBox_Zaxis_p"));
680 SpinBox_Zaxis_p->setDecimals(5);
681 SpinBox_Zaxis_p->setMaximum(1e+09);
682 SpinBox_Zaxis_p->setMinimum(-1e+09);
683 SpinBox_Zaxis_p->setValue(0);
685 gridLayout6->addWidget(SpinBox_Zaxis_p, 2, 3, 1, 1);
687 SpinBox_Yaxis_p = new QDoubleSpinBox(gBPipe);
688 SpinBox_Yaxis_p->setObjectName(QString::fromUtf8("SpinBox_Yaxis_p"));
689 SpinBox_Yaxis_p->setDecimals(5);
690 SpinBox_Yaxis_p->setMaximum(1e+09);
691 SpinBox_Yaxis_p->setMinimum(-1e+09);
692 SpinBox_Yaxis_p->setValue(0);
694 gridLayout6->addWidget(SpinBox_Yaxis_p, 1, 3, 1, 1);
696 SpinBox_Xaxis_p = new QDoubleSpinBox(gBPipe);
697 SpinBox_Xaxis_p->setObjectName(QString::fromUtf8("SpinBox_Xaxis_p"));
698 SpinBox_Xaxis_p->setDecimals(5);
699 SpinBox_Xaxis_p->setMaximum(1e+09);
700 SpinBox_Xaxis_p->setMinimum(-1e+09);
701 SpinBox_Xaxis_p->setValue(0);
703 gridLayout6->addWidget(SpinBox_Xaxis_p, 0, 3, 1, 1);
705 SpinBox_Radius_ext = new QDoubleSpinBox(gBPipe);
706 SpinBox_Radius_ext->setObjectName(QString::fromUtf8("SpinBox_Radius_ext"));
707 SpinBox_Radius_ext->setDecimals(5);
708 SpinBox_Radius_ext->setMaximum(1e+09);
710 gridLayout6->addWidget(SpinBox_Radius_ext, 3, 3, 1, 1);
712 TLRadius_ext = new QLabel(gBPipe);
713 TLRadius_ext->setObjectName(QString::fromUtf8("TLRadius_ext"));
714 sizePolicy.setHeightForWidth(TLRadius_ext->sizePolicy().hasHeightForWidth());
715 TLRadius_ext->setSizePolicy(sizePolicy);
716 TLRadius_ext->setWordWrap(false);
718 gridLayout6->addWidget(TLRadius_ext, 3, 2, 1, 1);
720 SpinBox_Haut_p = new QDoubleSpinBox(gBPipe);
721 SpinBox_Haut_p->setObjectName(QString::fromUtf8("SpinBox_Haut_p"));
722 SpinBox_Haut_p->setDecimals(5);
723 SpinBox_Haut_p->setMaximum(1e+09);
725 gridLayout6->addWidget(SpinBox_Haut_p, 4, 1, 1, 1);
728 gridLayout->addWidget(gBPipe, 5, 0, 1, 2);
731 retranslateUi(CreateZone);
733 QMetaObject::connectSlotsByName(CreateZone);
736 void retranslateUi(QDialog *CreateZone)
738 CreateZone->setWindowTitle(QApplication::translate("CreateZone", "Create a zone", 0, QApplication::UnicodeUTF8));
739 GBButtons->setTitle(QString());
740 buttonHelp->setText(QApplication::translate("CreateZone", "Help", 0, QApplication::UnicodeUTF8));
741 buttonCancel->setText(QApplication::translate("CreateZone", "Cancel", 0, QApplication::UnicodeUTF8));
742 buttonApply->setText(QApplication::translate("CreateZone", "Apply", 0, QApplication::UnicodeUTF8));
743 buttonOk->setText(QApplication::translate("CreateZone", "OK", 0, QApplication::UnicodeUTF8));
744 TypeZone->setTitle(QApplication::translate("CreateZone", "Type of zone", 0, QApplication::UnicodeUTF8));
745 RBSphere->setText(QApplication::translate("CreateZone", "Sphere", 0, QApplication::UnicodeUTF8));
746 RBPipe->setText(QApplication::translate("CreateZone", "Pipe", 0, QApplication::UnicodeUTF8));
747 RBCylinder->setText(QApplication::translate("CreateZone", "Cylinder", 0, QApplication::UnicodeUTF8));
748 RBBox->setText(QApplication::translate("CreateZone", "Box", 0, QApplication::UnicodeUTF8));
749 gBCylindre->setTitle(QApplication::translate("CreateZone", "Coordinates", 0, QApplication::UnicodeUTF8));
750 TLHaut->setText(QApplication::translate("CreateZone", "Height", 0, QApplication::UnicodeUTF8));
751 TLRadius->setText(QApplication::translate("CreateZone", "Radius", 0, QApplication::UnicodeUTF8));
752 TLZaxis->setText(QApplication::translate("CreateZone", "Z axis", 0, QApplication::UnicodeUTF8));
753 TLYaxis->setText(QApplication::translate("CreateZone", "Y axis", 0, QApplication::UnicodeUTF8));
754 TLXaxis->setText(QApplication::translate("CreateZone", "X axis", 0, QApplication::UnicodeUTF8));
755 TLYbase->setText(QApplication::translate("CreateZone", "Y base", 0, QApplication::UnicodeUTF8));
756 TLZbase->setText(QApplication::translate("CreateZone", "Z base", 0, QApplication::UnicodeUTF8));
757 TLXbase->setText(QApplication::translate("CreateZone", "X base", 0, QApplication::UnicodeUTF8));
758 gBSphere->setTitle(QApplication::translate("CreateZone", "Coordinates", 0, QApplication::UnicodeUTF8));
759 TLXcentre->setText(QApplication::translate("CreateZone", "X centre", 0, QApplication::UnicodeUTF8));
760 TLYcentre->setText(QApplication::translate("CreateZone", "Y centre", 0, QApplication::UnicodeUTF8));
761 TLRayon->setText(QApplication::translate("CreateZone", "Radius", 0, QApplication::UnicodeUTF8));
762 TLZcentre->setText(QApplication::translate("CreateZone", "Z centre", 0, QApplication::UnicodeUTF8));
763 gBBox->setTitle(QApplication::translate("CreateZone", "Coordinates", 0, QApplication::UnicodeUTF8));
764 TLXmini->setText(QApplication::translate("CreateZone", "X mini", 0, QApplication::UnicodeUTF8));
765 TLYmini->setText(QApplication::translate("CreateZone", "Y mini", 0, QApplication::UnicodeUTF8));
766 TLZmini->setText(QApplication::translate("CreateZone", "Z mini", 0, QApplication::UnicodeUTF8));
767 TLXmaxi->setText(QApplication::translate("CreateZone", "X maxi", 0, QApplication::UnicodeUTF8));
768 TLZmaxi->setText(QApplication::translate("CreateZone", "Z maxi", 0, QApplication::UnicodeUTF8));
769 TLYmaxi->setText(QApplication::translate("CreateZone", "Y maxi", 0, QApplication::UnicodeUTF8));
770 Name->setText(QApplication::translate("CreateZone", "Name", 0, QApplication::UnicodeUTF8));
771 gBPipe->setTitle(QApplication::translate("CreateZone", "Coordinates", 0, QApplication::UnicodeUTF8));
772 TLHaut_p->setText(QApplication::translate("CreateZone", "Height", 0, QApplication::UnicodeUTF8));
773 TLXbase_p->setText(QApplication::translate("CreateZone", "X base", 0, QApplication::UnicodeUTF8));
774 TLRadius_int->setText(QApplication::translate("CreateZone", "Internal radius", 0, QApplication::UnicodeUTF8));
775 TLZbase_p->setText(QApplication::translate("CreateZone", "Z base", 0, QApplication::UnicodeUTF8));
776 TLYbase_p->setText(QApplication::translate("CreateZone", "Y base", 0, QApplication::UnicodeUTF8));
777 TLXaxis_p->setText(QApplication::translate("CreateZone", "X axis", 0, QApplication::UnicodeUTF8));
778 TLYaxis_p->setText(QApplication::translate("CreateZone", "Y axis", 0, QApplication::UnicodeUTF8));
779 TLZaxis_p->setText(QApplication::translate("CreateZone", "Z axis", 0, QApplication::UnicodeUTF8));
780 TLRadius_ext->setText(QApplication::translate("CreateZone", "External radius", 0, QApplication::UnicodeUTF8));
786 class CreateZone: public Ui_CreateZone {};
791 #endif // CREATEZONE_H