1 /********************************************************************************
2 ** Form generated from reading UI file 'CreateYACS.ui'
4 ** Created: Wed Jan 15 08:42:01 2014
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/QDoubleSpinBox>
18 #include <QtGui/QGridLayout>
19 #include <QtGui/QGroupBox>
20 #include <QtGui/QHBoxLayout>
21 #include <QtGui/QHeaderView>
22 #include <QtGui/QLabel>
23 #include <QtGui/QLineEdit>
24 #include <QtGui/QPushButton>
25 #include <QtGui/QRadioButton>
26 #include <QtGui/QScrollArea>
27 #include <QtGui/QSpacerItem>
28 #include <QtGui/QSpinBox>
29 #include <QtGui/QWidget>
36 QWidget *scrollAreaWidgetContents;
37 QGridLayout *gridLayout_5;
39 QGridLayout *gridLayout_2;
42 QSpacerItem *horizontalSpacer;
43 QGridLayout *gridLayout;
45 QPushButton *PBCaseName;
46 QLineEdit *LECaseName;
49 QPushButton *PBScriptFile;
50 QLineEdit *LEScriptFile;
51 QHBoxLayout *hboxLayout;
52 QLabel *DirectoryStart;
57 QPushButton *PBMeshFile;
58 QLineEdit *LEMeshFile;
59 QGroupBox *GBTypeSchema;
61 QRadioButton *RBConstant;
62 QRadioButton *RBVariable;
64 QGridLayout *gridLayout_3;
65 QLabel *TLMaxIteration;
66 QSpinBox *SpinBoxMaxIter;
68 QSpinBox *SpinBoxMaxNode;
70 QSpinBox *SpinBoxMaxElem;
71 QSpacerItem *horizontalSpacer_2;
72 QGroupBox *GBConvergence;
73 QGridLayout *gridLayout_4;
75 QRadioButton *RBVMinAbs;
76 QRadioButton *RBVMaxAbs;
78 QDoubleSpinBox *doubleSpinBoxConvergence;
79 QSpacerItem *horizontalSpacer_3;
80 QGroupBox *GroupButtons;
81 QGridLayout *gridLayout1;
82 QPushButton *buttonHelp;
83 QPushButton *buttonApply;
84 QPushButton *buttonOk;
85 QPushButton *buttonCancel;
86 QSpacerItem *spacer_2;
88 void setupUi(QScrollArea *CreateYACS)
90 if (CreateYACS->objectName().isEmpty())
91 CreateYACS->setObjectName(QString::fromUtf8("CreateYACS"));
92 CreateYACS->resize(684, 649);
93 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
94 sizePolicy.setHorizontalStretch(0);
95 sizePolicy.setVerticalStretch(0);
96 sizePolicy.setHeightForWidth(CreateYACS->sizePolicy().hasHeightForWidth());
97 CreateYACS->setSizePolicy(sizePolicy);
98 CreateYACS->setMinimumSize(QSize(600, 500));
99 CreateYACS->setSizeIncrement(QSize(1, 1));
100 CreateYACS->setBaseSize(QSize(600, 500));
101 CreateYACS->setWidgetResizable(true);
102 scrollAreaWidgetContents = new QWidget();
103 scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
104 scrollAreaWidgetContents->setGeometry(QRect(0, 0, 680, 645));
105 scrollAreaWidgetContents->setProperty("sizeGripEnabled", QVariant(true));
106 gridLayout_5 = new QGridLayout(scrollAreaWidgetContents);
107 gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5"));
108 WName = new QWidget(scrollAreaWidgetContents);
109 WName->setObjectName(QString::fromUtf8("WName"));
110 gridLayout_2 = new QGridLayout(WName);
111 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
112 Name = new QLabel(WName);
113 Name->setObjectName(QString::fromUtf8("Name"));
115 gridLayout_2->addWidget(Name, 0, 0, 1, 1);
117 LEName = new QLineEdit(WName);
118 LEName->setObjectName(QString::fromUtf8("LEName"));
119 LEName->setMaxLength(32);
121 gridLayout_2->addWidget(LEName, 0, 1, 1, 1);
124 gridLayout_5->addWidget(WName, 0, 0, 1, 1);
126 horizontalSpacer = new QSpacerItem(131, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
128 gridLayout_5->addItem(horizontalSpacer, 0, 1, 1, 1);
130 gridLayout = new QGridLayout();
131 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
132 Case = new QLabel(scrollAreaWidgetContents);
133 Case->setObjectName(QString::fromUtf8("Case"));
135 gridLayout->addWidget(Case, 0, 0, 1, 1);
137 PBCaseName = new QPushButton(scrollAreaWidgetContents);
138 PBCaseName->setObjectName(QString::fromUtf8("PBCaseName"));
139 PBCaseName->setEnabled(true);
140 PBCaseName->setMaximumSize(QSize(50, 27));
142 gridLayout->addWidget(PBCaseName, 0, 1, 1, 1);
144 LECaseName = new QLineEdit(scrollAreaWidgetContents);
145 LECaseName->setObjectName(QString::fromUtf8("LECaseName"));
146 LECaseName->setMinimumSize(QSize(382, 21));
148 gridLayout->addWidget(LECaseName, 0, 2, 1, 1);
151 gridLayout_5->addLayout(gridLayout, 1, 0, 1, 2);
153 _2 = new QHBoxLayout();
157 _2->setContentsMargins(0, 0, 0, 0);
158 _2->setObjectName(QString::fromUtf8("_2"));
159 Script = new QLabel(scrollAreaWidgetContents);
160 Script->setObjectName(QString::fromUtf8("Script"));
162 _2->addWidget(Script);
164 PBScriptFile = new QPushButton(scrollAreaWidgetContents);
165 PBScriptFile->setObjectName(QString::fromUtf8("PBScriptFile"));
166 PBScriptFile->setAutoDefault(false);
168 _2->addWidget(PBScriptFile);
170 LEScriptFile = new QLineEdit(scrollAreaWidgetContents);
171 LEScriptFile->setObjectName(QString::fromUtf8("LEScriptFile"));
172 LEScriptFile->setMinimumSize(QSize(382, 21));
174 _2->addWidget(LEScriptFile);
177 gridLayout_5->addLayout(_2, 2, 0, 1, 2);
179 hboxLayout = new QHBoxLayout();
181 hboxLayout->setSpacing(6);
183 hboxLayout->setContentsMargins(0, 0, 0, 0);
184 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
185 DirectoryStart = new QLabel(scrollAreaWidgetContents);
186 DirectoryStart->setObjectName(QString::fromUtf8("DirectoryStart"));
188 hboxLayout->addWidget(DirectoryStart);
190 PBDir = new QPushButton(scrollAreaWidgetContents);
191 PBDir->setObjectName(QString::fromUtf8("PBDir"));
192 PBDir->setAutoDefault(false);
194 hboxLayout->addWidget(PBDir);
196 LEDirName = new QLineEdit(scrollAreaWidgetContents);
197 LEDirName->setObjectName(QString::fromUtf8("LEDirName"));
198 LEDirName->setMinimumSize(QSize(382, 21));
200 hboxLayout->addWidget(LEDirName);
203 gridLayout_5->addLayout(hboxLayout, 3, 0, 1, 2);
205 _3 = new QHBoxLayout();
209 _3->setContentsMargins(0, 0, 0, 0);
210 _3->setObjectName(QString::fromUtf8("_3"));
211 MeshFile = new QLabel(scrollAreaWidgetContents);
212 MeshFile->setObjectName(QString::fromUtf8("MeshFile"));
214 _3->addWidget(MeshFile);
216 PBMeshFile = new QPushButton(scrollAreaWidgetContents);
217 PBMeshFile->setObjectName(QString::fromUtf8("PBMeshFile"));
218 PBMeshFile->setAutoDefault(false);
220 _3->addWidget(PBMeshFile);
222 LEMeshFile = new QLineEdit(scrollAreaWidgetContents);
223 LEMeshFile->setObjectName(QString::fromUtf8("LEMeshFile"));
224 LEMeshFile->setMinimumSize(QSize(382, 21));
226 _3->addWidget(LEMeshFile);
229 gridLayout_5->addLayout(_3, 4, 0, 1, 2);
231 GBTypeSchema = new QGroupBox(scrollAreaWidgetContents);
232 GBTypeSchema->setObjectName(QString::fromUtf8("GBTypeSchema"));
233 _4 = new QHBoxLayout(GBTypeSchema);
238 _4->setContentsMargins(9, 9, 9, 9);
240 _4->setObjectName(QString::fromUtf8("_4"));
241 RBConstant = new QRadioButton(GBTypeSchema);
242 RBConstant->setObjectName(QString::fromUtf8("RBConstant"));
243 RBConstant->setChecked(true);
245 _4->addWidget(RBConstant);
247 RBVariable = new QRadioButton(GBTypeSchema);
248 RBVariable->setObjectName(QString::fromUtf8("RBVariable"));
250 _4->addWidget(RBVariable);
253 gridLayout_5->addWidget(GBTypeSchema, 5, 0, 1, 1);
255 GBMax = new QGroupBox(scrollAreaWidgetContents);
256 GBMax->setObjectName(QString::fromUtf8("GBMax"));
257 gridLayout_3 = new QGridLayout(GBMax);
258 gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
259 TLMaxIteration = new QLabel(GBMax);
260 TLMaxIteration->setObjectName(QString::fromUtf8("TLMaxIteration"));
261 QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
262 sizePolicy1.setHorizontalStretch(0);
263 sizePolicy1.setVerticalStretch(0);
264 sizePolicy1.setHeightForWidth(TLMaxIteration->sizePolicy().hasHeightForWidth());
265 TLMaxIteration->setSizePolicy(sizePolicy1);
266 TLMaxIteration->setWordWrap(false);
268 gridLayout_3->addWidget(TLMaxIteration, 0, 0, 1, 1);
270 SpinBoxMaxIter = new QSpinBox(GBMax);
271 SpinBoxMaxIter->setObjectName(QString::fromUtf8("SpinBoxMaxIter"));
272 SpinBoxMaxIter->setMinimum(0);
273 SpinBoxMaxIter->setMaximum(999999999);
274 SpinBoxMaxIter->setValue(0);
276 gridLayout_3->addWidget(SpinBoxMaxIter, 0, 1, 1, 1);
278 TLMaxNodes = new QLabel(GBMax);
279 TLMaxNodes->setObjectName(QString::fromUtf8("TLMaxNodes"));
280 sizePolicy1.setHeightForWidth(TLMaxNodes->sizePolicy().hasHeightForWidth());
281 TLMaxNodes->setSizePolicy(sizePolicy1);
282 TLMaxNodes->setWordWrap(false);
284 gridLayout_3->addWidget(TLMaxNodes, 1, 0, 1, 1);
286 SpinBoxMaxNode = new QSpinBox(GBMax);
287 SpinBoxMaxNode->setObjectName(QString::fromUtf8("SpinBoxMaxNode"));
288 SpinBoxMaxNode->setMinimum(0);
289 SpinBoxMaxNode->setMaximum(999999999);
290 SpinBoxMaxNode->setValue(0);
292 gridLayout_3->addWidget(SpinBoxMaxNode, 1, 1, 1, 1);
294 TLMaxElem = new QLabel(GBMax);
295 TLMaxElem->setObjectName(QString::fromUtf8("TLMaxElem"));
296 sizePolicy1.setHeightForWidth(TLMaxElem->sizePolicy().hasHeightForWidth());
297 TLMaxElem->setSizePolicy(sizePolicy1);
298 TLMaxElem->setWordWrap(false);
300 gridLayout_3->addWidget(TLMaxElem, 1, 2, 1, 1);
302 SpinBoxMaxElem = new QSpinBox(GBMax);
303 SpinBoxMaxElem->setObjectName(QString::fromUtf8("SpinBoxMaxElem"));
304 SpinBoxMaxElem->setMinimum(0);
305 SpinBoxMaxElem->setMaximum(999999999);
306 SpinBoxMaxElem->setValue(0);
308 gridLayout_3->addWidget(SpinBoxMaxElem, 1, 3, 1, 1);
311 gridLayout_5->addWidget(GBMax, 6, 0, 1, 1);
313 horizontalSpacer_2 = new QSpacerItem(269, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
315 gridLayout_5->addItem(horizontalSpacer_2, 6, 1, 1, 1);
317 GBConvergence = new QGroupBox(scrollAreaWidgetContents);
318 GBConvergence->setObjectName(QString::fromUtf8("GBConvergence"));
319 gridLayout_4 = new QGridLayout(GBConvergence);
320 gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
321 RBNone = new QRadioButton(GBConvergence);
322 RBNone->setObjectName(QString::fromUtf8("RBNone"));
323 RBNone->setChecked(true);
325 gridLayout_4->addWidget(RBNone, 0, 0, 1, 1);
327 RBVMinAbs = new QRadioButton(GBConvergence);
328 RBVMinAbs->setObjectName(QString::fromUtf8("RBVMinAbs"));
330 gridLayout_4->addWidget(RBVMinAbs, 0, 1, 1, 1);
332 RBVMaxAbs = new QRadioButton(GBConvergence);
333 RBVMaxAbs->setObjectName(QString::fromUtf8("RBVMaxAbs"));
335 gridLayout_4->addWidget(RBVMaxAbs, 0, 2, 1, 1);
337 labelVref = new QLabel(GBConvergence);
338 labelVref->setObjectName(QString::fromUtf8("labelVref"));
340 gridLayout_4->addWidget(labelVref, 1, 0, 1, 1);
342 doubleSpinBoxConvergence = new QDoubleSpinBox(GBConvergence);
343 doubleSpinBoxConvergence->setObjectName(QString::fromUtf8("doubleSpinBoxConvergence"));
344 doubleSpinBoxConvergence->setDecimals(4);
345 doubleSpinBoxConvergence->setMinimum(-1e+09);
346 doubleSpinBoxConvergence->setMaximum(1e+09);
348 gridLayout_4->addWidget(doubleSpinBoxConvergence, 1, 1, 1, 1);
351 gridLayout_5->addWidget(GBConvergence, 7, 0, 1, 1);
353 horizontalSpacer_3 = new QSpacerItem(269, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
355 gridLayout_5->addItem(horizontalSpacer_3, 7, 1, 1, 1);
357 GroupButtons = new QGroupBox(scrollAreaWidgetContents);
358 GroupButtons->setObjectName(QString::fromUtf8("GroupButtons"));
359 gridLayout1 = new QGridLayout(GroupButtons);
361 gridLayout1->setSpacing(6);
364 gridLayout1->setContentsMargins(9, 9, 9, 9);
366 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
367 buttonHelp = new QPushButton(GroupButtons);
368 buttonHelp->setObjectName(QString::fromUtf8("buttonHelp"));
369 buttonHelp->setAutoDefault(false);
371 gridLayout1->addWidget(buttonHelp, 0, 4, 1, 1);
373 buttonApply = new QPushButton(GroupButtons);
374 buttonApply->setObjectName(QString::fromUtf8("buttonApply"));
375 buttonApply->setAutoDefault(false);
377 gridLayout1->addWidget(buttonApply, 0, 1, 1, 1);
379 buttonOk = new QPushButton(GroupButtons);
380 buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
381 buttonOk->setAutoDefault(false);
383 gridLayout1->addWidget(buttonOk, 0, 0, 1, 1);
385 buttonCancel = new QPushButton(GroupButtons);
386 buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
387 buttonCancel->setAutoDefault(false);
389 gridLayout1->addWidget(buttonCancel, 0, 2, 1, 1);
392 gridLayout_5->addWidget(GroupButtons, 8, 0, 1, 1);
394 spacer_2 = new QSpacerItem(128, 25, QSizePolicy::Fixed, QSizePolicy::Minimum);
396 gridLayout_5->addItem(spacer_2, 8, 1, 1, 1);
398 CreateYACS->setWidget(scrollAreaWidgetContents);
400 retranslateUi(CreateYACS);
402 QMetaObject::connectSlotsByName(CreateYACS);
405 void retranslateUi(QScrollArea *CreateYACS)
407 CreateYACS->setWindowTitle(QApplication::translate("CreateYACS", "Create YACS", 0, QApplication::UnicodeUTF8));
408 Name->setText(QApplication::translate("CreateYACS", "Name", 0, QApplication::UnicodeUTF8));
409 Case->setText(QApplication::translate("CreateYACS", "Case", 0, QApplication::UnicodeUTF8));
410 PBCaseName->setText(QString());
411 Script->setText(QApplication::translate("CreateYACS", "Script", 0, QApplication::UnicodeUTF8));
412 PBScriptFile->setText(QString());
413 DirectoryStart->setText(QApplication::translate("CreateYACS", "Directory", 0, QApplication::UnicodeUTF8));
414 PBDir->setText(QString());
415 MeshFile->setText(QApplication::translate("CreateYACS", "Mesh file", 0, QApplication::UnicodeUTF8));
416 PBMeshFile->setText(QString());
417 GBTypeSchema->setTitle(QApplication::translate("CreateYACS", "Type of schema", 0, QApplication::UnicodeUTF8));
418 RBConstant->setText(QApplication::translate("CreateYACS", "Constant", 0, QApplication::UnicodeUTF8));
419 RBVariable->setText(QApplication::translate("CreateYACS", "Variable", 0, QApplication::UnicodeUTF8));
420 GBMax->setTitle(QApplication::translate("CreateYACS", "Maximum of ...", 0, QApplication::UnicodeUTF8));
421 TLMaxIteration->setText(QApplication::translate("CreateYACS", "Iterations", 0, QApplication::UnicodeUTF8));
422 TLMaxNodes->setText(QApplication::translate("CreateYACS", "Nodes", 0, QApplication::UnicodeUTF8));
423 TLMaxElem->setText(QApplication::translate("CreateYACS", "Elements", 0, QApplication::UnicodeUTF8));
424 GBConvergence->setTitle(QApplication::translate("CreateYACS", "Test of convergence", 0, QApplication::UnicodeUTF8));
425 RBNone->setText(QApplication::translate("CreateYACS", "None", 0, QApplication::UnicodeUTF8));
426 RBVMinAbs->setText(QApplication::translate("CreateYACS", "Vtest > Vref", 0, QApplication::UnicodeUTF8));
427 RBVMaxAbs->setText(QApplication::translate("CreateYACS", "Vtest < Vref", 0, QApplication::UnicodeUTF8));
428 labelVref->setText(QApplication::translate("CreateYACS", "Vref", 0, QApplication::UnicodeUTF8));
429 GroupButtons->setTitle(QString());
430 buttonHelp->setText(QApplication::translate("CreateYACS", "Help", 0, QApplication::UnicodeUTF8));
431 buttonApply->setText(QApplication::translate("CreateYACS", "Apply", 0, QApplication::UnicodeUTF8));
432 buttonOk->setText(QApplication::translate("CreateYACS", "OK", 0, QApplication::UnicodeUTF8));
433 buttonCancel->setText(QApplication::translate("CreateYACS", "Cancel", 0, QApplication::UnicodeUTF8));
439 class CreateYACS: public Ui_CreateYACS {};
444 #endif // CREATEYACS_H