1 // Copyright (C) 2011-2021 CEA/DEN, EDF R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #ifndef MON_CREATEBOUNDARY_H
21 #define MON_CREATEBOUNDARY_H
23 #include "SMESH_SMESHGUI.hxx"
25 #include <SALOMEconfig.h>
26 #include <SalomeApp_Module.h>
28 #include CORBA_CLIENT_HEADER(SMESH_Homard)
32 #include <QtCore/QVariant>
33 #include <QtGui/QIcon>
34 #include <QtWidgets/QApplication>
35 #include <QtWidgets/QCheckBox>
36 #include <QtWidgets/QDialog>
37 #include <QtWidgets/QDoubleSpinBox>
38 #include <QtWidgets/QGridLayout>
39 #include <QtWidgets/QGroupBox>
40 #include <QtWidgets/QLabel>
41 #include <QtWidgets/QLineEdit>
42 #include <QtWidgets/QPushButton>
43 #include <QtWidgets/QRadioButton>
45 class SMESHGUI_HomardAdaptDlg;
47 class SMESH_Ui_CreateBoundaryAn
50 QGridLayout *gridLayout_5;
53 QGroupBox *TypeBoundary;
54 QGridLayout *gridLayout;
55 QRadioButton *RBCylindre;
56 QRadioButton *RBSphere;
59 QGroupBox *gBCylindre;
60 QGridLayout *gridLayout1;
61 QDoubleSpinBox *SpinBox_Xcent;
63 QDoubleSpinBox *SpinBox_Radius;
64 QDoubleSpinBox *SpinBox_Zcent;
68 QDoubleSpinBox *SpinBox_Ycent;
72 QDoubleSpinBox *SpinBox_Zaxis;
73 QDoubleSpinBox *SpinBox_Yaxis;
74 QDoubleSpinBox *SpinBox_Xaxis;
76 QGridLayout *gridLayout2;
77 QDoubleSpinBox *SpinBox_Rayon;
78 QDoubleSpinBox *SpinBox_Zcentre;
82 QDoubleSpinBox *SpinBox_Ycentre;
83 QDoubleSpinBox *SpinBox_Xcentre;
86 QGridLayout *gridLayout_3;
88 QGridLayout *gridLayout_2;
89 QRadioButton *RB_Def_radius;
90 QRadioButton *RB_Def_angle;
92 QDoubleSpinBox *SpinBox_Cone_X1;
94 QDoubleSpinBox *SpinBox_Cone_X2;
96 QDoubleSpinBox *SpinBox_Cone_Y1;
98 QDoubleSpinBox *SpinBox_Cone_Y2;
100 QDoubleSpinBox *SpinBox_Cone_Z1;
102 QDoubleSpinBox *SpinBox_Cone_Z2;
104 QDoubleSpinBox *SpinBox_Cone_V1;
106 QDoubleSpinBox *SpinBox_Cone_V2;
108 QGridLayout *gridLayout_4;
110 QDoubleSpinBox *SpinBoxToreXcent;
112 QDoubleSpinBox *SpinBoxToreXaxe;
114 QDoubleSpinBox *SpinBoxToreYcent;
116 QDoubleSpinBox *SpinBoxToreYaxe;
118 QDoubleSpinBox *SpinBoxToreZcent;
120 QDoubleSpinBox *SpinBoxToreZaxe;
121 QLabel *TLToreRayRev;
122 QDoubleSpinBox *SpinBoxToreRRev;
123 QLabel *TLToreRayPri;
124 QDoubleSpinBox *SpinBoxToreRPri;
125 QGroupBox *GBButtons;
126 QGridLayout *gridLayout3;
127 QPushButton *buttonHelp;
128 QPushButton *buttonCancel;
129 QPushButton *buttonApply;
130 QPushButton *buttonOk;
132 void setupUi(QDialog *CreateBoundaryAn)
134 if (CreateBoundaryAn->objectName().isEmpty())
135 CreateBoundaryAn->setObjectName(QString::fromUtf8("CreateBoundaryAn"));
136 CreateBoundaryAn->resize(522, 835);
137 CreateBoundaryAn->setAutoFillBackground(true);
138 CreateBoundaryAn->setSizeGripEnabled(true);
139 gridLayout_5 = new QGridLayout(CreateBoundaryAn);
140 gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5"));
141 Name = new QLabel(CreateBoundaryAn);
142 Name->setObjectName(QString::fromUtf8("Name"));
144 gridLayout_5->addWidget(Name, 0, 0, 1, 1);
146 LEName = new QLineEdit(CreateBoundaryAn);
147 LEName->setObjectName(QString::fromUtf8("LEName"));
148 LEName->setMaxLength(32);
150 gridLayout_5->addWidget(LEName, 0, 1, 1, 1);
152 TypeBoundary = new QGroupBox(CreateBoundaryAn);
153 TypeBoundary->setObjectName(QString::fromUtf8("TypeBoundary"));
154 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
155 sizePolicy.setHorizontalStretch(0);
156 sizePolicy.setVerticalStretch(0);
157 sizePolicy.setHeightForWidth(TypeBoundary->sizePolicy().hasHeightForWidth());
158 TypeBoundary->setSizePolicy(sizePolicy);
159 TypeBoundary->setMinimumSize(QSize(340, 0));
160 gridLayout = new QGridLayout(TypeBoundary);
161 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
162 RBCylindre = new QRadioButton(TypeBoundary);
163 RBCylindre->setObjectName(QString::fromUtf8("RBCylindre"));
165 icon.addFile(QString::fromUtf8("../../resources/cylinderpointvector.png"), QSize(), QIcon::Normal, QIcon::Off);
166 RBCylindre->setIcon(icon);
167 RBCylindre->setCheckable(true);
168 RBCylindre->setChecked(true);
170 gridLayout->addWidget(RBCylindre, 0, 0, 1, 1);
172 RBSphere = new QRadioButton(TypeBoundary);
173 RBSphere->setObjectName(QString::fromUtf8("RBSphere"));
175 icon1.addFile(QString::fromUtf8("../../resources/zone_spherepoint.png"), QSize(), QIcon::Normal, QIcon::Off);
176 RBSphere->setIcon(icon1);
178 gridLayout->addWidget(RBSphere, 0, 1, 1, 1);
180 RBCone = new QRadioButton(TypeBoundary);
181 RBCone->setObjectName(QString::fromUtf8("RBCone"));
183 icon2.addFile(QString::fromUtf8("../../resources/cone.png"), QSize(), QIcon::Normal, QIcon::Off);
184 RBCone->setIcon(icon2);
186 gridLayout->addWidget(RBCone, 0, 2, 1, 1);
188 RBTore = new QRadioButton(TypeBoundary);
189 RBTore->setObjectName(QString::fromUtf8("RBTore"));
191 icon3.addFile(QString::fromUtf8("../../resources/toruspointvector.png"), QSize(), QIcon::Normal, QIcon::Off);
192 RBTore->setIcon(icon3);
193 RBTore->setCheckable(true);
194 RBTore->setChecked(false);
196 gridLayout->addWidget(RBTore, 0, 3, 1, 1);
199 gridLayout_5->addWidget(TypeBoundary, 1, 0, 1, 2);
201 gBCylindre = new QGroupBox(CreateBoundaryAn);
202 gBCylindre->setObjectName(QString::fromUtf8("gBCylindre"));
203 sizePolicy.setHeightForWidth(gBCylindre->sizePolicy().hasHeightForWidth());
204 gBCylindre->setSizePolicy(sizePolicy);
205 gridLayout1 = new QGridLayout(gBCylindre);
207 gridLayout1->setSpacing(6);
210 gridLayout1->setContentsMargins(9, 9, 9, 9);
212 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
213 SpinBox_Xcent = new QDoubleSpinBox(gBCylindre);
214 SpinBox_Xcent->setObjectName(QString::fromUtf8("SpinBox_Xcent"));
215 SpinBox_Xcent->setDecimals(5);
216 SpinBox_Xcent->setMinimum(-999999999.000000000000000);
217 SpinBox_Xcent->setMaximum(999999999.000000000000000);
218 SpinBox_Xcent->setValue(0.000000000000000);
220 gridLayout1->addWidget(SpinBox_Xcent, 0, 1, 1, 1);
222 TLXcent = new QLabel(gBCylindre);
223 TLXcent->setObjectName(QString::fromUtf8("TLXcent"));
224 sizePolicy.setHeightForWidth(TLXcent->sizePolicy().hasHeightForWidth());
225 TLXcent->setSizePolicy(sizePolicy);
226 TLXcent->setWordWrap(false);
228 gridLayout1->addWidget(TLXcent, 0, 0, 1, 1);
230 SpinBox_Radius = new QDoubleSpinBox(gBCylindre);
231 SpinBox_Radius->setObjectName(QString::fromUtf8("SpinBox_Radius"));
232 SpinBox_Radius->setDecimals(5);
233 SpinBox_Radius->setMaximum(1000000000.000000000000000);
235 gridLayout1->addWidget(SpinBox_Radius, 3, 1, 1, 2);
237 SpinBox_Zcent = new QDoubleSpinBox(gBCylindre);
238 SpinBox_Zcent->setObjectName(QString::fromUtf8("SpinBox_Zcent"));
239 SpinBox_Zcent->setDecimals(5);
240 SpinBox_Zcent->setMinimum(-999999999.000000000000000);
241 SpinBox_Zcent->setMaximum(999999999.000000000000000);
242 SpinBox_Zcent->setValue(0.000000000000000);
244 gridLayout1->addWidget(SpinBox_Zcent, 2, 1, 1, 1);
246 TLradius = new QLabel(gBCylindre);
247 TLradius->setObjectName(QString::fromUtf8("TLradius"));
248 sizePolicy.setHeightForWidth(TLradius->sizePolicy().hasHeightForWidth());
249 TLradius->setSizePolicy(sizePolicy);
250 TLradius->setWordWrap(false);
252 gridLayout1->addWidget(TLradius, 3, 0, 1, 1);
254 TLZcent = new QLabel(gBCylindre);
255 TLZcent->setObjectName(QString::fromUtf8("TLZcent"));
256 sizePolicy.setHeightForWidth(TLZcent->sizePolicy().hasHeightForWidth());
257 TLZcent->setSizePolicy(sizePolicy);
258 TLZcent->setWordWrap(false);
260 gridLayout1->addWidget(TLZcent, 2, 0, 1, 1);
262 TLYcent = new QLabel(gBCylindre);
263 TLYcent->setObjectName(QString::fromUtf8("TLYcent"));
264 sizePolicy.setHeightForWidth(TLYcent->sizePolicy().hasHeightForWidth());
265 TLYcent->setSizePolicy(sizePolicy);
266 TLYcent->setWordWrap(false);
268 gridLayout1->addWidget(TLYcent, 1, 0, 1, 1);
270 SpinBox_Ycent = new QDoubleSpinBox(gBCylindre);
271 SpinBox_Ycent->setObjectName(QString::fromUtf8("SpinBox_Ycent"));
272 SpinBox_Ycent->setDecimals(5);
273 SpinBox_Ycent->setMinimum(-999999999.000000000000000);
274 SpinBox_Ycent->setMaximum(999999999.000000000000000);
275 SpinBox_Ycent->setValue(0.000000000000000);
277 gridLayout1->addWidget(SpinBox_Ycent, 1, 1, 1, 1);
279 TLXaxis = new QLabel(gBCylindre);
280 TLXaxis->setObjectName(QString::fromUtf8("TLXaxis"));
281 sizePolicy.setHeightForWidth(TLXaxis->sizePolicy().hasHeightForWidth());
282 TLXaxis->setSizePolicy(sizePolicy);
283 TLXaxis->setWordWrap(false);
285 gridLayout1->addWidget(TLXaxis, 0, 2, 1, 1);
287 TLYaxis = new QLabel(gBCylindre);
288 TLYaxis->setObjectName(QString::fromUtf8("TLYaxis"));
289 sizePolicy.setHeightForWidth(TLYaxis->sizePolicy().hasHeightForWidth());
290 TLYaxis->setSizePolicy(sizePolicy);
291 TLYaxis->setWordWrap(false);
293 gridLayout1->addWidget(TLYaxis, 1, 2, 1, 1);
295 TLZaxis = new QLabel(gBCylindre);
296 TLZaxis->setObjectName(QString::fromUtf8("TLZaxis"));
297 sizePolicy.setHeightForWidth(TLZaxis->sizePolicy().hasHeightForWidth());
298 TLZaxis->setSizePolicy(sizePolicy);
299 TLZaxis->setWordWrap(false);
301 gridLayout1->addWidget(TLZaxis, 2, 2, 1, 1);
303 SpinBox_Zaxis = new QDoubleSpinBox(gBCylindre);
304 SpinBox_Zaxis->setObjectName(QString::fromUtf8("SpinBox_Zaxis"));
305 SpinBox_Zaxis->setDecimals(5);
306 SpinBox_Zaxis->setMinimum(-999999999.000000000000000);
307 SpinBox_Zaxis->setMaximum(999999999.000000000000000);
308 SpinBox_Zaxis->setValue(0.000000000000000);
310 gridLayout1->addWidget(SpinBox_Zaxis, 2, 3, 1, 1);
312 SpinBox_Yaxis = new QDoubleSpinBox(gBCylindre);
313 SpinBox_Yaxis->setObjectName(QString::fromUtf8("SpinBox_Yaxis"));
314 SpinBox_Yaxis->setDecimals(5);
315 SpinBox_Yaxis->setMinimum(-999999999.000000000000000);
316 SpinBox_Yaxis->setMaximum(999999999.000000000000000);
317 SpinBox_Yaxis->setValue(0.000000000000000);
319 gridLayout1->addWidget(SpinBox_Yaxis, 1, 3, 1, 1);
321 SpinBox_Xaxis = new QDoubleSpinBox(gBCylindre);
322 SpinBox_Xaxis->setObjectName(QString::fromUtf8("SpinBox_Xaxis"));
323 SpinBox_Xaxis->setDecimals(5);
324 SpinBox_Xaxis->setMinimum(-999999999.000000000000000);
325 SpinBox_Xaxis->setMaximum(999999999.000000000000000);
326 SpinBox_Xaxis->setValue(0.000000000000000);
328 gridLayout1->addWidget(SpinBox_Xaxis, 0, 3, 1, 1);
331 gridLayout_5->addWidget(gBCylindre, 2, 0, 1, 2);
333 gBSphere = new QGroupBox(CreateBoundaryAn);
334 gBSphere->setObjectName(QString::fromUtf8("gBSphere"));
335 sizePolicy.setHeightForWidth(gBSphere->sizePolicy().hasHeightForWidth());
336 gBSphere->setSizePolicy(sizePolicy);
337 gridLayout2 = new QGridLayout(gBSphere);
339 gridLayout2->setSpacing(6);
342 gridLayout2->setContentsMargins(9, 9, 9, 9);
344 gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
345 SpinBox_Rayon = new QDoubleSpinBox(gBSphere);
346 SpinBox_Rayon->setObjectName(QString::fromUtf8("SpinBox_Rayon"));
347 SpinBox_Rayon->setDecimals(5);
348 SpinBox_Rayon->setMinimum(0.000000000000000);
349 SpinBox_Rayon->setMaximum(999999999.000000000000000);
350 SpinBox_Rayon->setValue(0.000000000000000);
352 gridLayout2->addWidget(SpinBox_Rayon, 1, 3, 1, 1);
354 SpinBox_Zcentre = new QDoubleSpinBox(gBSphere);
355 SpinBox_Zcentre->setObjectName(QString::fromUtf8("SpinBox_Zcentre"));
356 SpinBox_Zcentre->setDecimals(5);
357 SpinBox_Zcentre->setMinimum(-999999999.000000000000000);
358 SpinBox_Zcentre->setMaximum(999999999.000000000000000);
359 SpinBox_Zcentre->setValue(0.000000000000000);
361 gridLayout2->addWidget(SpinBox_Zcentre, 2, 1, 1, 1);
363 TLRayon = new QLabel(gBSphere);
364 TLRayon->setObjectName(QString::fromUtf8("TLRayon"));
365 sizePolicy.setHeightForWidth(TLRayon->sizePolicy().hasHeightForWidth());
366 TLRayon->setSizePolicy(sizePolicy);
367 TLRayon->setWordWrap(false);
369 gridLayout2->addWidget(TLRayon, 1, 2, 1, 1);
371 TLZcentre = new QLabel(gBSphere);
372 TLZcentre->setObjectName(QString::fromUtf8("TLZcentre"));
373 sizePolicy.setHeightForWidth(TLZcentre->sizePolicy().hasHeightForWidth());
374 TLZcentre->setSizePolicy(sizePolicy);
375 TLZcentre->setWordWrap(false);
377 gridLayout2->addWidget(TLZcentre, 2, 0, 1, 1);
379 TLYcentre = new QLabel(gBSphere);
380 TLYcentre->setObjectName(QString::fromUtf8("TLYcentre"));
381 sizePolicy.setHeightForWidth(TLYcentre->sizePolicy().hasHeightForWidth());
382 TLYcentre->setSizePolicy(sizePolicy);
383 TLYcentre->setWordWrap(false);
385 gridLayout2->addWidget(TLYcentre, 1, 0, 1, 1);
387 SpinBox_Ycentre = new QDoubleSpinBox(gBSphere);
388 SpinBox_Ycentre->setObjectName(QString::fromUtf8("SpinBox_Ycentre"));
389 SpinBox_Ycentre->setDecimals(5);
390 SpinBox_Ycentre->setMinimum(-999999999.000000000000000);
391 SpinBox_Ycentre->setMaximum(999999999.000000000000000);
392 SpinBox_Ycentre->setValue(0.000000000000000);
394 gridLayout2->addWidget(SpinBox_Ycentre, 1, 1, 1, 1);
396 SpinBox_Xcentre = new QDoubleSpinBox(gBSphere);
397 SpinBox_Xcentre->setObjectName(QString::fromUtf8("SpinBox_Xcentre"));
398 SpinBox_Xcentre->setDecimals(5);
399 SpinBox_Xcentre->setMinimum(-999999999.000000000000000);
400 SpinBox_Xcentre->setMaximum(999999999.000000000000000);
401 SpinBox_Xcentre->setValue(0.000000000000000);
403 gridLayout2->addWidget(SpinBox_Xcentre, 0, 1, 1, 1);
405 TLXcentre = new QLabel(gBSphere);
406 TLXcentre->setObjectName(QString::fromUtf8("TLXcentre"));
407 sizePolicy.setHeightForWidth(TLXcentre->sizePolicy().hasHeightForWidth());
408 TLXcentre->setSizePolicy(sizePolicy);
409 TLXcentre->setWordWrap(false);
411 gridLayout2->addWidget(TLXcentre, 0, 0, 1, 1);
414 gridLayout_5->addWidget(gBSphere, 3, 0, 1, 2);
416 gBCone = new QGroupBox(CreateBoundaryAn);
417 gBCone->setObjectName(QString::fromUtf8("gBCone"));
418 sizePolicy.setHeightForWidth(gBCone->sizePolicy().hasHeightForWidth());
419 gBCone->setSizePolicy(sizePolicy);
420 gridLayout_3 = new QGridLayout(gBCone);
421 gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
422 groupBox = new QGroupBox(gBCone);
423 groupBox->setObjectName(QString::fromUtf8("groupBox"));
424 gridLayout_2 = new QGridLayout(groupBox);
425 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
426 RB_Def_radius = new QRadioButton(groupBox);
427 RB_Def_radius->setObjectName(QString::fromUtf8("RB_Def_radius"));
429 icon4.addFile(QString::fromUtf8("../../resources/conedxyz.png"), QSize(), QIcon::Normal, QIcon::Off);
430 RB_Def_radius->setIcon(icon4);
431 RB_Def_radius->setChecked(true);
433 gridLayout_2->addWidget(RB_Def_radius, 0, 0, 1, 1);
435 RB_Def_angle = new QRadioButton(groupBox);
436 RB_Def_angle->setObjectName(QString::fromUtf8("RB_Def_angle"));
438 icon5.addFile(QString::fromUtf8("../../resources/conepointvector.png"), QSize(), QIcon::Normal, QIcon::Off);
439 RB_Def_angle->setIcon(icon5);
441 gridLayout_2->addWidget(RB_Def_angle, 0, 1, 1, 1);
444 gridLayout_3->addWidget(groupBox, 0, 0, 1, 2);
446 TLCone_X1 = new QLabel(gBCone);
447 TLCone_X1->setObjectName(QString::fromUtf8("TLCone_X1"));
448 sizePolicy.setHeightForWidth(TLCone_X1->sizePolicy().hasHeightForWidth());
449 TLCone_X1->setSizePolicy(sizePolicy);
450 TLCone_X1->setWordWrap(false);
452 gridLayout_3->addWidget(TLCone_X1, 1, 0, 1, 1);
454 SpinBox_Cone_X1 = new QDoubleSpinBox(gBCone);
455 SpinBox_Cone_X1->setObjectName(QString::fromUtf8("SpinBox_Cone_X1"));
456 SpinBox_Cone_X1->setDecimals(5);
457 SpinBox_Cone_X1->setMinimum(-999999999.000000000000000);
458 SpinBox_Cone_X1->setMaximum(999999999.000000000000000);
459 SpinBox_Cone_X1->setValue(0.000000000000000);
461 gridLayout_3->addWidget(SpinBox_Cone_X1, 1, 1, 1, 1);
463 TLCone_X2 = new QLabel(gBCone);
464 TLCone_X2->setObjectName(QString::fromUtf8("TLCone_X2"));
465 sizePolicy.setHeightForWidth(TLCone_X2->sizePolicy().hasHeightForWidth());
466 TLCone_X2->setSizePolicy(sizePolicy);
467 TLCone_X2->setWordWrap(false);
469 gridLayout_3->addWidget(TLCone_X2, 1, 2, 1, 1);
471 SpinBox_Cone_X2 = new QDoubleSpinBox(gBCone);
472 SpinBox_Cone_X2->setObjectName(QString::fromUtf8("SpinBox_Cone_X2"));
473 SpinBox_Cone_X2->setDecimals(5);
474 SpinBox_Cone_X2->setMinimum(-999999999.000000000000000);
475 SpinBox_Cone_X2->setMaximum(999999999.000000000000000);
476 SpinBox_Cone_X2->setValue(0.000000000000000);
478 gridLayout_3->addWidget(SpinBox_Cone_X2, 1, 3, 1, 1);
480 TLCone_Y1 = new QLabel(gBCone);
481 TLCone_Y1->setObjectName(QString::fromUtf8("TLCone_Y1"));
482 sizePolicy.setHeightForWidth(TLCone_Y1->sizePolicy().hasHeightForWidth());
483 TLCone_Y1->setSizePolicy(sizePolicy);
484 TLCone_Y1->setWordWrap(false);
486 gridLayout_3->addWidget(TLCone_Y1, 2, 0, 1, 1);
488 SpinBox_Cone_Y1 = new QDoubleSpinBox(gBCone);
489 SpinBox_Cone_Y1->setObjectName(QString::fromUtf8("SpinBox_Cone_Y1"));
490 SpinBox_Cone_Y1->setDecimals(5);
491 SpinBox_Cone_Y1->setMinimum(-999999999.000000000000000);
492 SpinBox_Cone_Y1->setMaximum(999999999.000000000000000);
493 SpinBox_Cone_Y1->setValue(0.000000000000000);
495 gridLayout_3->addWidget(SpinBox_Cone_Y1, 2, 1, 1, 1);
497 TLCone_Y2 = new QLabel(gBCone);
498 TLCone_Y2->setObjectName(QString::fromUtf8("TLCone_Y2"));
499 sizePolicy.setHeightForWidth(TLCone_Y2->sizePolicy().hasHeightForWidth());
500 TLCone_Y2->setSizePolicy(sizePolicy);
501 TLCone_Y2->setWordWrap(false);
503 gridLayout_3->addWidget(TLCone_Y2, 2, 2, 1, 1);
505 SpinBox_Cone_Y2 = new QDoubleSpinBox(gBCone);
506 SpinBox_Cone_Y2->setObjectName(QString::fromUtf8("SpinBox_Cone_Y2"));
507 SpinBox_Cone_Y2->setDecimals(5);
508 SpinBox_Cone_Y2->setMinimum(-999999999.000000000000000);
509 SpinBox_Cone_Y2->setMaximum(999999999.000000000000000);
510 SpinBox_Cone_Y2->setValue(0.000000000000000);
512 gridLayout_3->addWidget(SpinBox_Cone_Y2, 2, 3, 1, 1);
514 TLCone_Z1 = new QLabel(gBCone);
515 TLCone_Z1->setObjectName(QString::fromUtf8("TLCone_Z1"));
516 sizePolicy.setHeightForWidth(TLCone_Z1->sizePolicy().hasHeightForWidth());
517 TLCone_Z1->setSizePolicy(sizePolicy);
518 TLCone_Z1->setWordWrap(false);
520 gridLayout_3->addWidget(TLCone_Z1, 3, 0, 1, 1);
522 SpinBox_Cone_Z1 = new QDoubleSpinBox(gBCone);
523 SpinBox_Cone_Z1->setObjectName(QString::fromUtf8("SpinBox_Cone_Z1"));
524 SpinBox_Cone_Z1->setDecimals(5);
525 SpinBox_Cone_Z1->setMinimum(-999999999.000000000000000);
526 SpinBox_Cone_Z1->setMaximum(999999999.000000000000000);
527 SpinBox_Cone_Z1->setValue(0.000000000000000);
529 gridLayout_3->addWidget(SpinBox_Cone_Z1, 3, 1, 1, 1);
531 TLCone_Z2 = new QLabel(gBCone);
532 TLCone_Z2->setObjectName(QString::fromUtf8("TLCone_Z2"));
533 sizePolicy.setHeightForWidth(TLCone_Z2->sizePolicy().hasHeightForWidth());
534 TLCone_Z2->setSizePolicy(sizePolicy);
535 TLCone_Z2->setWordWrap(false);
537 gridLayout_3->addWidget(TLCone_Z2, 3, 2, 1, 1);
539 SpinBox_Cone_Z2 = new QDoubleSpinBox(gBCone);
540 SpinBox_Cone_Z2->setObjectName(QString::fromUtf8("SpinBox_Cone_Z2"));
541 SpinBox_Cone_Z2->setDecimals(5);
542 SpinBox_Cone_Z2->setMinimum(-999999999.000000000000000);
543 SpinBox_Cone_Z2->setMaximum(999999999.000000000000000);
544 SpinBox_Cone_Z2->setValue(0.000000000000000);
546 gridLayout_3->addWidget(SpinBox_Cone_Z2, 3, 3, 1, 1);
548 TLCone_V1 = new QLabel(gBCone);
549 TLCone_V1->setObjectName(QString::fromUtf8("TLCone_V1"));
550 sizePolicy.setHeightForWidth(TLCone_V1->sizePolicy().hasHeightForWidth());
551 TLCone_V1->setSizePolicy(sizePolicy);
552 TLCone_V1->setWordWrap(false);
554 gridLayout_3->addWidget(TLCone_V1, 4, 0, 1, 1);
556 SpinBox_Cone_V1 = new QDoubleSpinBox(gBCone);
557 SpinBox_Cone_V1->setObjectName(QString::fromUtf8("SpinBox_Cone_V1"));
558 SpinBox_Cone_V1->setDecimals(5);
559 SpinBox_Cone_V1->setMaximum(1000000000.000000000000000);
561 gridLayout_3->addWidget(SpinBox_Cone_V1, 4, 1, 1, 1);
563 TLCone_V2 = new QLabel(gBCone);
564 TLCone_V2->setObjectName(QString::fromUtf8("TLCone_V2"));
565 sizePolicy.setHeightForWidth(TLCone_V2->sizePolicy().hasHeightForWidth());
566 TLCone_V2->setSizePolicy(sizePolicy);
567 TLCone_V2->setWordWrap(false);
569 gridLayout_3->addWidget(TLCone_V2, 4, 2, 1, 1);
571 SpinBox_Cone_V2 = new QDoubleSpinBox(gBCone);
572 SpinBox_Cone_V2->setObjectName(QString::fromUtf8("SpinBox_Cone_V2"));
573 SpinBox_Cone_V2->setDecimals(5);
574 SpinBox_Cone_V2->setMaximum(1000000000.000000000000000);
576 gridLayout_3->addWidget(SpinBox_Cone_V2, 4, 3, 1, 1);
579 gridLayout_5->addWidget(gBCone, 4, 0, 1, 2);
581 gBTore = new QGroupBox(CreateBoundaryAn);
582 gBTore->setObjectName(QString::fromUtf8("gBTore"));
583 sizePolicy.setHeightForWidth(gBTore->sizePolicy().hasHeightForWidth());
584 gBTore->setSizePolicy(sizePolicy);
585 gridLayout_4 = new QGridLayout(gBTore);
586 gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
587 TLToreXcent = new QLabel(gBTore);
588 TLToreXcent->setObjectName(QString::fromUtf8("TLToreXcent"));
589 sizePolicy.setHeightForWidth(TLToreXcent->sizePolicy().hasHeightForWidth());
590 TLToreXcent->setSizePolicy(sizePolicy);
591 TLToreXcent->setWordWrap(false);
593 gridLayout_4->addWidget(TLToreXcent, 0, 0, 1, 1);
595 SpinBoxToreXcent = new QDoubleSpinBox(gBTore);
596 SpinBoxToreXcent->setObjectName(QString::fromUtf8("SpinBoxToreXcent"));
597 SpinBoxToreXcent->setDecimals(5);
598 SpinBoxToreXcent->setMinimum(-999999999.000000000000000);
599 SpinBoxToreXcent->setMaximum(999999999.000000000000000);
600 SpinBoxToreXcent->setValue(0.000000000000000);
602 gridLayout_4->addWidget(SpinBoxToreXcent, 0, 1, 1, 1);
604 TLToreXaxe = new QLabel(gBTore);
605 TLToreXaxe->setObjectName(QString::fromUtf8("TLToreXaxe"));
606 sizePolicy.setHeightForWidth(TLToreXaxe->sizePolicy().hasHeightForWidth());
607 TLToreXaxe->setSizePolicy(sizePolicy);
608 TLToreXaxe->setWordWrap(false);
610 gridLayout_4->addWidget(TLToreXaxe, 0, 2, 1, 1);
612 SpinBoxToreXaxe = new QDoubleSpinBox(gBTore);
613 SpinBoxToreXaxe->setObjectName(QString::fromUtf8("SpinBoxToreXaxe"));
614 SpinBoxToreXaxe->setDecimals(5);
615 SpinBoxToreXaxe->setMinimum(-999999999.000000000000000);
616 SpinBoxToreXaxe->setMaximum(999999999.000000000000000);
617 SpinBoxToreXaxe->setValue(0.000000000000000);
619 gridLayout_4->addWidget(SpinBoxToreXaxe, 0, 3, 1, 1);
621 TLToreYcent = new QLabel(gBTore);
622 TLToreYcent->setObjectName(QString::fromUtf8("TLToreYcent"));
623 sizePolicy.setHeightForWidth(TLToreYcent->sizePolicy().hasHeightForWidth());
624 TLToreYcent->setSizePolicy(sizePolicy);
625 TLToreYcent->setWordWrap(false);
627 gridLayout_4->addWidget(TLToreYcent, 1, 0, 1, 1);
629 SpinBoxToreYcent = new QDoubleSpinBox(gBTore);
630 SpinBoxToreYcent->setObjectName(QString::fromUtf8("SpinBoxToreYcent"));
631 SpinBoxToreYcent->setDecimals(5);
632 SpinBoxToreYcent->setMinimum(-999999999.000000000000000);
633 SpinBoxToreYcent->setMaximum(999999999.000000000000000);
634 SpinBoxToreYcent->setValue(0.000000000000000);
636 gridLayout_4->addWidget(SpinBoxToreYcent, 1, 1, 1, 1);
638 TLToreYaxe = new QLabel(gBTore);
639 TLToreYaxe->setObjectName(QString::fromUtf8("TLToreYaxe"));
640 sizePolicy.setHeightForWidth(TLToreYaxe->sizePolicy().hasHeightForWidth());
641 TLToreYaxe->setSizePolicy(sizePolicy);
642 TLToreYaxe->setWordWrap(false);
644 gridLayout_4->addWidget(TLToreYaxe, 1, 2, 1, 1);
646 SpinBoxToreYaxe = new QDoubleSpinBox(gBTore);
647 SpinBoxToreYaxe->setObjectName(QString::fromUtf8("SpinBoxToreYaxe"));
648 SpinBoxToreYaxe->setDecimals(5);
649 SpinBoxToreYaxe->setMinimum(-999999999.000000000000000);
650 SpinBoxToreYaxe->setMaximum(999999999.000000000000000);
651 SpinBoxToreYaxe->setValue(0.000000000000000);
653 gridLayout_4->addWidget(SpinBoxToreYaxe, 1, 3, 1, 1);
655 TLToreZcent = new QLabel(gBTore);
656 TLToreZcent->setObjectName(QString::fromUtf8("TLToreZcent"));
657 sizePolicy.setHeightForWidth(TLToreZcent->sizePolicy().hasHeightForWidth());
658 TLToreZcent->setSizePolicy(sizePolicy);
659 TLToreZcent->setWordWrap(false);
661 gridLayout_4->addWidget(TLToreZcent, 2, 0, 1, 1);
663 SpinBoxToreZcent = new QDoubleSpinBox(gBTore);
664 SpinBoxToreZcent->setObjectName(QString::fromUtf8("SpinBoxToreZcent"));
665 SpinBoxToreZcent->setDecimals(5);
666 SpinBoxToreZcent->setMinimum(-999999999.000000000000000);
667 SpinBoxToreZcent->setMaximum(999999999.000000000000000);
668 SpinBoxToreZcent->setValue(0.000000000000000);
670 gridLayout_4->addWidget(SpinBoxToreZcent, 2, 1, 1, 1);
672 TLToreZaxe = new QLabel(gBTore);
673 TLToreZaxe->setObjectName(QString::fromUtf8("TLToreZaxe"));
674 sizePolicy.setHeightForWidth(TLToreZaxe->sizePolicy().hasHeightForWidth());
675 TLToreZaxe->setSizePolicy(sizePolicy);
676 TLToreZaxe->setWordWrap(false);
678 gridLayout_4->addWidget(TLToreZaxe, 2, 2, 1, 1);
680 SpinBoxToreZaxe = new QDoubleSpinBox(gBTore);
681 SpinBoxToreZaxe->setObjectName(QString::fromUtf8("SpinBoxToreZaxe"));
682 SpinBoxToreZaxe->setDecimals(5);
683 SpinBoxToreZaxe->setMinimum(-999999999.000000000000000);
684 SpinBoxToreZaxe->setMaximum(999999999.000000000000000);
685 SpinBoxToreZaxe->setValue(0.000000000000000);
687 gridLayout_4->addWidget(SpinBoxToreZaxe, 2, 3, 1, 1);
689 TLToreRayRev = new QLabel(gBTore);
690 TLToreRayRev->setObjectName(QString::fromUtf8("TLToreRayRev"));
691 sizePolicy.setHeightForWidth(TLToreRayRev->sizePolicy().hasHeightForWidth());
692 TLToreRayRev->setSizePolicy(sizePolicy);
693 TLToreRayRev->setWordWrap(false);
695 gridLayout_4->addWidget(TLToreRayRev, 3, 0, 1, 1);
697 SpinBoxToreRRev = new QDoubleSpinBox(gBTore);
698 SpinBoxToreRRev->setObjectName(QString::fromUtf8("SpinBoxToreRRev"));
699 SpinBoxToreRRev->setDecimals(5);
700 SpinBoxToreRRev->setMaximum(1000000000.000000000000000);
702 gridLayout_4->addWidget(SpinBoxToreRRev, 3, 1, 1, 1);
704 TLToreRayPri = new QLabel(gBTore);
705 TLToreRayPri->setObjectName(QString::fromUtf8("TLToreRayPri"));
706 sizePolicy.setHeightForWidth(TLToreRayPri->sizePolicy().hasHeightForWidth());
707 TLToreRayPri->setSizePolicy(sizePolicy);
708 TLToreRayPri->setWordWrap(false);
710 gridLayout_4->addWidget(TLToreRayPri, 3, 2, 1, 1);
712 SpinBoxToreRPri = new QDoubleSpinBox(gBTore);
713 SpinBoxToreRPri->setObjectName(QString::fromUtf8("SpinBoxToreRPri"));
714 SpinBoxToreRPri->setDecimals(5);
715 SpinBoxToreRPri->setMaximum(1000000000.000000000000000);
717 gridLayout_4->addWidget(SpinBoxToreRPri, 3, 3, 1, 1);
720 gridLayout_5->addWidget(gBTore, 5, 0, 1, 2);
722 GBButtons = new QGroupBox(CreateBoundaryAn);
723 GBButtons->setObjectName(QString::fromUtf8("GBButtons"));
724 sizePolicy.setHeightForWidth(GBButtons->sizePolicy().hasHeightForWidth());
725 GBButtons->setSizePolicy(sizePolicy);
726 gridLayout3 = new QGridLayout(GBButtons);
728 gridLayout3->setSpacing(6);
731 gridLayout3->setContentsMargins(9, 9, 9, 9);
733 gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
734 buttonHelp = new QPushButton(GBButtons);
735 buttonHelp->setObjectName(QString::fromUtf8("buttonHelp"));
737 gridLayout3->addWidget(buttonHelp, 0, 3, 1, 1);
739 buttonCancel = new QPushButton(GBButtons);
740 buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
742 gridLayout3->addWidget(buttonCancel, 0, 2, 1, 1);
744 buttonApply = new QPushButton(GBButtons);
745 buttonApply->setObjectName(QString::fromUtf8("buttonApply"));
747 gridLayout3->addWidget(buttonApply, 0, 1, 1, 1);
749 buttonOk = new QPushButton(GBButtons);
750 buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
752 gridLayout3->addWidget(buttonOk, 0, 0, 1, 1);
755 gridLayout_5->addWidget(GBButtons, 6, 0, 1, 2);
758 retranslateUi(CreateBoundaryAn);
760 QMetaObject::connectSlotsByName(CreateBoundaryAn);
763 void retranslateUi(QDialog *CreateBoundaryAn)
765 CreateBoundaryAn->setWindowTitle(QApplication::translate("CreateBoundaryAn", "Create an analytical boundary", nullptr));
766 Name->setText(QApplication::translate("CreateBoundaryAn", "Name", nullptr));
767 TypeBoundary->setTitle(QApplication::translate("CreateBoundaryAn", "Type of boundary", nullptr));
768 RBCylindre->setText(QApplication::translate("CreateBoundaryAn", "Cylinder", nullptr));
769 RBSphere->setText(QApplication::translate("CreateBoundaryAn", "Sphere", nullptr));
770 RBCone->setText(QApplication::translate("CreateBoundaryAn", "Cone", nullptr));
771 RBTore->setText(QApplication::translate("CreateBoundaryAn", "Torus", nullptr));
772 gBCylindre->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", nullptr));
773 TLXcent->setText(QApplication::translate("CreateBoundaryAn", "X centre", nullptr));
774 TLradius->setText(QApplication::translate("CreateBoundaryAn", "Radius", nullptr));
775 TLZcent->setText(QApplication::translate("CreateBoundaryAn", "Z centre", nullptr));
776 TLYcent->setText(QApplication::translate("CreateBoundaryAn", "Y centre", nullptr));
777 TLXaxis->setText(QApplication::translate("CreateBoundaryAn", "X axis", nullptr));
778 TLYaxis->setText(QApplication::translate("CreateBoundaryAn", "Y axis", nullptr));
779 TLZaxis->setText(QApplication::translate("CreateBoundaryAn", "Z axis", nullptr));
780 gBSphere->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", nullptr));
781 TLRayon->setText(QApplication::translate("CreateBoundaryAn", "Radius", nullptr));
782 TLZcentre->setText(QApplication::translate("CreateBoundaryAn", "Z centre", nullptr));
783 TLYcentre->setText(QApplication::translate("CreateBoundaryAn", "Y centre", nullptr));
784 TLXcentre->setText(QApplication::translate("CreateBoundaryAn", "X centre", nullptr));
785 gBCone->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", nullptr));
786 groupBox->setTitle(QApplication::translate("CreateBoundaryAn", "Definition", nullptr));
787 RB_Def_radius->setText(QApplication::translate("CreateBoundaryAn", "Radius", nullptr));
788 RB_Def_angle->setText(QApplication::translate("CreateBoundaryAn", "Angle", nullptr));
789 TLCone_X1->setText(QApplication::translate("CreateBoundaryAn", "X 1", nullptr));
790 TLCone_X2->setText(QApplication::translate("CreateBoundaryAn", "X 2", nullptr));
791 TLCone_Y1->setText(QApplication::translate("CreateBoundaryAn", "Y 1", nullptr));
792 TLCone_Y2->setText(QApplication::translate("CreateBoundaryAn", "Y 2", nullptr));
793 TLCone_Z1->setText(QApplication::translate("CreateBoundaryAn", "Z 1", nullptr));
794 TLCone_Z2->setText(QApplication::translate("CreateBoundaryAn", "Z 2", nullptr));
795 TLCone_V1->setText(QApplication::translate("CreateBoundaryAn", "V 1", nullptr));
796 TLCone_V2->setText(QApplication::translate("CreateBoundaryAn", "V 2", nullptr));
797 gBTore->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", nullptr));
798 TLToreXcent->setText(QApplication::translate("CreateBoundaryAn", "X centre", nullptr));
799 TLToreXaxe->setText(QApplication::translate("CreateBoundaryAn", "X axis", nullptr));
800 TLToreYcent->setText(QApplication::translate("CreateBoundaryAn", "Y centre", nullptr));
801 TLToreYaxe->setText(QApplication::translate("CreateBoundaryAn", "Y axis", nullptr));
802 TLToreZcent->setText(QApplication::translate("CreateBoundaryAn", "Z centre", nullptr));
803 TLToreZaxe->setText(QApplication::translate("CreateBoundaryAn", "Z axis", nullptr));
804 TLToreRayRev->setText(QApplication::translate("CreateBoundaryAn", "R revolution", nullptr));
805 TLToreRayPri->setText(QApplication::translate("CreateBoundaryAn", "Primary R", nullptr));
806 GBButtons->setTitle(QString());
807 buttonHelp->setText(QApplication::translate("CreateBoundaryAn", "Help", nullptr));
808 buttonCancel->setText(QApplication::translate("CreateBoundaryAn", "Cancel", nullptr));
809 buttonApply->setText(QApplication::translate("CreateBoundaryAn", "Apply", nullptr));
810 buttonOk->setText(QApplication::translate("CreateBoundaryAn", "OK", nullptr));
814 class SMESH_Ui_CreateBoundaryCAO
817 QGridLayout *gridLayout;
818 QGroupBox *GBButtons;
819 QGridLayout *gridLayout1;
820 QPushButton *buttonHelp;
821 QPushButton *buttonCancel;
822 QPushButton *buttonApply;
823 QPushButton *buttonOk;
825 QLineEdit *LEFileName;
826 QPushButton *PushFichier;
831 void setupUi(QDialog *CreateBoundaryCAO)
833 if (CreateBoundaryCAO->objectName().isEmpty())
834 CreateBoundaryCAO->setObjectName(QString::fromUtf8("CreateBoundaryCAO"));
835 CreateBoundaryCAO->resize(566, 195);
836 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
837 sizePolicy.setHorizontalStretch(0);
838 sizePolicy.setVerticalStretch(0);
839 sizePolicy.setHeightForWidth(CreateBoundaryCAO->sizePolicy().hasHeightForWidth());
840 CreateBoundaryCAO->setSizePolicy(sizePolicy);
841 CreateBoundaryCAO->setAutoFillBackground(true);
842 CreateBoundaryCAO->setSizeGripEnabled(true);
843 gridLayout = new QGridLayout(CreateBoundaryCAO);
845 gridLayout->setSpacing(6);
848 gridLayout->setContentsMargins(9, 9, 9, 9);
850 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
851 GBButtons = new QGroupBox(CreateBoundaryCAO);
852 GBButtons->setObjectName(QString::fromUtf8("GBButtons"));
853 gridLayout1 = new QGridLayout(GBButtons);
855 gridLayout1->setSpacing(6);
858 gridLayout1->setContentsMargins(9, 9, 9, 9);
860 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
861 buttonHelp = new QPushButton(GBButtons);
862 buttonHelp->setObjectName(QString::fromUtf8("buttonHelp"));
864 gridLayout1->addWidget(buttonHelp, 0, 3, 1, 1);
866 buttonCancel = new QPushButton(GBButtons);
867 buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
869 gridLayout1->addWidget(buttonCancel, 0, 2, 1, 1);
871 buttonApply = new QPushButton(GBButtons);
872 buttonApply->setObjectName(QString::fromUtf8("buttonApply"));
874 gridLayout1->addWidget(buttonApply, 0, 1, 1, 1);
876 buttonOk = new QPushButton(GBButtons);
877 buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
879 gridLayout1->addWidget(buttonOk, 0, 0, 1, 1);
882 gridLayout->addWidget(GBButtons, 3, 0, 1, 3);
884 CBGroupe = new QCheckBox(CreateBoundaryCAO);
885 CBGroupe->setObjectName(QString::fromUtf8("CBGroupe"));
887 gridLayout->addWidget(CBGroupe, 2, 0, 1, 3);
889 LEFileName = new QLineEdit(CreateBoundaryCAO);
890 LEFileName->setObjectName(QString::fromUtf8("LEFileName"));
891 LEFileName->setMinimumSize(QSize(370, 21));
893 gridLayout->addWidget(LEFileName, 1, 2, 1, 1);
895 PushFichier = new QPushButton(CreateBoundaryCAO);
896 PushFichier->setObjectName(QString::fromUtf8("PushFichier"));
898 gridLayout->addWidget(PushFichier, 1, 1, 1, 1);
900 XAO = new QLabel(CreateBoundaryCAO);
901 XAO->setObjectName(QString::fromUtf8("XAO"));
903 gridLayout->addWidget(XAO, 1, 0, 1, 1);
905 LEName = new QLineEdit(CreateBoundaryCAO);
906 LEName->setObjectName(QString::fromUtf8("LEName"));
907 LEName->setMinimumSize(QSize(382, 21));
908 LEName->setMaxLength(32);
910 gridLayout->addWidget(LEName, 0, 1, 1, 2);
912 Name = new QLabel(CreateBoundaryCAO);
913 Name->setObjectName(QString::fromUtf8("Name"));
915 gridLayout->addWidget(Name, 0, 0, 1, 1);
918 retranslateUi(CreateBoundaryCAO);
920 QMetaObject::connectSlotsByName(CreateBoundaryCAO);
923 void retranslateUi(QDialog *CreateBoundaryCAO)
925 CreateBoundaryCAO->setWindowTitle(QApplication::translate("CreateBoundaryCAO", "Get CAO", nullptr));
926 GBButtons->setTitle(QString());
927 buttonHelp->setText(QApplication::translate("CreateBoundaryCAO", "Help", nullptr));
928 buttonCancel->setText(QApplication::translate("CreateBoundaryCAO", "Cancel", nullptr));
929 buttonApply->setText(QApplication::translate("CreateBoundaryCAO", "Apply", nullptr));
930 buttonOk->setText(QApplication::translate("CreateBoundaryCAO", "OK", nullptr));
931 CBGroupe->setText(QApplication::translate("CreateBoundaryCAO", "Filtering with groups", nullptr));
932 PushFichier->setText(QString());
933 XAO->setText(QApplication::translate("CreateBoundaryCAO", "XAO", nullptr));
934 Name->setText(QApplication::translate("CreateBoundaryCAO", "Name", nullptr));
938 class SMESH_Ui_CreateBoundaryDi
941 QGridLayout *gridLayout;
942 QGroupBox *GBButtons;
943 QGridLayout *gridLayout1;
944 QPushButton *buttonHelp;
945 QPushButton *buttonCancel;
946 QPushButton *buttonApply;
947 QPushButton *buttonOk;
949 QLineEdit *LEFileName;
950 QPushButton *PushFichier;
955 void setupUi(QDialog *CreateBoundaryDi)
957 if (CreateBoundaryDi->objectName().isEmpty())
958 CreateBoundaryDi->setObjectName(QString::fromUtf8("CreateBoundaryDi"));
959 CreateBoundaryDi->resize(566, 169);
960 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
961 sizePolicy.setHorizontalStretch(0);
962 sizePolicy.setVerticalStretch(0);
963 sizePolicy.setHeightForWidth(CreateBoundaryDi->sizePolicy().hasHeightForWidth());
964 CreateBoundaryDi->setSizePolicy(sizePolicy);
965 CreateBoundaryDi->setAutoFillBackground(true);
966 CreateBoundaryDi->setSizeGripEnabled(true);
967 gridLayout = new QGridLayout(CreateBoundaryDi);
969 gridLayout->setSpacing(6);
972 gridLayout->setContentsMargins(9, 9, 9, 9);
974 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
975 GBButtons = new QGroupBox(CreateBoundaryDi);
976 GBButtons->setObjectName(QString::fromUtf8("GBButtons"));
977 gridLayout1 = new QGridLayout(GBButtons);
979 gridLayout1->setSpacing(6);
982 gridLayout1->setContentsMargins(9, 9, 9, 9);
984 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
985 buttonHelp = new QPushButton(GBButtons);
986 buttonHelp->setObjectName(QString::fromUtf8("buttonHelp"));
988 gridLayout1->addWidget(buttonHelp, 0, 3, 1, 1);
990 buttonCancel = new QPushButton(GBButtons);
991 buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
993 gridLayout1->addWidget(buttonCancel, 0, 2, 1, 1);
995 buttonApply = new QPushButton(GBButtons);
996 buttonApply->setObjectName(QString::fromUtf8("buttonApply"));
998 gridLayout1->addWidget(buttonApply, 0, 1, 1, 1);
1000 buttonOk = new QPushButton(GBButtons);
1001 buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
1003 gridLayout1->addWidget(buttonOk, 0, 0, 1, 1);
1006 gridLayout->addWidget(GBButtons, 3, 0, 1, 3);
1008 CBGroupe = new QCheckBox(CreateBoundaryDi);
1009 CBGroupe->setObjectName(QString::fromUtf8("CBGroupe"));
1011 gridLayout->addWidget(CBGroupe, 2, 0, 1, 3);
1013 LEFileName = new QLineEdit(CreateBoundaryDi);
1014 LEFileName->setObjectName(QString::fromUtf8("LEFileName"));
1015 LEFileName->setMinimumSize(QSize(370, 21));
1017 gridLayout->addWidget(LEFileName, 1, 2, 1, 1);
1019 PushFichier = new QPushButton(CreateBoundaryDi);
1020 PushFichier->setObjectName(QString::fromUtf8("PushFichier"));
1022 gridLayout->addWidget(PushFichier, 1, 1, 1, 1);
1024 Mesh = new QLabel(CreateBoundaryDi);
1025 Mesh->setObjectName(QString::fromUtf8("Mesh"));
1027 gridLayout->addWidget(Mesh, 1, 0, 1, 1);
1029 LEName = new QLineEdit(CreateBoundaryDi);
1030 LEName->setObjectName(QString::fromUtf8("LEName"));
1031 LEName->setMinimumSize(QSize(382, 21));
1032 LEName->setMaxLength(32);
1034 gridLayout->addWidget(LEName, 0, 1, 1, 2);
1036 Name = new QLabel(CreateBoundaryDi);
1037 Name->setObjectName(QString::fromUtf8("Name"));
1039 gridLayout->addWidget(Name, 0, 0, 1, 1);
1042 retranslateUi(CreateBoundaryDi);
1044 QMetaObject::connectSlotsByName(CreateBoundaryDi);
1047 void retranslateUi(QDialog *CreateBoundaryDi)
1049 CreateBoundaryDi->setWindowTitle(QApplication::translate("CreateBoundaryDi", "Create a discrete boundary", nullptr));
1050 GBButtons->setTitle(QString());
1051 buttonHelp->setText(QApplication::translate("CreateBoundaryDi", "Help", nullptr));
1052 buttonCancel->setText(QApplication::translate("CreateBoundaryDi", "Cancel", nullptr));
1053 buttonApply->setText(QApplication::translate("CreateBoundaryDi", "Apply", nullptr));
1054 buttonOk->setText(QApplication::translate("CreateBoundaryDi", "OK", nullptr));
1055 CBGroupe->setText(QApplication::translate("CreateBoundaryDi", "Filtering with groups", nullptr));
1056 PushFichier->setText(QString());
1057 Mesh->setText(QApplication::translate("CreateBoundaryDi", "Mesh", nullptr));
1058 Name->setText(QApplication::translate("CreateBoundaryDi", "Name", nullptr));
1062 class SMESHGUI_EXPORT SMESH_CreateBoundaryAn : public QDialog, public SMESH_Ui_CreateBoundaryAn
1067 SMESH_CreateBoundaryAn (SMESHGUI_HomardAdaptDlg* parent, bool modal,
1068 SMESHHOMARD::HOMARD_Gen_var myHomardGen0,
1070 virtual ~SMESH_CreateBoundaryAn();
1073 SMESH_CreateBoundaryAn (SMESHGUI_HomardAdaptDlg* parent,
1074 SMESHHOMARD::HOMARD_Gen_var myHomardGen0,
1077 SMESHGUI_HomardAdaptDlg * _parent;
1082 double _BoundaryAnXcentre, _BoundaryAnYcentre, _BoundaryAnZcentre, _BoundaryAnRayon;
1083 double _BoundaryAnXaxis, _BoundaryAnYaxis, _BoundaryAnZaxis;
1084 double _Xcentre, _Ycentre, _Zcentre, _Rayon ;
1085 double _Xmin, _Xmax, _Xincr, _Ymin, _Ymax, _Yincr, _Zmin, _Zmax, _Zincr, _DMax ;
1086 double _BoundaryAnXcone1, _BoundaryAnYcone1, _BoundaryAnZcone1, _BoundaryAnRayon1;
1087 double _BoundaryAnXcone2, _BoundaryAnYcone2, _BoundaryAnZcone2, _BoundaryAnRayon2;
1088 double _BoundaryAnXaxisCone, _BoundaryAnYaxisCone, _BoundaryAnZaxisCone;
1089 double _BoundaryAnXorigCone, _BoundaryAnYorigCone, _BoundaryAnZorigCone;
1090 double _BoundaryAngle;
1091 double _BoundaryAnToreXcentre, _BoundaryAnToreYcentre, _BoundaryAnToreZcentre;
1092 double _BoundaryAnToreXaxe, _BoundaryAnToreYaxe, _BoundaryAnToreZaxe;
1093 double _BoundaryAnToreRRev, _BoundaryAnToreRPri;
1097 SMESHHOMARD::HOMARD_Boundary_var aBoundaryAn;
1098 SMESHHOMARD::HOMARD_Gen_var myHomardGen;
1100 virtual void InitConnect();
1101 virtual void InitValBoundaryAn();
1102 virtual void InitMinMax();
1103 virtual void SetNewName();
1104 virtual bool CreateOrUpdateBoundaryAn();
1105 virtual void convertRayonAngle(int option);
1108 virtual void SetCylinder();
1109 virtual void SetSphere();
1110 virtual void SetCone();
1111 virtual void SetConeR();
1112 virtual void SetConeA();
1113 virtual void SetTore();
1114 virtual void PushOnOK();
1115 virtual bool PushOnApply();
1116 virtual void PushOnHelp();
1119 class SMESHGUI_EXPORT SMESH_EditBoundaryAn : public SMESH_CreateBoundaryAn
1123 SMESH_EditBoundaryAn( SMESHGUI_HomardAdaptDlg* parent, bool modal,
1124 SMESHHOMARD::HOMARD_Gen_var myHomardGen0,
1125 QString caseName, QString Name);
1126 virtual ~SMESH_EditBoundaryAn();
1129 bool CreateOrUpdateBoundaryAn();
1131 void InitValBoundaryAnLimit();
1137 void InitValBoundaryAnCylindre();
1138 void InitValBoundaryAnSphere();
1139 void InitValBoundaryAnConeR();
1140 void InitValBoundaryAnConeA();
1141 void InitValBoundaryAnTore();
1144 class SMESHGUI_EXPORT SMESH_CreateBoundaryCAO : public QDialog, public SMESH_Ui_CreateBoundaryCAO
1149 SMESH_CreateBoundaryCAO( SMESHGUI_HomardAdaptDlg* parent, bool modal,
1150 SMESHHOMARD::HOMARD_Gen_var myHomardGen0,
1151 QString caseName, QString BoundaryName );
1152 ~SMESH_CreateBoundaryCAO();
1153 virtual void setGroups (QStringList listGroup);
1157 SMESHGUI_HomardAdaptDlg *_parent;
1161 SMESHHOMARD::HOMARD_Boundary_var aBoundary;
1162 SMESHHOMARD::HOMARD_Gen_var myHomardGen;
1164 QStringList _listeGroupesBoundary;
1166 virtual void AssocieLesGroupes();
1167 virtual void InitConnect();
1168 virtual void SetNewName();
1172 virtual void SetCAOFile();
1173 virtual void SetFiltrage();
1174 virtual void PushOnOK();
1175 virtual bool PushOnApply();
1176 virtual void PushOnHelp();
1179 class SMESHGUI_EXPORT SMESH_EditBoundaryCAO : public SMESH_CreateBoundaryCAO
1183 SMESH_EditBoundaryCAO( SMESHGUI_HomardAdaptDlg* parent, bool modal,
1184 SMESHHOMARD::HOMARD_Gen_var myHomardGen0,
1185 QString caseName, QString Name );
1186 virtual ~SMESH_EditBoundaryCAO();
1189 virtual void InitValEdit();
1190 virtual bool PushOnApply();
1191 virtual void SetFiltrage();
1194 class SMESHGUI_EXPORT SMESH_CreateBoundaryDi : public QDialog, public SMESH_Ui_CreateBoundaryDi
1199 SMESH_CreateBoundaryDi( SMESHGUI_HomardAdaptDlg* parent, bool modal,
1200 SMESHHOMARD::HOMARD_Gen_var myHomardGen0,
1201 QString caseName, QString BoundaryName );
1202 ~SMESH_CreateBoundaryDi();
1203 virtual void setGroups (QStringList listGroup);
1207 SMESHGUI_HomardAdaptDlg *_parent;
1211 SMESHHOMARD::HOMARD_Boundary_var aBoundary;
1212 SMESHHOMARD::HOMARD_Gen_var myHomardGen;
1214 QStringList _listeGroupesBoundary;
1216 virtual void AssocieLesGroupes();
1217 virtual void InitConnect();
1218 virtual void SetNewName();
1222 virtual void SetMeshFile();
1223 virtual void SetFiltrage();
1224 virtual void PushOnOK();
1225 virtual bool PushOnApply();
1226 virtual void PushOnHelp();
1229 class SMESHGUI_EXPORT SMESH_EditBoundaryDi : public SMESH_CreateBoundaryDi
1233 SMESH_EditBoundaryDi( SMESHGUI_HomardAdaptDlg* parent, bool modal,
1234 SMESHHOMARD::HOMARD_Gen_var myHomardGen0,
1235 QString caseName, QString Name );
1236 virtual ~SMESH_EditBoundaryDi();
1239 virtual void InitValEdit();
1240 virtual bool PushOnApply();
1241 virtual void SetFiltrage();
1244 #endif // MON_CREATEBOUNDARY_H