From: vsr Date: Wed, 20 Jan 2016 11:48:59 +0000 (+0300) Subject: Avoid static inclusion of files generated by UIC into the project X-Git-Tag: V8_0_0b1^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=862dfd0f7d3459e33dc75ff5a5cef9fe3cb60b02;p=modules%2Fhomard.git Avoid static inclusion of files generated by UIC into the project --- diff --git a/src/HOMARDGUI/CMakeLists.txt b/src/HOMARDGUI/CMakeLists.txt index 5b4a54ff..7fc25dd3 100644 --- a/src/HOMARDGUI/CMakeLists.txt +++ b/src/HOMARDGUI/CMakeLists.txt @@ -21,6 +21,7 @@ INCLUDE(UseQt4Ext) INCLUDE(UsePyQt4) # --- options --- + # additional include directories INCLUDE_DIRECTORIES( ${QT_INCLUDES} @@ -33,6 +34,7 @@ INCLUDE_DIRECTORIES( ${KERNEL_INCLUDE_DIRS} ${GUI_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} ${PROJECT_BINARY_DIR} ${PROJECT_BINARY_DIR}/idl ${PROJECT_BINARY_DIR}/adm_local/unix @@ -58,6 +60,31 @@ SET(_link_LIBRARIES HOMARDEngine ) +# --- resources --- + +# resource files / to be processed by lrelease +SET(_ts_RESOURCES + HOMARD_msg_en.ts + HOMARD_msg_fr.ts + HOMARD_msg_ja.ts +) + +# resource files / to be processed by uic +SET(_uic_FILES + CreateBoundaryAn.ui + CreateBoundaryDi.ui + CreateCase.ui + CreateHypothesis.ui + CreateIteration.ui + CreateListGroup.ui + CreateYACS.ui + CreateZone.ui + EditFile.ui + IterInfo.ui + MeshInfo.ui + PursueIteration.ui +) + # --- headers --- # header files / to be processed by moc @@ -85,27 +112,18 @@ SET(_moc_HEADERS MonEditFile.h ) -# header files / no moc processing +# header files / uic wrappings +QT4_WRAP_UI(_uic_HEADERS ${_uic_FILES}) + +# header files / static SET(_other_HEADERS - CreateBoundaryAn.h - CreateBoundaryDi.h - CreateCase.h - CreateZone.h - CreateHypothesis.h - CreateListGroup.h - CreateIteration.h - PursueIteration.h - MeshInfo.h - IterInfo.h - CreateYACS.h HOMARDGUI_Utils.h - EditFile.h HomardQtCommun.h HOMARDGUI_Exports.hxx ) # header files / to install -SET(HOMARD_HEADERS ${_other_HEADERS} ${_moc_HEADERS}) +SET(HOMARD_HEADERS ${_other_HEADERS} ${_moc_HEADERS} ${_uic_HEADERS}) # --- sources --- @@ -140,36 +158,7 @@ SET(_other_SOURCES ) # sources / to compile -SET(HOMARD_SOURCES ${_other_SOURCES} ${_moc_SOURCES}) - -# --- resources --- - -# resource files / to be processed by lrelease -SET(_ts_RESOURCES - HOMARD_msg_en.ts - HOMARD_msg_fr.ts - HOMARD_msg_ja.ts -) - -# no install files -# uic files / to be processed by pyuic -SET(_pyuic_files - CreateBoundaryAn.ui - CreateBoundaryDi.ui - CreateCase.ui - CreateHypothesis.ui - CreateIteration.ui - CreateListGroup.ui - CreateZone.ui - PursueIteration.ui - MeshInfo.ui - IterInfo.ui - CreateYACS.ui - EditFile.ui -) - -# scripts / pyuic wrappings -PYQT4_WRAP_UIC(_pyuic_SCRIPTS ${_pyuic_files}) +SET(HOMARD_SOURCES ${_other_SOURCES} ${_moc_SOURCES} ${_uic_HEADERS}) # --- rules --- diff --git a/src/HOMARDGUI/CreateBoundaryAn.h b/src/HOMARDGUI/CreateBoundaryAn.h deleted file mode 100644 index 60cc12b7..00000000 --- a/src/HOMARDGUI/CreateBoundaryAn.h +++ /dev/null @@ -1,803 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'CreateBoundaryAn.ui' -** -** Created: Wed Jan 15 11:19:06 2014 -** by: Qt User Interface Compiler version 4.6.3 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef CREATEBOUNDARYAN_H -#define CREATEBOUNDARYAN_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_CreateBoundaryAn -{ -public: - QGridLayout *gridLayout_5; - QLabel *Name; - QLineEdit *LEName; - QGroupBox *TypeBoundary; - QGridLayout *gridLayout; - QRadioButton *RBCylindre; - QRadioButton *RBSphere; - QRadioButton *RBCone; - QRadioButton *RBTore; - QGroupBox *gBCylindre; - QGridLayout *gridLayout1; - QDoubleSpinBox *SpinBox_Xcent; - QLabel *TLXcent; - QDoubleSpinBox *SpinBox_Radius; - QDoubleSpinBox *SpinBox_Zcent; - QLabel *TLradius; - QLabel *TLZcent; - QLabel *TLYcent; - QDoubleSpinBox *SpinBox_Ycent; - QLabel *TLXaxis; - QLabel *TLYaxis; - QLabel *TLZaxis; - QDoubleSpinBox *SpinBox_Zaxis; - QDoubleSpinBox *SpinBox_Yaxis; - QDoubleSpinBox *SpinBox_Xaxis; - QGroupBox *gBSphere; - QGridLayout *gridLayout2; - QDoubleSpinBox *SpinBox_Rayon; - QDoubleSpinBox *SpinBox_Zcentre; - QLabel *TLRayon; - QLabel *TLZcentre; - QLabel *TLYcentre; - QDoubleSpinBox *SpinBox_Ycentre; - QDoubleSpinBox *SpinBox_Xcentre; - QLabel *TLXcentre; - QGroupBox *gBCone; - QGridLayout *gridLayout_3; - QGroupBox *groupBox; - QGridLayout *gridLayout_2; - QRadioButton *RB_Def_radius; - QRadioButton *RB_Def_angle; - QLabel *TLCone_X1; - QDoubleSpinBox *SpinBox_Cone_X1; - QLabel *TLCone_X2; - QDoubleSpinBox *SpinBox_Cone_X2; - QLabel *TLCone_Y1; - QDoubleSpinBox *SpinBox_Cone_Y1; - QLabel *TLCone_Y2; - QDoubleSpinBox *SpinBox_Cone_Y2; - QLabel *TLCone_Z1; - QDoubleSpinBox *SpinBox_Cone_Z1; - QLabel *TLCone_Z2; - QDoubleSpinBox *SpinBox_Cone_Z2; - QLabel *TLCone_V1; - QDoubleSpinBox *SpinBox_Cone_V1; - QLabel *TLCone_V2; - QDoubleSpinBox *SpinBox_Cone_V2; - QGroupBox *gBTore; - QGridLayout *gridLayout_4; - QLabel *TLToreXcent; - QDoubleSpinBox *SpinBoxToreXcent; - QLabel *TLToreXaxe; - QDoubleSpinBox *SpinBoxToreXaxe; - QLabel *TLToreYcent; - QDoubleSpinBox *SpinBoxToreYcent; - QLabel *TLToreYaxe; - QDoubleSpinBox *SpinBoxToreYaxe; - QLabel *TLToreZcent; - QDoubleSpinBox *SpinBoxToreZcent; - QLabel *TLToreZaxe; - QDoubleSpinBox *SpinBoxToreZaxe; - QLabel *TLToreRayRev; - QDoubleSpinBox *SpinBoxToreRRev; - QLabel *TLToreRayPri; - QDoubleSpinBox *SpinBoxToreRPri; - QGroupBox *GBButtons; - QGridLayout *gridLayout3; - QPushButton *buttonHelp; - QPushButton *buttonCancel; - QPushButton *buttonApply; - QPushButton *buttonOk; - - void setupUi(QDialog *CreateBoundaryAn) - { - if (CreateBoundaryAn->objectName().isEmpty()) - CreateBoundaryAn->setObjectName(QString::fromUtf8("CreateBoundaryAn")); - CreateBoundaryAn->resize(522, 835); - CreateBoundaryAn->setAutoFillBackground(true); - CreateBoundaryAn->setSizeGripEnabled(true); - gridLayout_5 = new QGridLayout(CreateBoundaryAn); - gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5")); - Name = new QLabel(CreateBoundaryAn); - Name->setObjectName(QString::fromUtf8("Name")); - - gridLayout_5->addWidget(Name, 0, 0, 1, 1); - - LEName = new QLineEdit(CreateBoundaryAn); - LEName->setObjectName(QString::fromUtf8("LEName")); - LEName->setMaxLength(32); - - gridLayout_5->addWidget(LEName, 0, 1, 1, 1); - - TypeBoundary = new QGroupBox(CreateBoundaryAn); - TypeBoundary->setObjectName(QString::fromUtf8("TypeBoundary")); - QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(TypeBoundary->sizePolicy().hasHeightForWidth()); - TypeBoundary->setSizePolicy(sizePolicy); - TypeBoundary->setMinimumSize(QSize(340, 0)); - gridLayout = new QGridLayout(TypeBoundary); - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - RBCylindre = new QRadioButton(TypeBoundary); - RBCylindre->setObjectName(QString::fromUtf8("RBCylindre")); - QIcon icon; - icon.addFile(QString::fromUtf8("../../resources/cylinderpointvector.png"), QSize(), QIcon::Normal, QIcon::Off); - RBCylindre->setIcon(icon); - RBCylindre->setCheckable(true); - RBCylindre->setChecked(true); - - gridLayout->addWidget(RBCylindre, 0, 0, 1, 1); - - RBSphere = new QRadioButton(TypeBoundary); - RBSphere->setObjectName(QString::fromUtf8("RBSphere")); - QIcon icon1; - icon1.addFile(QString::fromUtf8("../../resources/zone_spherepoint.png"), QSize(), QIcon::Normal, QIcon::Off); - RBSphere->setIcon(icon1); - - gridLayout->addWidget(RBSphere, 0, 1, 1, 1); - - RBCone = new QRadioButton(TypeBoundary); - RBCone->setObjectName(QString::fromUtf8("RBCone")); - QIcon icon2; - icon2.addFile(QString::fromUtf8("../../resources/cone.png"), QSize(), QIcon::Normal, QIcon::Off); - RBCone->setIcon(icon2); - - gridLayout->addWidget(RBCone, 0, 2, 1, 1); - - RBTore = new QRadioButton(TypeBoundary); - RBTore->setObjectName(QString::fromUtf8("RBTore")); - QIcon icon3; - icon3.addFile(QString::fromUtf8("../../resources/toruspointvector.png"), QSize(), QIcon::Normal, QIcon::Off); - RBTore->setIcon(icon3); - RBTore->setCheckable(true); - RBTore->setChecked(false); - - gridLayout->addWidget(RBTore, 0, 3, 1, 1); - - - gridLayout_5->addWidget(TypeBoundary, 1, 0, 1, 2); - - gBCylindre = new QGroupBox(CreateBoundaryAn); - gBCylindre->setObjectName(QString::fromUtf8("gBCylindre")); - sizePolicy.setHeightForWidth(gBCylindre->sizePolicy().hasHeightForWidth()); - gBCylindre->setSizePolicy(sizePolicy); - gridLayout1 = new QGridLayout(gBCylindre); -#ifndef Q_OS_MAC - gridLayout1->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout1->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); - SpinBox_Xcent = new QDoubleSpinBox(gBCylindre); - SpinBox_Xcent->setObjectName(QString::fromUtf8("SpinBox_Xcent")); - SpinBox_Xcent->setDecimals(5); - SpinBox_Xcent->setMinimum(-1e+09); - SpinBox_Xcent->setMaximum(1e+09); - SpinBox_Xcent->setValue(0); - - gridLayout1->addWidget(SpinBox_Xcent, 0, 1, 1, 1); - - TLXcent = new QLabel(gBCylindre); - TLXcent->setObjectName(QString::fromUtf8("TLXcent")); - sizePolicy.setHeightForWidth(TLXcent->sizePolicy().hasHeightForWidth()); - TLXcent->setSizePolicy(sizePolicy); - TLXcent->setWordWrap(false); - - gridLayout1->addWidget(TLXcent, 0, 0, 1, 1); - - SpinBox_Radius = new QDoubleSpinBox(gBCylindre); - SpinBox_Radius->setObjectName(QString::fromUtf8("SpinBox_Radius")); - SpinBox_Radius->setDecimals(5); - SpinBox_Radius->setMaximum(1e+09); - - gridLayout1->addWidget(SpinBox_Radius, 3, 1, 1, 2); - - SpinBox_Zcent = new QDoubleSpinBox(gBCylindre); - SpinBox_Zcent->setObjectName(QString::fromUtf8("SpinBox_Zcent")); - SpinBox_Zcent->setDecimals(5); - SpinBox_Zcent->setMinimum(-1e+09); - SpinBox_Zcent->setMaximum(1e+09); - SpinBox_Zcent->setValue(0); - - gridLayout1->addWidget(SpinBox_Zcent, 2, 1, 1, 1); - - TLradius = new QLabel(gBCylindre); - TLradius->setObjectName(QString::fromUtf8("TLradius")); - sizePolicy.setHeightForWidth(TLradius->sizePolicy().hasHeightForWidth()); - TLradius->setSizePolicy(sizePolicy); - TLradius->setWordWrap(false); - - gridLayout1->addWidget(TLradius, 3, 0, 1, 1); - - TLZcent = new QLabel(gBCylindre); - TLZcent->setObjectName(QString::fromUtf8("TLZcent")); - sizePolicy.setHeightForWidth(TLZcent->sizePolicy().hasHeightForWidth()); - TLZcent->setSizePolicy(sizePolicy); - TLZcent->setWordWrap(false); - - gridLayout1->addWidget(TLZcent, 2, 0, 1, 1); - - TLYcent = new QLabel(gBCylindre); - TLYcent->setObjectName(QString::fromUtf8("TLYcent")); - sizePolicy.setHeightForWidth(TLYcent->sizePolicy().hasHeightForWidth()); - TLYcent->setSizePolicy(sizePolicy); - TLYcent->setWordWrap(false); - - gridLayout1->addWidget(TLYcent, 1, 0, 1, 1); - - SpinBox_Ycent = new QDoubleSpinBox(gBCylindre); - SpinBox_Ycent->setObjectName(QString::fromUtf8("SpinBox_Ycent")); - SpinBox_Ycent->setDecimals(5); - SpinBox_Ycent->setMinimum(-1e+09); - SpinBox_Ycent->setMaximum(1e+09); - SpinBox_Ycent->setValue(0); - - gridLayout1->addWidget(SpinBox_Ycent, 1, 1, 1, 1); - - TLXaxis = new QLabel(gBCylindre); - TLXaxis->setObjectName(QString::fromUtf8("TLXaxis")); - sizePolicy.setHeightForWidth(TLXaxis->sizePolicy().hasHeightForWidth()); - TLXaxis->setSizePolicy(sizePolicy); - TLXaxis->setWordWrap(false); - - gridLayout1->addWidget(TLXaxis, 0, 2, 1, 1); - - TLYaxis = new QLabel(gBCylindre); - TLYaxis->setObjectName(QString::fromUtf8("TLYaxis")); - sizePolicy.setHeightForWidth(TLYaxis->sizePolicy().hasHeightForWidth()); - TLYaxis->setSizePolicy(sizePolicy); - TLYaxis->setWordWrap(false); - - gridLayout1->addWidget(TLYaxis, 1, 2, 1, 1); - - TLZaxis = new QLabel(gBCylindre); - TLZaxis->setObjectName(QString::fromUtf8("TLZaxis")); - sizePolicy.setHeightForWidth(TLZaxis->sizePolicy().hasHeightForWidth()); - TLZaxis->setSizePolicy(sizePolicy); - TLZaxis->setWordWrap(false); - - gridLayout1->addWidget(TLZaxis, 2, 2, 1, 1); - - SpinBox_Zaxis = new QDoubleSpinBox(gBCylindre); - SpinBox_Zaxis->setObjectName(QString::fromUtf8("SpinBox_Zaxis")); - SpinBox_Zaxis->setDecimals(5); - SpinBox_Zaxis->setMinimum(-1e+09); - SpinBox_Zaxis->setMaximum(1e+09); - SpinBox_Zaxis->setValue(0); - - gridLayout1->addWidget(SpinBox_Zaxis, 2, 3, 1, 1); - - SpinBox_Yaxis = new QDoubleSpinBox(gBCylindre); - SpinBox_Yaxis->setObjectName(QString::fromUtf8("SpinBox_Yaxis")); - SpinBox_Yaxis->setDecimals(5); - SpinBox_Yaxis->setMinimum(-1e+09); - SpinBox_Yaxis->setMaximum(1e+09); - SpinBox_Yaxis->setValue(0); - - gridLayout1->addWidget(SpinBox_Yaxis, 1, 3, 1, 1); - - SpinBox_Xaxis = new QDoubleSpinBox(gBCylindre); - SpinBox_Xaxis->setObjectName(QString::fromUtf8("SpinBox_Xaxis")); - SpinBox_Xaxis->setDecimals(5); - SpinBox_Xaxis->setMinimum(-1e+09); - SpinBox_Xaxis->setMaximum(1e+09); - SpinBox_Xaxis->setValue(0); - - gridLayout1->addWidget(SpinBox_Xaxis, 0, 3, 1, 1); - - - gridLayout_5->addWidget(gBCylindre, 2, 0, 1, 2); - - gBSphere = new QGroupBox(CreateBoundaryAn); - gBSphere->setObjectName(QString::fromUtf8("gBSphere")); - sizePolicy.setHeightForWidth(gBSphere->sizePolicy().hasHeightForWidth()); - gBSphere->setSizePolicy(sizePolicy); - gridLayout2 = new QGridLayout(gBSphere); -#ifndef Q_OS_MAC - gridLayout2->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout2->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); - SpinBox_Rayon = new QDoubleSpinBox(gBSphere); - SpinBox_Rayon->setObjectName(QString::fromUtf8("SpinBox_Rayon")); - SpinBox_Rayon->setDecimals(5); - SpinBox_Rayon->setMinimum(0); - SpinBox_Rayon->setMaximum(1e+09); - SpinBox_Rayon->setValue(0); - - gridLayout2->addWidget(SpinBox_Rayon, 1, 3, 1, 1); - - SpinBox_Zcentre = new QDoubleSpinBox(gBSphere); - SpinBox_Zcentre->setObjectName(QString::fromUtf8("SpinBox_Zcentre")); - SpinBox_Zcentre->setDecimals(5); - SpinBox_Zcentre->setMinimum(-1e+09); - SpinBox_Zcentre->setMaximum(1e+09); - SpinBox_Zcentre->setValue(0); - - gridLayout2->addWidget(SpinBox_Zcentre, 2, 1, 1, 1); - - TLRayon = new QLabel(gBSphere); - TLRayon->setObjectName(QString::fromUtf8("TLRayon")); - sizePolicy.setHeightForWidth(TLRayon->sizePolicy().hasHeightForWidth()); - TLRayon->setSizePolicy(sizePolicy); - TLRayon->setWordWrap(false); - - gridLayout2->addWidget(TLRayon, 1, 2, 1, 1); - - TLZcentre = new QLabel(gBSphere); - TLZcentre->setObjectName(QString::fromUtf8("TLZcentre")); - sizePolicy.setHeightForWidth(TLZcentre->sizePolicy().hasHeightForWidth()); - TLZcentre->setSizePolicy(sizePolicy); - TLZcentre->setWordWrap(false); - - gridLayout2->addWidget(TLZcentre, 2, 0, 1, 1); - - TLYcentre = new QLabel(gBSphere); - TLYcentre->setObjectName(QString::fromUtf8("TLYcentre")); - sizePolicy.setHeightForWidth(TLYcentre->sizePolicy().hasHeightForWidth()); - TLYcentre->setSizePolicy(sizePolicy); - TLYcentre->setWordWrap(false); - - gridLayout2->addWidget(TLYcentre, 1, 0, 1, 1); - - SpinBox_Ycentre = new QDoubleSpinBox(gBSphere); - SpinBox_Ycentre->setObjectName(QString::fromUtf8("SpinBox_Ycentre")); - SpinBox_Ycentre->setDecimals(5); - SpinBox_Ycentre->setMinimum(-1e+09); - SpinBox_Ycentre->setMaximum(1e+09); - SpinBox_Ycentre->setValue(0); - - gridLayout2->addWidget(SpinBox_Ycentre, 1, 1, 1, 1); - - SpinBox_Xcentre = new QDoubleSpinBox(gBSphere); - SpinBox_Xcentre->setObjectName(QString::fromUtf8("SpinBox_Xcentre")); - SpinBox_Xcentre->setDecimals(5); - SpinBox_Xcentre->setMinimum(-1e+09); - SpinBox_Xcentre->setMaximum(1e+09); - SpinBox_Xcentre->setValue(0); - - gridLayout2->addWidget(SpinBox_Xcentre, 0, 1, 1, 1); - - TLXcentre = new QLabel(gBSphere); - TLXcentre->setObjectName(QString::fromUtf8("TLXcentre")); - sizePolicy.setHeightForWidth(TLXcentre->sizePolicy().hasHeightForWidth()); - TLXcentre->setSizePolicy(sizePolicy); - TLXcentre->setWordWrap(false); - - gridLayout2->addWidget(TLXcentre, 0, 0, 1, 1); - - - gridLayout_5->addWidget(gBSphere, 3, 0, 1, 2); - - gBCone = new QGroupBox(CreateBoundaryAn); - gBCone->setObjectName(QString::fromUtf8("gBCone")); - sizePolicy.setHeightForWidth(gBCone->sizePolicy().hasHeightForWidth()); - gBCone->setSizePolicy(sizePolicy); - gridLayout_3 = new QGridLayout(gBCone); - gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3")); - groupBox = new QGroupBox(gBCone); - groupBox->setObjectName(QString::fromUtf8("groupBox")); - gridLayout_2 = new QGridLayout(groupBox); - gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2")); - RB_Def_radius = new QRadioButton(groupBox); - RB_Def_radius->setObjectName(QString::fromUtf8("RB_Def_radius")); - QIcon icon4; - icon4.addFile(QString::fromUtf8("../../resources/conedxyz.png"), QSize(), QIcon::Normal, QIcon::Off); - RB_Def_radius->setIcon(icon4); - RB_Def_radius->setChecked(true); - - gridLayout_2->addWidget(RB_Def_radius, 0, 0, 1, 1); - - RB_Def_angle = new QRadioButton(groupBox); - RB_Def_angle->setObjectName(QString::fromUtf8("RB_Def_angle")); - QIcon icon5; - icon5.addFile(QString::fromUtf8("../../resources/conepointvector.png"), QSize(), QIcon::Normal, QIcon::Off); - RB_Def_angle->setIcon(icon5); - - gridLayout_2->addWidget(RB_Def_angle, 0, 1, 1, 1); - - - gridLayout_3->addWidget(groupBox, 0, 0, 1, 2); - - TLCone_X1 = new QLabel(gBCone); - TLCone_X1->setObjectName(QString::fromUtf8("TLCone_X1")); - sizePolicy.setHeightForWidth(TLCone_X1->sizePolicy().hasHeightForWidth()); - TLCone_X1->setSizePolicy(sizePolicy); - TLCone_X1->setWordWrap(false); - - gridLayout_3->addWidget(TLCone_X1, 1, 0, 1, 1); - - SpinBox_Cone_X1 = new QDoubleSpinBox(gBCone); - SpinBox_Cone_X1->setObjectName(QString::fromUtf8("SpinBox_Cone_X1")); - SpinBox_Cone_X1->setDecimals(5); - SpinBox_Cone_X1->setMinimum(-1e+09); - SpinBox_Cone_X1->setMaximum(1e+09); - SpinBox_Cone_X1->setValue(0); - - gridLayout_3->addWidget(SpinBox_Cone_X1, 1, 1, 1, 1); - - TLCone_X2 = new QLabel(gBCone); - TLCone_X2->setObjectName(QString::fromUtf8("TLCone_X2")); - sizePolicy.setHeightForWidth(TLCone_X2->sizePolicy().hasHeightForWidth()); - TLCone_X2->setSizePolicy(sizePolicy); - TLCone_X2->setWordWrap(false); - - gridLayout_3->addWidget(TLCone_X2, 1, 2, 1, 1); - - SpinBox_Cone_X2 = new QDoubleSpinBox(gBCone); - SpinBox_Cone_X2->setObjectName(QString::fromUtf8("SpinBox_Cone_X2")); - SpinBox_Cone_X2->setDecimals(5); - SpinBox_Cone_X2->setMinimum(-1e+09); - SpinBox_Cone_X2->setMaximum(1e+09); - SpinBox_Cone_X2->setValue(0); - - gridLayout_3->addWidget(SpinBox_Cone_X2, 1, 3, 1, 1); - - TLCone_Y1 = new QLabel(gBCone); - TLCone_Y1->setObjectName(QString::fromUtf8("TLCone_Y1")); - sizePolicy.setHeightForWidth(TLCone_Y1->sizePolicy().hasHeightForWidth()); - TLCone_Y1->setSizePolicy(sizePolicy); - TLCone_Y1->setWordWrap(false); - - gridLayout_3->addWidget(TLCone_Y1, 2, 0, 1, 1); - - SpinBox_Cone_Y1 = new QDoubleSpinBox(gBCone); - SpinBox_Cone_Y1->setObjectName(QString::fromUtf8("SpinBox_Cone_Y1")); - SpinBox_Cone_Y1->setDecimals(5); - SpinBox_Cone_Y1->setMinimum(-1e+09); - SpinBox_Cone_Y1->setMaximum(1e+09); - SpinBox_Cone_Y1->setValue(0); - - gridLayout_3->addWidget(SpinBox_Cone_Y1, 2, 1, 1, 1); - - TLCone_Y2 = new QLabel(gBCone); - TLCone_Y2->setObjectName(QString::fromUtf8("TLCone_Y2")); - sizePolicy.setHeightForWidth(TLCone_Y2->sizePolicy().hasHeightForWidth()); - TLCone_Y2->setSizePolicy(sizePolicy); - TLCone_Y2->setWordWrap(false); - - gridLayout_3->addWidget(TLCone_Y2, 2, 2, 1, 1); - - SpinBox_Cone_Y2 = new QDoubleSpinBox(gBCone); - SpinBox_Cone_Y2->setObjectName(QString::fromUtf8("SpinBox_Cone_Y2")); - SpinBox_Cone_Y2->setDecimals(5); - SpinBox_Cone_Y2->setMinimum(-1e+09); - SpinBox_Cone_Y2->setMaximum(1e+09); - SpinBox_Cone_Y2->setValue(0); - - gridLayout_3->addWidget(SpinBox_Cone_Y2, 2, 3, 1, 1); - - TLCone_Z1 = new QLabel(gBCone); - TLCone_Z1->setObjectName(QString::fromUtf8("TLCone_Z1")); - sizePolicy.setHeightForWidth(TLCone_Z1->sizePolicy().hasHeightForWidth()); - TLCone_Z1->setSizePolicy(sizePolicy); - TLCone_Z1->setWordWrap(false); - - gridLayout_3->addWidget(TLCone_Z1, 3, 0, 1, 1); - - SpinBox_Cone_Z1 = new QDoubleSpinBox(gBCone); - SpinBox_Cone_Z1->setObjectName(QString::fromUtf8("SpinBox_Cone_Z1")); - SpinBox_Cone_Z1->setDecimals(5); - SpinBox_Cone_Z1->setMinimum(-1e+09); - SpinBox_Cone_Z1->setMaximum(1e+09); - SpinBox_Cone_Z1->setValue(0); - - gridLayout_3->addWidget(SpinBox_Cone_Z1, 3, 1, 1, 1); - - TLCone_Z2 = new QLabel(gBCone); - TLCone_Z2->setObjectName(QString::fromUtf8("TLCone_Z2")); - sizePolicy.setHeightForWidth(TLCone_Z2->sizePolicy().hasHeightForWidth()); - TLCone_Z2->setSizePolicy(sizePolicy); - TLCone_Z2->setWordWrap(false); - - gridLayout_3->addWidget(TLCone_Z2, 3, 2, 1, 1); - - SpinBox_Cone_Z2 = new QDoubleSpinBox(gBCone); - SpinBox_Cone_Z2->setObjectName(QString::fromUtf8("SpinBox_Cone_Z2")); - SpinBox_Cone_Z2->setDecimals(5); - SpinBox_Cone_Z2->setMinimum(-1e+09); - SpinBox_Cone_Z2->setMaximum(1e+09); - SpinBox_Cone_Z2->setValue(0); - - gridLayout_3->addWidget(SpinBox_Cone_Z2, 3, 3, 1, 1); - - TLCone_V1 = new QLabel(gBCone); - TLCone_V1->setObjectName(QString::fromUtf8("TLCone_V1")); - sizePolicy.setHeightForWidth(TLCone_V1->sizePolicy().hasHeightForWidth()); - TLCone_V1->setSizePolicy(sizePolicy); - TLCone_V1->setWordWrap(false); - - gridLayout_3->addWidget(TLCone_V1, 4, 0, 1, 1); - - SpinBox_Cone_V1 = new QDoubleSpinBox(gBCone); - SpinBox_Cone_V1->setObjectName(QString::fromUtf8("SpinBox_Cone_V1")); - SpinBox_Cone_V1->setDecimals(5); - SpinBox_Cone_V1->setMaximum(1e+09); - - gridLayout_3->addWidget(SpinBox_Cone_V1, 4, 1, 1, 1); - - TLCone_V2 = new QLabel(gBCone); - TLCone_V2->setObjectName(QString::fromUtf8("TLCone_V2")); - sizePolicy.setHeightForWidth(TLCone_V2->sizePolicy().hasHeightForWidth()); - TLCone_V2->setSizePolicy(sizePolicy); - TLCone_V2->setWordWrap(false); - - gridLayout_3->addWidget(TLCone_V2, 4, 2, 1, 1); - - SpinBox_Cone_V2 = new QDoubleSpinBox(gBCone); - SpinBox_Cone_V2->setObjectName(QString::fromUtf8("SpinBox_Cone_V2")); - SpinBox_Cone_V2->setDecimals(5); - SpinBox_Cone_V2->setMaximum(1e+09); - - gridLayout_3->addWidget(SpinBox_Cone_V2, 4, 3, 1, 1); - - - gridLayout_5->addWidget(gBCone, 4, 0, 1, 2); - - gBTore = new QGroupBox(CreateBoundaryAn); - gBTore->setObjectName(QString::fromUtf8("gBTore")); - sizePolicy.setHeightForWidth(gBTore->sizePolicy().hasHeightForWidth()); - gBTore->setSizePolicy(sizePolicy); - gridLayout_4 = new QGridLayout(gBTore); - gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4")); - TLToreXcent = new QLabel(gBTore); - TLToreXcent->setObjectName(QString::fromUtf8("TLToreXcent")); - sizePolicy.setHeightForWidth(TLToreXcent->sizePolicy().hasHeightForWidth()); - TLToreXcent->setSizePolicy(sizePolicy); - TLToreXcent->setWordWrap(false); - - gridLayout_4->addWidget(TLToreXcent, 0, 0, 1, 1); - - SpinBoxToreXcent = new QDoubleSpinBox(gBTore); - SpinBoxToreXcent->setObjectName(QString::fromUtf8("SpinBoxToreXcent")); - SpinBoxToreXcent->setDecimals(5); - SpinBoxToreXcent->setMinimum(-1e+09); - SpinBoxToreXcent->setMaximum(1e+09); - SpinBoxToreXcent->setValue(0); - - gridLayout_4->addWidget(SpinBoxToreXcent, 0, 1, 1, 1); - - TLToreXaxe = new QLabel(gBTore); - TLToreXaxe->setObjectName(QString::fromUtf8("TLToreXaxe")); - sizePolicy.setHeightForWidth(TLToreXaxe->sizePolicy().hasHeightForWidth()); - TLToreXaxe->setSizePolicy(sizePolicy); - TLToreXaxe->setWordWrap(false); - - gridLayout_4->addWidget(TLToreXaxe, 0, 2, 1, 1); - - SpinBoxToreXaxe = new QDoubleSpinBox(gBTore); - SpinBoxToreXaxe->setObjectName(QString::fromUtf8("SpinBoxToreXaxe")); - SpinBoxToreXaxe->setDecimals(5); - SpinBoxToreXaxe->setMinimum(-1e+09); - SpinBoxToreXaxe->setMaximum(1e+09); - SpinBoxToreXaxe->setValue(0); - - gridLayout_4->addWidget(SpinBoxToreXaxe, 0, 3, 1, 1); - - TLToreYcent = new QLabel(gBTore); - TLToreYcent->setObjectName(QString::fromUtf8("TLToreYcent")); - sizePolicy.setHeightForWidth(TLToreYcent->sizePolicy().hasHeightForWidth()); - TLToreYcent->setSizePolicy(sizePolicy); - TLToreYcent->setWordWrap(false); - - gridLayout_4->addWidget(TLToreYcent, 1, 0, 1, 1); - - SpinBoxToreYcent = new QDoubleSpinBox(gBTore); - SpinBoxToreYcent->setObjectName(QString::fromUtf8("SpinBoxToreYcent")); - SpinBoxToreYcent->setDecimals(5); - SpinBoxToreYcent->setMinimum(-1e+09); - SpinBoxToreYcent->setMaximum(1e+09); - SpinBoxToreYcent->setValue(0); - - gridLayout_4->addWidget(SpinBoxToreYcent, 1, 1, 1, 1); - - TLToreYaxe = new QLabel(gBTore); - TLToreYaxe->setObjectName(QString::fromUtf8("TLToreYaxe")); - sizePolicy.setHeightForWidth(TLToreYaxe->sizePolicy().hasHeightForWidth()); - TLToreYaxe->setSizePolicy(sizePolicy); - TLToreYaxe->setWordWrap(false); - - gridLayout_4->addWidget(TLToreYaxe, 1, 2, 1, 1); - - SpinBoxToreYaxe = new QDoubleSpinBox(gBTore); - SpinBoxToreYaxe->setObjectName(QString::fromUtf8("SpinBoxToreYaxe")); - SpinBoxToreYaxe->setDecimals(5); - SpinBoxToreYaxe->setMinimum(-1e+09); - SpinBoxToreYaxe->setMaximum(1e+09); - SpinBoxToreYaxe->setValue(0); - - gridLayout_4->addWidget(SpinBoxToreYaxe, 1, 3, 1, 1); - - TLToreZcent = new QLabel(gBTore); - TLToreZcent->setObjectName(QString::fromUtf8("TLToreZcent")); - sizePolicy.setHeightForWidth(TLToreZcent->sizePolicy().hasHeightForWidth()); - TLToreZcent->setSizePolicy(sizePolicy); - TLToreZcent->setWordWrap(false); - - gridLayout_4->addWidget(TLToreZcent, 2, 0, 1, 1); - - SpinBoxToreZcent = new QDoubleSpinBox(gBTore); - SpinBoxToreZcent->setObjectName(QString::fromUtf8("SpinBoxToreZcent")); - SpinBoxToreZcent->setDecimals(5); - SpinBoxToreZcent->setMinimum(-1e+09); - SpinBoxToreZcent->setMaximum(1e+09); - SpinBoxToreZcent->setValue(0); - - gridLayout_4->addWidget(SpinBoxToreZcent, 2, 1, 1, 1); - - TLToreZaxe = new QLabel(gBTore); - TLToreZaxe->setObjectName(QString::fromUtf8("TLToreZaxe")); - sizePolicy.setHeightForWidth(TLToreZaxe->sizePolicy().hasHeightForWidth()); - TLToreZaxe->setSizePolicy(sizePolicy); - TLToreZaxe->setWordWrap(false); - - gridLayout_4->addWidget(TLToreZaxe, 2, 2, 1, 1); - - SpinBoxToreZaxe = new QDoubleSpinBox(gBTore); - SpinBoxToreZaxe->setObjectName(QString::fromUtf8("SpinBoxToreZaxe")); - SpinBoxToreZaxe->setDecimals(5); - SpinBoxToreZaxe->setMinimum(-1e+09); - SpinBoxToreZaxe->setMaximum(1e+09); - SpinBoxToreZaxe->setValue(0); - - gridLayout_4->addWidget(SpinBoxToreZaxe, 2, 3, 1, 1); - - TLToreRayRev = new QLabel(gBTore); - TLToreRayRev->setObjectName(QString::fromUtf8("TLToreRayRev")); - sizePolicy.setHeightForWidth(TLToreRayRev->sizePolicy().hasHeightForWidth()); - TLToreRayRev->setSizePolicy(sizePolicy); - TLToreRayRev->setWordWrap(false); - - gridLayout_4->addWidget(TLToreRayRev, 3, 0, 1, 1); - - SpinBoxToreRRev = new QDoubleSpinBox(gBTore); - SpinBoxToreRRev->setObjectName(QString::fromUtf8("SpinBoxToreRRev")); - SpinBoxToreRRev->setDecimals(5); - SpinBoxToreRRev->setMaximum(1e+09); - - gridLayout_4->addWidget(SpinBoxToreRRev, 3, 1, 1, 1); - - TLToreRayPri = new QLabel(gBTore); - TLToreRayPri->setObjectName(QString::fromUtf8("TLToreRayPri")); - sizePolicy.setHeightForWidth(TLToreRayPri->sizePolicy().hasHeightForWidth()); - TLToreRayPri->setSizePolicy(sizePolicy); - TLToreRayPri->setWordWrap(false); - - gridLayout_4->addWidget(TLToreRayPri, 3, 2, 1, 1); - - SpinBoxToreRPri = new QDoubleSpinBox(gBTore); - SpinBoxToreRPri->setObjectName(QString::fromUtf8("SpinBoxToreRPri")); - SpinBoxToreRPri->setDecimals(5); - SpinBoxToreRPri->setMaximum(1e+09); - - gridLayout_4->addWidget(SpinBoxToreRPri, 3, 3, 1, 1); - - - gridLayout_5->addWidget(gBTore, 5, 0, 1, 2); - - GBButtons = new QGroupBox(CreateBoundaryAn); - GBButtons->setObjectName(QString::fromUtf8("GBButtons")); - sizePolicy.setHeightForWidth(GBButtons->sizePolicy().hasHeightForWidth()); - GBButtons->setSizePolicy(sizePolicy); - gridLayout3 = new QGridLayout(GBButtons); -#ifndef Q_OS_MAC - gridLayout3->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout3->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); - buttonHelp = new QPushButton(GBButtons); - buttonHelp->setObjectName(QString::fromUtf8("buttonHelp")); - - gridLayout3->addWidget(buttonHelp, 0, 3, 1, 1); - - buttonCancel = new QPushButton(GBButtons); - buttonCancel->setObjectName(QString::fromUtf8("buttonCancel")); - - gridLayout3->addWidget(buttonCancel, 0, 2, 1, 1); - - buttonApply = new QPushButton(GBButtons); - buttonApply->setObjectName(QString::fromUtf8("buttonApply")); - - gridLayout3->addWidget(buttonApply, 0, 1, 1, 1); - - buttonOk = new QPushButton(GBButtons); - buttonOk->setObjectName(QString::fromUtf8("buttonOk")); - - gridLayout3->addWidget(buttonOk, 0, 0, 1, 1); - - - gridLayout_5->addWidget(GBButtons, 6, 0, 1, 2); - - - retranslateUi(CreateBoundaryAn); - - QMetaObject::connectSlotsByName(CreateBoundaryAn); - } // setupUi - - void retranslateUi(QDialog *CreateBoundaryAn) - { - CreateBoundaryAn->setWindowTitle(QApplication::translate("CreateBoundaryAn", "Create an analytical boundary", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("CreateBoundaryAn", "Name", 0, QApplication::UnicodeUTF8)); - TypeBoundary->setTitle(QApplication::translate("CreateBoundaryAn", "Type of boundary", 0, QApplication::UnicodeUTF8)); - RBCylindre->setText(QApplication::translate("CreateBoundaryAn", "Cylinder", 0, QApplication::UnicodeUTF8)); - RBSphere->setText(QApplication::translate("CreateBoundaryAn", "Sphere", 0, QApplication::UnicodeUTF8)); - RBCone->setText(QApplication::translate("CreateBoundaryAn", "Cone", 0, QApplication::UnicodeUTF8)); - RBTore->setText(QApplication::translate("CreateBoundaryAn", "Torus", 0, QApplication::UnicodeUTF8)); - gBCylindre->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", 0, QApplication::UnicodeUTF8)); - TLXcent->setText(QApplication::translate("CreateBoundaryAn", "X centre", 0, QApplication::UnicodeUTF8)); - TLradius->setText(QApplication::translate("CreateBoundaryAn", "Radius", 0, QApplication::UnicodeUTF8)); - TLZcent->setText(QApplication::translate("CreateBoundaryAn", "Z centre", 0, QApplication::UnicodeUTF8)); - TLYcent->setText(QApplication::translate("CreateBoundaryAn", "Y centre", 0, QApplication::UnicodeUTF8)); - TLXaxis->setText(QApplication::translate("CreateBoundaryAn", "X axis", 0, QApplication::UnicodeUTF8)); - TLYaxis->setText(QApplication::translate("CreateBoundaryAn", "Y axis", 0, QApplication::UnicodeUTF8)); - TLZaxis->setText(QApplication::translate("CreateBoundaryAn", "Z axis", 0, QApplication::UnicodeUTF8)); - gBSphere->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", 0, QApplication::UnicodeUTF8)); - TLRayon->setText(QApplication::translate("CreateBoundaryAn", "Radius", 0, QApplication::UnicodeUTF8)); - TLZcentre->setText(QApplication::translate("CreateBoundaryAn", "Z centre", 0, QApplication::UnicodeUTF8)); - TLYcentre->setText(QApplication::translate("CreateBoundaryAn", "Y centre", 0, QApplication::UnicodeUTF8)); - TLXcentre->setText(QApplication::translate("CreateBoundaryAn", "X centre", 0, QApplication::UnicodeUTF8)); - gBCone->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", 0, QApplication::UnicodeUTF8)); - groupBox->setTitle(QApplication::translate("CreateBoundaryAn", "Definition", 0, QApplication::UnicodeUTF8)); - RB_Def_radius->setText(QApplication::translate("CreateBoundaryAn", "Radius", 0, QApplication::UnicodeUTF8)); - RB_Def_angle->setText(QApplication::translate("CreateBoundaryAn", "Angle", 0, QApplication::UnicodeUTF8)); - TLCone_X1->setText(QApplication::translate("CreateBoundaryAn", "X 1", 0, QApplication::UnicodeUTF8)); - TLCone_X2->setText(QApplication::translate("CreateBoundaryAn", "X 2", 0, QApplication::UnicodeUTF8)); - TLCone_Y1->setText(QApplication::translate("CreateBoundaryAn", "Y 1", 0, QApplication::UnicodeUTF8)); - TLCone_Y2->setText(QApplication::translate("CreateBoundaryAn", "Y 2", 0, QApplication::UnicodeUTF8)); - TLCone_Z1->setText(QApplication::translate("CreateBoundaryAn", "Z 1", 0, QApplication::UnicodeUTF8)); - TLCone_Z2->setText(QApplication::translate("CreateBoundaryAn", "Z 2", 0, QApplication::UnicodeUTF8)); - TLCone_V1->setText(QApplication::translate("CreateBoundaryAn", "V 1", 0, QApplication::UnicodeUTF8)); - TLCone_V2->setText(QApplication::translate("CreateBoundaryAn", "V 2", 0, QApplication::UnicodeUTF8)); - gBTore->setTitle(QApplication::translate("CreateBoundaryAn", "Coordinates", 0, QApplication::UnicodeUTF8)); - TLToreXcent->setText(QApplication::translate("CreateBoundaryAn", "X centre", 0, QApplication::UnicodeUTF8)); - TLToreXaxe->setText(QApplication::translate("CreateBoundaryAn", "X axis", 0, QApplication::UnicodeUTF8)); - TLToreYcent->setText(QApplication::translate("CreateBoundaryAn", "Y centre", 0, QApplication::UnicodeUTF8)); - TLToreYaxe->setText(QApplication::translate("CreateBoundaryAn", "Y axis", 0, QApplication::UnicodeUTF8)); - TLToreZcent->setText(QApplication::translate("CreateBoundaryAn", "Z centre", 0, QApplication::UnicodeUTF8)); - TLToreZaxe->setText(QApplication::translate("CreateBoundaryAn", "Z axis", 0, QApplication::UnicodeUTF8)); - TLToreRayRev->setText(QApplication::translate("CreateBoundaryAn", "R revolution", 0, QApplication::UnicodeUTF8)); - TLToreRayPri->setText(QApplication::translate("CreateBoundaryAn", "Primary R", 0, QApplication::UnicodeUTF8)); - GBButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("CreateBoundaryAn", "Help", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateBoundaryAn", "Cancel", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateBoundaryAn", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("CreateBoundaryAn", "OK", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class CreateBoundaryAn: public Ui_CreateBoundaryAn {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // CREATEBOUNDARYAN_H diff --git a/src/HOMARDGUI/CreateBoundaryDi.h b/src/HOMARDGUI/CreateBoundaryDi.h deleted file mode 100644 index 95c054c4..00000000 --- a/src/HOMARDGUI/CreateBoundaryDi.h +++ /dev/null @@ -1,159 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'CreateBoundaryDi.ui' -** -** Created: Tue Sep 17 14:08:59 2013 -** by: Qt User Interface Compiler version 4.6.3 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef CREATEBOUNDARYDI_H -#define CREATEBOUNDARYDI_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_CreateBoundaryDi -{ -public: - QGridLayout *gridLayout; - QGroupBox *GBButtons; - QGridLayout *gridLayout1; - QPushButton *buttonHelp; - QPushButton *buttonCancel; - QPushButton *buttonApply; - QPushButton *buttonOk; - QCheckBox *CBGroupe; - QLineEdit *LEFileName; - QPushButton *PushFichier; - QLabel *Mesh; - QLineEdit *LEName; - QLabel *Name; - - void setupUi(QDialog *CreateBoundaryDi) - { - if (CreateBoundaryDi->objectName().isEmpty()) - CreateBoundaryDi->setObjectName(QString::fromUtf8("CreateBoundaryDi")); - CreateBoundaryDi->resize(566, 169); - QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(CreateBoundaryDi->sizePolicy().hasHeightForWidth()); - CreateBoundaryDi->setSizePolicy(sizePolicy); - CreateBoundaryDi->setAutoFillBackground(true); - CreateBoundaryDi->setSizeGripEnabled(true); - gridLayout = new QGridLayout(CreateBoundaryDi); -#ifndef Q_OS_MAC - gridLayout->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - GBButtons = new QGroupBox(CreateBoundaryDi); - GBButtons->setObjectName(QString::fromUtf8("GBButtons")); - gridLayout1 = new QGridLayout(GBButtons); -#ifndef Q_OS_MAC - gridLayout1->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout1->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); - buttonHelp = new QPushButton(GBButtons); - buttonHelp->setObjectName(QString::fromUtf8("buttonHelp")); - - gridLayout1->addWidget(buttonHelp, 0, 3, 1, 1); - - buttonCancel = new QPushButton(GBButtons); - buttonCancel->setObjectName(QString::fromUtf8("buttonCancel")); - - gridLayout1->addWidget(buttonCancel, 0, 2, 1, 1); - - buttonApply = new QPushButton(GBButtons); - buttonApply->setObjectName(QString::fromUtf8("buttonApply")); - - gridLayout1->addWidget(buttonApply, 0, 1, 1, 1); - - buttonOk = new QPushButton(GBButtons); - buttonOk->setObjectName(QString::fromUtf8("buttonOk")); - - gridLayout1->addWidget(buttonOk, 0, 0, 1, 1); - - - gridLayout->addWidget(GBButtons, 3, 0, 1, 3); - - CBGroupe = new QCheckBox(CreateBoundaryDi); - CBGroupe->setObjectName(QString::fromUtf8("CBGroupe")); - - gridLayout->addWidget(CBGroupe, 2, 0, 1, 3); - - LEFileName = new QLineEdit(CreateBoundaryDi); - LEFileName->setObjectName(QString::fromUtf8("LEFileName")); - LEFileName->setMinimumSize(QSize(370, 21)); - - gridLayout->addWidget(LEFileName, 1, 2, 1, 1); - - PushFichier = new QPushButton(CreateBoundaryDi); - PushFichier->setObjectName(QString::fromUtf8("PushFichier")); - - gridLayout->addWidget(PushFichier, 1, 1, 1, 1); - - Mesh = new QLabel(CreateBoundaryDi); - Mesh->setObjectName(QString::fromUtf8("Mesh")); - - gridLayout->addWidget(Mesh, 1, 0, 1, 1); - - LEName = new QLineEdit(CreateBoundaryDi); - LEName->setObjectName(QString::fromUtf8("LEName")); - LEName->setMinimumSize(QSize(382, 21)); - LEName->setMaxLength(32); - - gridLayout->addWidget(LEName, 0, 1, 1, 2); - - Name = new QLabel(CreateBoundaryDi); - Name->setObjectName(QString::fromUtf8("Name")); - - gridLayout->addWidget(Name, 0, 0, 1, 1); - - - retranslateUi(CreateBoundaryDi); - - QMetaObject::connectSlotsByName(CreateBoundaryDi); - } // setupUi - - void retranslateUi(QDialog *CreateBoundaryDi) - { - CreateBoundaryDi->setWindowTitle(QApplication::translate("CreateBoundaryDi", "Create a discrete boundary", 0, QApplication::UnicodeUTF8)); - GBButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("CreateBoundaryDi", "Help", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateBoundaryDi", "Cancel", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateBoundaryDi", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("CreateBoundaryDi", "OK", 0, QApplication::UnicodeUTF8)); - CBGroupe->setText(QApplication::translate("CreateBoundaryDi", "Filtering with groups", 0, QApplication::UnicodeUTF8)); - PushFichier->setText(QString()); - Mesh->setText(QApplication::translate("CreateBoundaryDi", "Mesh", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("CreateBoundaryDi", "Name", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class CreateBoundaryDi: public Ui_CreateBoundaryDi {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // CREATEBOUNDARYDI_H diff --git a/src/HOMARDGUI/CreateCase.h b/src/HOMARDGUI/CreateCase.h deleted file mode 100644 index adc14078..00000000 --- a/src/HOMARDGUI/CreateCase.h +++ /dev/null @@ -1,548 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'CreateCase.ui' -** -** Created: Tue Dec 15 14:39:25 2015 -** by: Qt User Interface Compiler version 4.6.3 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef CREATECASE_H -#define CREATECASE_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_CreateCase -{ -public: - QGridLayout *gridLayout_5; - QWidget *WName; - QGridLayout *gridLayout_2; - QLabel *Name; - QLineEdit *LEName; - QSpacerItem *horizontalSpacer; - QHBoxLayout *hboxLayout; - QLabel *Directory; - QPushButton *PushDir; - QLineEdit *LEDirName; - QSpacerItem *spacerItem; - QHBoxLayout *hboxLayout1; - QLabel *Mesh; - QPushButton *PushFichier; - QLineEdit *LEFileName; - QSpacerItem *spacerItem1; - QGroupBox *GBTypeConf; - QHBoxLayout *hboxLayout2; - QRadioButton *RBConforme; - QRadioButton *RBNonConforme; - QHBoxLayout *hboxLayout3; - QCheckBox *CBBoundaryD; - QCheckBox *CBBoundaryA; - QSpacerItem *spacerItem2; - QSpacerItem *spacerItem3; - QGroupBox *GBBoundaryD; - QGridLayout *gridLayout; - QPushButton *PBBoundaryDiEdit; - QPushButton *PBBoundaryDiNew; - QComboBox *CBBoundaryDi; - QSpacerItem *spacerItem4; - QPushButton *PBBoundaryDiHelp; - QGroupBox *GBBoundaryA; - QFormLayout *formLayout; - QTableWidget *TWBoundary; - QGridLayout *gridLayout1; - QPushButton *PBBoundaryAnEdit; - QPushButton *PBBoundaryAnNew; - QPushButton *PBBoundaryAnHelp; - QSpacerItem *spacer; - QCheckBox *CBAdvanced; - QGroupBox *GBAdvancedOptions; - QGridLayout *gridLayout_4; - QCheckBox *CBPyramid; - QGroupBox *GBConforme; - QGridLayout *gridLayout_3; - QHBoxLayout *horizontalLayout_2; - QRadioButton *RBStandard; - QRadioButton *RBBox; - QRadioButton *RBNC1NpA; - QRadioButton *RBNCQuelconque; - QGroupBox *GBFormat; - QGridLayout *gridLayout2; - QRadioButton *RBMED; - QRadioButton *RBSaturne2D; - QSpacerItem *spacer_3; - QSpacerItem *spacer_4; - QLabel *Comment; - QGroupBox *GroupButtons; - QGridLayout *gridLayout3; - QPushButton *buttonHelp; - QPushButton *buttonApply; - QPushButton *buttonOk; - QPushButton *buttonCancel; - QSpacerItem *verticalSpacer; - QSpacerItem *spacer_2; - - void setupUi(QDialog *CreateCase) - { - if (CreateCase->objectName().isEmpty()) - CreateCase->setObjectName(QString::fromUtf8("CreateCase")); - CreateCase->resize(600, 1026); - QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(CreateCase->sizePolicy().hasHeightForWidth()); - CreateCase->setSizePolicy(sizePolicy); - CreateCase->setMinimumSize(QSize(600, 320)); - CreateCase->setSizeIncrement(QSize(1, 1)); - CreateCase->setBaseSize(QSize(600, 320)); - CreateCase->setAutoFillBackground(true); - gridLayout_5 = new QGridLayout(CreateCase); - gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5")); - WName = new QWidget(CreateCase); - WName->setObjectName(QString::fromUtf8("WName")); - gridLayout_2 = new QGridLayout(WName); - gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2")); - Name = new QLabel(WName); - Name->setObjectName(QString::fromUtf8("Name")); - - gridLayout_2->addWidget(Name, 0, 0, 1, 1); - - LEName = new QLineEdit(WName); - LEName->setObjectName(QString::fromUtf8("LEName")); - - gridLayout_2->addWidget(LEName, 0, 1, 1, 1); - - - gridLayout_5->addWidget(WName, 0, 0, 1, 3); - - horizontalSpacer = new QSpacerItem(199, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout_5->addItem(horizontalSpacer, 0, 3, 1, 3); - - hboxLayout = new QHBoxLayout(); -#ifndef Q_OS_MAC - hboxLayout->setSpacing(6); -#endif - hboxLayout->setContentsMargins(0, 0, 0, 0); - hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); - Directory = new QLabel(CreateCase); - Directory->setObjectName(QString::fromUtf8("Directory")); - - hboxLayout->addWidget(Directory); - - PushDir = new QPushButton(CreateCase); - PushDir->setObjectName(QString::fromUtf8("PushDir")); - PushDir->setAutoDefault(false); - - hboxLayout->addWidget(PushDir); - - LEDirName = new QLineEdit(CreateCase); - LEDirName->setObjectName(QString::fromUtf8("LEDirName")); - LEDirName->setMinimumSize(QSize(382, 21)); - - hboxLayout->addWidget(LEDirName); - - - gridLayout_5->addLayout(hboxLayout, 1, 0, 1, 7); - - spacerItem = new QSpacerItem(20, 18, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout_5->addItem(spacerItem, 2, 6, 1, 1); - - hboxLayout1 = new QHBoxLayout(); -#ifndef Q_OS_MAC - hboxLayout1->setSpacing(6); -#endif - hboxLayout1->setContentsMargins(0, 0, 0, 0); - hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); - Mesh = new QLabel(CreateCase); - Mesh->setObjectName(QString::fromUtf8("Mesh")); - - hboxLayout1->addWidget(Mesh); - - PushFichier = new QPushButton(CreateCase); - PushFichier->setObjectName(QString::fromUtf8("PushFichier")); - PushFichier->setAutoDefault(false); - - hboxLayout1->addWidget(PushFichier); - - LEFileName = new QLineEdit(CreateCase); - LEFileName->setObjectName(QString::fromUtf8("LEFileName")); - LEFileName->setMinimumSize(QSize(382, 21)); - - hboxLayout1->addWidget(LEFileName); - - - gridLayout_5->addLayout(hboxLayout1, 3, 0, 1, 7); - - spacerItem1 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout_5->addItem(spacerItem1, 3, 7, 1, 1); - - GBTypeConf = new QGroupBox(CreateCase); - GBTypeConf->setObjectName(QString::fromUtf8("GBTypeConf")); - hboxLayout2 = new QHBoxLayout(GBTypeConf); -#ifndef Q_OS_MAC - hboxLayout2->setSpacing(6); -#endif -#ifndef Q_OS_MAC - hboxLayout2->setContentsMargins(9, 9, 9, 9); -#endif - hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2")); - RBConforme = new QRadioButton(GBTypeConf); - RBConforme->setObjectName(QString::fromUtf8("RBConforme")); - RBConforme->setChecked(true); - - hboxLayout2->addWidget(RBConforme); - - RBNonConforme = new QRadioButton(GBTypeConf); - RBNonConforme->setObjectName(QString::fromUtf8("RBNonConforme")); - - hboxLayout2->addWidget(RBNonConforme); - - - gridLayout_5->addWidget(GBTypeConf, 4, 0, 1, 4); - - hboxLayout3 = new QHBoxLayout(); -#ifndef Q_OS_MAC - hboxLayout3->setSpacing(6); -#endif - hboxLayout3->setContentsMargins(0, 0, 0, 0); - hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3")); - CBBoundaryD = new QCheckBox(CreateCase); - CBBoundaryD->setObjectName(QString::fromUtf8("CBBoundaryD")); - - hboxLayout3->addWidget(CBBoundaryD); - - CBBoundaryA = new QCheckBox(CreateCase); - CBBoundaryA->setObjectName(QString::fromUtf8("CBBoundaryA")); - - hboxLayout3->addWidget(CBBoundaryA); - - - gridLayout_5->addLayout(hboxLayout3, 5, 0, 1, 5); - - spacerItem2 = new QSpacerItem(20, 1, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout_5->addItem(spacerItem2, 5, 5, 1, 1); - - spacerItem3 = new QSpacerItem(20, 2, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout_5->addItem(spacerItem3, 6, 4, 1, 1); - - GBBoundaryD = new QGroupBox(CreateCase); - GBBoundaryD->setObjectName(QString::fromUtf8("GBBoundaryD")); - QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed); - sizePolicy1.setHorizontalStretch(0); - sizePolicy1.setVerticalStretch(0); - sizePolicy1.setHeightForWidth(GBBoundaryD->sizePolicy().hasHeightForWidth()); - GBBoundaryD->setSizePolicy(sizePolicy1); - gridLayout = new QGridLayout(GBBoundaryD); -#ifndef Q_OS_MAC - gridLayout->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - PBBoundaryDiEdit = new QPushButton(GBBoundaryD); - PBBoundaryDiEdit->setObjectName(QString::fromUtf8("PBBoundaryDiEdit")); - PBBoundaryDiEdit->setAutoDefault(false); - - gridLayout->addWidget(PBBoundaryDiEdit, 0, 3, 1, 1); - - PBBoundaryDiNew = new QPushButton(GBBoundaryD); - PBBoundaryDiNew->setObjectName(QString::fromUtf8("PBBoundaryDiNew")); - PBBoundaryDiNew->setAutoDefault(false); - - gridLayout->addWidget(PBBoundaryDiNew, 0, 2, 1, 1); - - CBBoundaryDi = new QComboBox(GBBoundaryD); - CBBoundaryDi->setObjectName(QString::fromUtf8("CBBoundaryDi")); - CBBoundaryDi->setSizeAdjustPolicy(QComboBox::AdjustToContents); - - gridLayout->addWidget(CBBoundaryDi, 0, 0, 1, 1); - - spacerItem4 = new QSpacerItem(40, 13, QSizePolicy::Fixed, QSizePolicy::Minimum); - - gridLayout->addItem(spacerItem4, 0, 1, 1, 1); - - PBBoundaryDiHelp = new QPushButton(GBBoundaryD); - PBBoundaryDiHelp->setObjectName(QString::fromUtf8("PBBoundaryDiHelp")); - PBBoundaryDiHelp->setAutoDefault(false); - - gridLayout->addWidget(PBBoundaryDiHelp, 0, 4, 1, 1); - - - gridLayout_5->addWidget(GBBoundaryD, 7, 0, 1, 6); - - GBBoundaryA = new QGroupBox(CreateCase); - GBBoundaryA->setObjectName(QString::fromUtf8("GBBoundaryA")); - GBBoundaryA->setMinimumSize(QSize(548, 200)); - formLayout = new QFormLayout(GBBoundaryA); - formLayout->setObjectName(QString::fromUtf8("formLayout")); - TWBoundary = new QTableWidget(GBBoundaryA); - if (TWBoundary->columnCount() < 1) - TWBoundary->setColumnCount(1); - QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem(); - TWBoundary->setHorizontalHeaderItem(0, __qtablewidgetitem); - TWBoundary->setObjectName(QString::fromUtf8("TWBoundary")); - TWBoundary->setEditTriggers(QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked); - TWBoundary->setShowGrid(true); - TWBoundary->setRowCount(0); - TWBoundary->setColumnCount(1); - - formLayout->setWidget(0, QFormLayout::LabelRole, TWBoundary); - - gridLayout1 = new QGridLayout(); -#ifndef Q_OS_MAC - gridLayout1->setSpacing(6); -#endif - gridLayout1->setContentsMargins(0, 0, 0, 0); - gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); - PBBoundaryAnEdit = new QPushButton(GBBoundaryA); - PBBoundaryAnEdit->setObjectName(QString::fromUtf8("PBBoundaryAnEdit")); - PBBoundaryAnEdit->setAutoDefault(false); - - gridLayout1->addWidget(PBBoundaryAnEdit, 1, 0, 1, 1); - - PBBoundaryAnNew = new QPushButton(GBBoundaryA); - PBBoundaryAnNew->setObjectName(QString::fromUtf8("PBBoundaryAnNew")); - PBBoundaryAnNew->setAutoDefault(false); - - gridLayout1->addWidget(PBBoundaryAnNew, 0, 0, 1, 1); - - PBBoundaryAnHelp = new QPushButton(GBBoundaryA); - PBBoundaryAnHelp->setObjectName(QString::fromUtf8("PBBoundaryAnHelp")); - PBBoundaryAnHelp->setAutoDefault(false); - - gridLayout1->addWidget(PBBoundaryAnHelp, 2, 0, 1, 1); - - - formLayout->setLayout(0, QFormLayout::FieldRole, gridLayout1); - - - gridLayout_5->addWidget(GBBoundaryA, 8, 0, 1, 8); - - spacer = new QSpacerItem(239, 41, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout_5->addItem(spacer, 9, 0, 1, 4); - - CBAdvanced = new QCheckBox(CreateCase); - CBAdvanced->setObjectName(QString::fromUtf8("CBAdvanced")); - - gridLayout_5->addWidget(CBAdvanced, 10, 0, 1, 3); - - GBAdvancedOptions = new QGroupBox(CreateCase); - GBAdvancedOptions->setObjectName(QString::fromUtf8("GBAdvancedOptions")); - gridLayout_4 = new QGridLayout(GBAdvancedOptions); - gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4")); - CBPyramid = new QCheckBox(GBAdvancedOptions); - CBPyramid->setObjectName(QString::fromUtf8("CBPyramid")); - - gridLayout_4->addWidget(CBPyramid, 0, 0, 1, 1); - - GBConforme = new QGroupBox(GBAdvancedOptions); - GBConforme->setObjectName(QString::fromUtf8("GBConforme")); - gridLayout_3 = new QGridLayout(GBConforme); - gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3")); - horizontalLayout_2 = new QHBoxLayout(); - horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); - RBStandard = new QRadioButton(GBConforme); - RBStandard->setObjectName(QString::fromUtf8("RBStandard")); - RBStandard->setChecked(true); - - horizontalLayout_2->addWidget(RBStandard); - - RBBox = new QRadioButton(GBConforme); - RBBox->setObjectName(QString::fromUtf8("RBBox")); - RBBox->setChecked(false); - - horizontalLayout_2->addWidget(RBBox); - - RBNC1NpA = new QRadioButton(GBConforme); - RBNC1NpA->setObjectName(QString::fromUtf8("RBNC1NpA")); - - horizontalLayout_2->addWidget(RBNC1NpA); - - RBNCQuelconque = new QRadioButton(GBConforme); - RBNCQuelconque->setObjectName(QString::fromUtf8("RBNCQuelconque")); - - horizontalLayout_2->addWidget(RBNCQuelconque); - - - gridLayout_3->addLayout(horizontalLayout_2, 0, 0, 1, 1); - - - gridLayout_4->addWidget(GBConforme, 1, 0, 1, 1); - - GBFormat = new QGroupBox(GBAdvancedOptions); - GBFormat->setObjectName(QString::fromUtf8("GBFormat")); - gridLayout2 = new QGridLayout(GBFormat); - gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); - RBMED = new QRadioButton(GBFormat); - RBMED->setObjectName(QString::fromUtf8("RBMED")); - RBMED->setChecked(true); - - gridLayout2->addWidget(RBMED, 0, 0, 1, 1); - - RBSaturne2D = new QRadioButton(GBFormat); - RBSaturne2D->setObjectName(QString::fromUtf8("RBSaturne2D")); - - gridLayout2->addWidget(RBSaturne2D, 0, 1, 1, 1); - - - gridLayout_4->addWidget(GBFormat, 2, 0, 1, 1); - - - gridLayout_5->addWidget(GBAdvancedOptions, 11, 0, 1, 6); - - spacer_3 = new QSpacerItem(128, 13, QSizePolicy::Fixed, QSizePolicy::Minimum); - - gridLayout_5->addItem(spacer_3, 11, 7, 1, 1); - - spacer_4 = new QSpacerItem(239, 41, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout_5->addItem(spacer_4, 12, 0, 1, 5); - - Comment = new QLabel(CreateCase); - Comment->setObjectName(QString::fromUtf8("Comment")); - - gridLayout_5->addWidget(Comment, 13, 0, 1, 2); - - GroupButtons = new QGroupBox(CreateCase); - GroupButtons->setObjectName(QString::fromUtf8("GroupButtons")); - gridLayout3 = new QGridLayout(GroupButtons); -#ifndef Q_OS_MAC - gridLayout3->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout3->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); - buttonHelp = new QPushButton(GroupButtons); - buttonHelp->setObjectName(QString::fromUtf8("buttonHelp")); - buttonHelp->setAutoDefault(false); - - gridLayout3->addWidget(buttonHelp, 0, 4, 1, 1); - - buttonApply = new QPushButton(GroupButtons); - buttonApply->setObjectName(QString::fromUtf8("buttonApply")); - buttonApply->setAutoDefault(false); - - gridLayout3->addWidget(buttonApply, 0, 1, 1, 1); - - buttonOk = new QPushButton(GroupButtons); - buttonOk->setObjectName(QString::fromUtf8("buttonOk")); - buttonOk->setAutoDefault(false); - - gridLayout3->addWidget(buttonOk, 0, 0, 1, 1); - - buttonCancel = new QPushButton(GroupButtons); - buttonCancel->setObjectName(QString::fromUtf8("buttonCancel")); - buttonCancel->setAutoDefault(false); - - gridLayout3->addWidget(buttonCancel, 0, 2, 1, 1); - - - gridLayout_5->addWidget(GroupButtons, 14, 0, 1, 1); - - verticalSpacer = new QSpacerItem(20, 35, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout_5->addItem(verticalSpacer, 14, 1, 1, 1); - - spacer_2 = new QSpacerItem(128, 25, QSizePolicy::Fixed, QSizePolicy::Minimum); - - gridLayout_5->addItem(spacer_2, 14, 6, 1, 2); - - WName->raise(); - GBTypeConf->raise(); - GBBoundaryD->raise(); - GBBoundaryA->raise(); - CBAdvanced->raise(); - GBAdvancedOptions->raise(); - Comment->raise(); - GroupButtons->raise(); - RBSaturne2D->raise(); - RBSaturne2D->raise(); - RBSaturne2D->raise(); - - retranslateUi(CreateCase); - - CBBoundaryDi->setCurrentIndex(-1); - - - QMetaObject::connectSlotsByName(CreateCase); - } // setupUi - - void retranslateUi(QDialog *CreateCase) - { - CreateCase->setWindowTitle(QApplication::translate("CreateCase", "Create a case", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("CreateCase", "Name", 0, QApplication::UnicodeUTF8)); - Directory->setText(QApplication::translate("CreateCase", "Directory", 0, QApplication::UnicodeUTF8)); - PushDir->setText(QString()); - Mesh->setText(QApplication::translate("CreateCase", "Mesh", 0, QApplication::UnicodeUTF8)); - PushFichier->setText(QString()); - GBTypeConf->setTitle(QApplication::translate("CreateCase", "Conformity type", 0, QApplication::UnicodeUTF8)); - RBConforme->setText(QApplication::translate("CreateCase", "Conformal", 0, QApplication::UnicodeUTF8)); - RBNonConforme->setText(QApplication::translate("CreateCase", "Non conformal", 0, QApplication::UnicodeUTF8)); - CBBoundaryD->setText(QApplication::translate("CreateCase", "Discrete boundary", 0, QApplication::UnicodeUTF8)); - CBBoundaryA->setText(QApplication::translate("CreateCase", "Analytical boundary", 0, QApplication::UnicodeUTF8)); - GBBoundaryD->setTitle(QApplication::translate("CreateCase", "Discrete boundary", 0, QApplication::UnicodeUTF8)); - PBBoundaryDiEdit->setText(QApplication::translate("CreateCase", "Edit", 0, QApplication::UnicodeUTF8)); - PBBoundaryDiNew->setText(QApplication::translate("CreateCase", "New", 0, QApplication::UnicodeUTF8)); - PBBoundaryDiHelp->setText(QApplication::translate("CreateCase", "Help", 0, QApplication::UnicodeUTF8)); - GBBoundaryA->setTitle(QApplication::translate("CreateCase", "Analytical boundary", 0, QApplication::UnicodeUTF8)); - QTableWidgetItem *___qtablewidgetitem = TWBoundary->horizontalHeaderItem(0); - ___qtablewidgetitem->setText(QApplication::translate("CreateCase", "a_virer", 0, QApplication::UnicodeUTF8)); - PBBoundaryAnEdit->setText(QApplication::translate("CreateCase", "Edit", 0, QApplication::UnicodeUTF8)); - PBBoundaryAnNew->setText(QApplication::translate("CreateCase", "New", 0, QApplication::UnicodeUTF8)); - PBBoundaryAnHelp->setText(QApplication::translate("CreateCase", "Help", 0, QApplication::UnicodeUTF8)); - CBAdvanced->setText(QApplication::translate("CreateCase", "Advanced options", 0, QApplication::UnicodeUTF8)); - GBAdvancedOptions->setTitle(QApplication::translate("CreateCase", "Advanced options", 0, QApplication::UnicodeUTF8)); - CBPyramid->setText(QApplication::translate("CreateCase", "Authorized pyramids", 0, QApplication::UnicodeUTF8)); - GBConforme->setTitle(QApplication::translate("CreateCase", "Conformity +", 0, QApplication::UnicodeUTF8)); - RBStandard->setText(QApplication::translate("CreateCase", "Standard", 0, QApplication::UnicodeUTF8)); - RBBox->setText(QApplication::translate("CreateCase", "Box", 0, QApplication::UnicodeUTF8)); - RBNC1NpA->setText(QApplication::translate("CreateCase", "1 node per edge", 0, QApplication::UnicodeUTF8)); - RBNCQuelconque->setText(QApplication::translate("CreateCase", "Free", 0, QApplication::UnicodeUTF8)); - GBFormat->setTitle(QApplication::translate("CreateCase", "Format", 0, QApplication::UnicodeUTF8)); - RBMED->setText(QApplication::translate("CreateCase", "MED", 0, QApplication::UnicodeUTF8)); - RBSaturne2D->setText(QApplication::translate("CreateCase", "Saturne 2D", 0, QApplication::UnicodeUTF8)); - Comment->setText(QApplication::translate("CreateCase", " No comment.", 0, QApplication::UnicodeUTF8)); - GroupButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("CreateCase", "Help", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateCase", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("CreateCase", "OK", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateCase", "Cancel", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class CreateCase: public Ui_CreateCase {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // CREATECASE_H diff --git a/src/HOMARDGUI/CreateHypothesis.h b/src/HOMARDGUI/CreateHypothesis.h deleted file mode 100644 index 673a1a33..00000000 --- a/src/HOMARDGUI/CreateHypothesis.h +++ /dev/null @@ -1,902 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'CreateHypothesis.ui' -** -** Created: Fri Jun 13 09:26:59 2014 -** by: Qt User Interface Compiler version 4.6.3 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef CREATEHYPOTHESIS_H -#define CREATEHYPOTHESIS_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_CreateHypothesis -{ -public: - QWidget *scrollAreaWidgetContents; - QGridLayout *gridLayout_5; - QWidget *WName; - QGridLayout *gridLayout; - QLabel *Name; - QLineEdit *LEName; - QSpacerItem *horizontalSpacer_9; - QGroupBox *GBTypeAdaptation; - QHBoxLayout *hboxLayout; - QRadioButton *RBUniforme; - QRadioButton *RBChamp; - QRadioButton *RBZone; - QSpacerItem *horizontalSpacer_6; - QCheckBox *CBGroupe; - QSpacerItem *horizontalSpacer_8; - QGroupBox *GBUniform; - QGridLayout *gridLayout1; - QRadioButton *RBUniDera; - QRadioButton *RBUniRaff; - QSpacerItem *horizontalSpacer_7; - QGroupBox *GBFieldFile; - QGridLayout *gridLayout2; - QLabel *FieldFile; - QLineEdit *LEFieldFile; - QGroupBox *GBFieldManagement; - QGridLayout *gridLayout3; - QHBoxLayout *hboxLayout1; - QLabel *FieldName; - QComboBox *CBFieldName; - QSpacerItem *spacerItem; - QHBoxLayout *hboxLayout2; - QTableWidget *TWCMP; - QSpacerItem *spacerItem1; - QVBoxLayout *vboxLayout; - QHBoxLayout *hboxLayout3; - QRadioButton *RBL2; - QRadioButton *RBInf; - QCheckBox *CBJump; - QHBoxLayout *hboxLayout4; - QGroupBox *GBRefinementThresholds; - QGridLayout *gridLayout4; - QRadioButton *RBRPE; - QDoubleSpinBox *SpinBox_RPE; - QRadioButton *RBRRel; - QDoubleSpinBox *SpinBox_RRel; - QRadioButton *RBRAbs; - QDoubleSpinBox *SpinBox_RAbs; - QRadioButton *RBRMuSigma; - QDoubleSpinBox *SpinBox_RMuSigma; - QRadioButton *RBRNo; - QGroupBox *GBCoarseningThresholds; - QGridLayout *gridLayout5; - QRadioButton *RBCPE; - QDoubleSpinBox *SpinBox_CPE; - QRadioButton *RBCRel; - QDoubleSpinBox *SpinBox_CRel; - QRadioButton *RBCAbs; - QDoubleSpinBox *SpinBox_CAbs; - QRadioButton *RBCMuSigma; - QDoubleSpinBox *SpinBox_CMuSigma; - QRadioButton *RBCNo; - QGroupBox *GBAreaManagement; - QGridLayout *gridLayout_4; - QTableWidget *TWZone; - QSpacerItem *horizontalSpacer; - QVBoxLayout *vboxLayout1; - QVBoxLayout *vboxLayout2; - QPushButton *PBZoneNew; - QPushButton *PBZoneEdit; - QPushButton *PBZoneDelete; - QSpacerItem *spacerItem2; - QGroupBox *GBField; - QGridLayout *gridLayout6; - QGridLayout *gridLayout7; - QRadioButton *RBFieldNo; - QRadioButton *RBFieldAll; - QRadioButton *RBFieldChosen; - QTableWidget *TWField; - QSpacerItem *horizontalSpacer_5; - QCheckBox *CBAdvanced; - QSpacerItem *horizontalSpacer_4; - QGroupBox *GBAdvancedOptions; - QGridLayout *gridLayout_3; - QLabel *TLMinimalDiameter; - QDoubleSpinBox *doubleSpinBoxDiamMin; - QLabel *TLMaximalLevel; - QSpinBox *SpinBoxNivMax; - QGroupBox *GBAdapInit; - QGridLayout *gridLayout_2; - QRadioButton *RBAIN; - QRadioButton *RBAIR; - QRadioButton *RBAID; - QCheckBox *CBOutputLevel; - QCheckBox *CBOutputQuality; - QCheckBox *CBOutputDiameter; - QSpacerItem *horizontalSpacer_3; - QGroupBox *GBButtons; - QGridLayout *gridLayout8; - QPushButton *buttonOk; - QPushButton *buttonApply; - QPushButton *buttonCancel; - QPushButton *buttonHelp; - QSpacerItem *horizontalSpacer_2; - - void setupUi(QScrollArea *CreateHypothesis) - { - if (CreateHypothesis->objectName().isEmpty()) - CreateHypothesis->setObjectName(QString::fromUtf8("CreateHypothesis")); - CreateHypothesis->resize(848, 1600); - QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(CreateHypothesis->sizePolicy().hasHeightForWidth()); - CreateHypothesis->setSizePolicy(sizePolicy); - CreateHypothesis->setMinimumSize(QSize(800, 600)); - CreateHypothesis->setSizeIncrement(QSize(1, 1)); - CreateHypothesis->setBaseSize(QSize(800, 1200)); - CreateHypothesis->setWidgetResizable(true); - scrollAreaWidgetContents = new QWidget(); - scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents")); - scrollAreaWidgetContents->setGeometry(QRect(0, 0, 844, 1596)); - scrollAreaWidgetContents->setProperty("sizeGripEnabled", QVariant(true)); - gridLayout_5 = new QGridLayout(scrollAreaWidgetContents); - gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5")); - WName = new QWidget(scrollAreaWidgetContents); - WName->setObjectName(QString::fromUtf8("WName")); - gridLayout = new QGridLayout(WName); - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - Name = new QLabel(WName); - Name->setObjectName(QString::fromUtf8("Name")); - - gridLayout->addWidget(Name, 0, 0, 1, 1); - - LEName = new QLineEdit(WName); - LEName->setObjectName(QString::fromUtf8("LEName")); - LEName->setMinimumSize(QSize(282, 31)); - - gridLayout->addWidget(LEName, 0, 1, 1, 1); - - - gridLayout_5->addWidget(WName, 0, 0, 1, 1); - - horizontalSpacer_9 = new QSpacerItem(224, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout_5->addItem(horizontalSpacer_9, 0, 1, 1, 2); - - GBTypeAdaptation = new QGroupBox(scrollAreaWidgetContents); - GBTypeAdaptation->setObjectName(QString::fromUtf8("GBTypeAdaptation")); - hboxLayout = new QHBoxLayout(GBTypeAdaptation); -#ifndef Q_OS_MAC - hboxLayout->setSpacing(6); -#endif -#ifndef Q_OS_MAC - hboxLayout->setContentsMargins(9, 9, 9, 9); -#endif - hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); - RBUniforme = new QRadioButton(GBTypeAdaptation); - RBUniforme->setObjectName(QString::fromUtf8("RBUniforme")); - RBUniforme->setCheckable(true); - - hboxLayout->addWidget(RBUniforme); - - RBChamp = new QRadioButton(GBTypeAdaptation); - RBChamp->setObjectName(QString::fromUtf8("RBChamp")); - - hboxLayout->addWidget(RBChamp); - - RBZone = new QRadioButton(GBTypeAdaptation); - RBZone->setObjectName(QString::fromUtf8("RBZone")); - - hboxLayout->addWidget(RBZone); - - - gridLayout_5->addWidget(GBTypeAdaptation, 1, 0, 1, 2); - - horizontalSpacer_6 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout_5->addItem(horizontalSpacer_6, 1, 3, 1, 1); - - CBGroupe = new QCheckBox(scrollAreaWidgetContents); - CBGroupe->setObjectName(QString::fromUtf8("CBGroupe")); - - gridLayout_5->addWidget(CBGroupe, 2, 0, 1, 1); - - horizontalSpacer_8 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout_5->addItem(horizontalSpacer_8, 2, 3, 1, 1); - - GBUniform = new QGroupBox(scrollAreaWidgetContents); - GBUniform->setObjectName(QString::fromUtf8("GBUniform")); - gridLayout1 = new QGridLayout(GBUniform); -#ifndef Q_OS_MAC - gridLayout1->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout1->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); - RBUniDera = new QRadioButton(GBUniform); - RBUniDera->setObjectName(QString::fromUtf8("RBUniDera")); - - gridLayout1->addWidget(RBUniDera, 0, 1, 1, 1); - - RBUniRaff = new QRadioButton(GBUniform); - RBUniRaff->setObjectName(QString::fromUtf8("RBUniRaff")); - RBUniRaff->setChecked(true); - - gridLayout1->addWidget(RBUniRaff, 0, 0, 1, 1); - - - gridLayout_5->addWidget(GBUniform, 3, 0, 1, 1); - - horizontalSpacer_7 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout_5->addItem(horizontalSpacer_7, 3, 3, 1, 1); - - GBFieldFile = new QGroupBox(scrollAreaWidgetContents); - GBFieldFile->setObjectName(QString::fromUtf8("GBFieldFile")); - gridLayout2 = new QGridLayout(GBFieldFile); -#ifndef Q_OS_MAC - gridLayout2->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout2->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); - FieldFile = new QLabel(GBFieldFile); - FieldFile->setObjectName(QString::fromUtf8("FieldFile")); - - gridLayout2->addWidget(FieldFile, 0, 0, 1, 1); - - LEFieldFile = new QLineEdit(GBFieldFile); - LEFieldFile->setObjectName(QString::fromUtf8("LEFieldFile")); - LEFieldFile->setMinimumSize(QSize(282, 31)); - - gridLayout2->addWidget(LEFieldFile, 0, 1, 1, 1); - - - gridLayout_5->addWidget(GBFieldFile, 4, 0, 1, 2); - - GBFieldManagement = new QGroupBox(scrollAreaWidgetContents); - GBFieldManagement->setObjectName(QString::fromUtf8("GBFieldManagement")); - QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed); - sizePolicy1.setHorizontalStretch(0); - sizePolicy1.setVerticalStretch(0); - sizePolicy1.setHeightForWidth(GBFieldManagement->sizePolicy().hasHeightForWidth()); - GBFieldManagement->setSizePolicy(sizePolicy1); - gridLayout3 = new QGridLayout(GBFieldManagement); -#ifndef Q_OS_MAC - gridLayout3->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout3->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); - hboxLayout1 = new QHBoxLayout(); -#ifndef Q_OS_MAC - hboxLayout1->setSpacing(6); -#endif -#ifndef Q_OS_MAC - hboxLayout1->setContentsMargins(0, 0, 0, 0); -#endif - hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); - FieldName = new QLabel(GBFieldManagement); - FieldName->setObjectName(QString::fromUtf8("FieldName")); - - hboxLayout1->addWidget(FieldName); - - CBFieldName = new QComboBox(GBFieldManagement); - CBFieldName->setObjectName(QString::fromUtf8("CBFieldName")); - sizePolicy1.setHeightForWidth(CBFieldName->sizePolicy().hasHeightForWidth()); - CBFieldName->setSizePolicy(sizePolicy1); - CBFieldName->setEditable(false); - CBFieldName->setSizeAdjustPolicy(QComboBox::AdjustToContents); - - hboxLayout1->addWidget(CBFieldName); - - spacerItem = new QSpacerItem(48, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - hboxLayout1->addItem(spacerItem); - - - gridLayout3->addLayout(hboxLayout1, 0, 0, 1, 1); - - hboxLayout2 = new QHBoxLayout(); -#ifndef Q_OS_MAC - hboxLayout2->setSpacing(6); -#endif - hboxLayout2->setContentsMargins(0, 0, 0, 0); - hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2")); - TWCMP = new QTableWidget(GBFieldManagement); - if (TWCMP->columnCount() < 2) - TWCMP->setColumnCount(2); - QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem(); - TWCMP->setHorizontalHeaderItem(0, __qtablewidgetitem); - QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem(); - TWCMP->setHorizontalHeaderItem(1, __qtablewidgetitem1); - TWCMP->setObjectName(QString::fromUtf8("TWCMP")); - TWCMP->setEditTriggers(QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked); - TWCMP->setShowGrid(true); - TWCMP->setRowCount(0); - TWCMP->setColumnCount(2); - - hboxLayout2->addWidget(TWCMP); - - spacerItem1 = new QSpacerItem(60, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - hboxLayout2->addItem(spacerItem1); - - vboxLayout = new QVBoxLayout(); -#ifndef Q_OS_MAC - vboxLayout->setSpacing(6); -#endif - vboxLayout->setContentsMargins(0, 0, 0, 0); - vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); - hboxLayout3 = new QHBoxLayout(); -#ifndef Q_OS_MAC - hboxLayout3->setSpacing(6); -#endif -#ifndef Q_OS_MAC - hboxLayout3->setContentsMargins(0, 0, 0, 0); -#endif - hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3")); - RBL2 = new QRadioButton(GBFieldManagement); - RBL2->setObjectName(QString::fromUtf8("RBL2")); - RBL2->setChecked(true); - - hboxLayout3->addWidget(RBL2); - - RBInf = new QRadioButton(GBFieldManagement); - RBInf->setObjectName(QString::fromUtf8("RBInf")); - RBInf->setChecked(false); - - hboxLayout3->addWidget(RBInf); - - - vboxLayout->addLayout(hboxLayout3); - - CBJump = new QCheckBox(GBFieldManagement); - CBJump->setObjectName(QString::fromUtf8("CBJump")); - - vboxLayout->addWidget(CBJump); - - - hboxLayout2->addLayout(vboxLayout); - - - gridLayout3->addLayout(hboxLayout2, 1, 0, 1, 1); - - hboxLayout4 = new QHBoxLayout(); -#ifndef Q_OS_MAC - hboxLayout4->setSpacing(6); -#endif - hboxLayout4->setContentsMargins(0, 0, 0, 0); - hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4")); - GBRefinementThresholds = new QGroupBox(GBFieldManagement); - GBRefinementThresholds->setObjectName(QString::fromUtf8("GBRefinementThresholds")); - sizePolicy1.setHeightForWidth(GBRefinementThresholds->sizePolicy().hasHeightForWidth()); - GBRefinementThresholds->setSizePolicy(sizePolicy1); - gridLayout4 = new QGridLayout(GBRefinementThresholds); -#ifndef Q_OS_MAC - gridLayout4->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout4->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout4->setObjectName(QString::fromUtf8("gridLayout4")); - RBRPE = new QRadioButton(GBRefinementThresholds); - RBRPE->setObjectName(QString::fromUtf8("RBRPE")); - RBRPE->setCheckable(true); - RBRPE->setChecked(true); - - gridLayout4->addWidget(RBRPE, 0, 0, 1, 1); - - SpinBox_RPE = new QDoubleSpinBox(GBRefinementThresholds); - SpinBox_RPE->setObjectName(QString::fromUtf8("SpinBox_RPE")); - SpinBox_RPE->setDecimals(3); - SpinBox_RPE->setMaximum(100); - SpinBox_RPE->setSingleStep(0.1); - SpinBox_RPE->setValue(2); - - gridLayout4->addWidget(SpinBox_RPE, 0, 1, 1, 1); - - RBRRel = new QRadioButton(GBRefinementThresholds); - RBRRel->setObjectName(QString::fromUtf8("RBRRel")); - - gridLayout4->addWidget(RBRRel, 1, 0, 1, 1); - - SpinBox_RRel = new QDoubleSpinBox(GBRefinementThresholds); - SpinBox_RRel->setObjectName(QString::fromUtf8("SpinBox_RRel")); - SpinBox_RRel->setEnabled(false); - SpinBox_RRel->setDecimals(3); - SpinBox_RRel->setMaximum(100); - SpinBox_RRel->setSingleStep(0.1); - - gridLayout4->addWidget(SpinBox_RRel, 1, 1, 1, 1); - - RBRAbs = new QRadioButton(GBRefinementThresholds); - RBRAbs->setObjectName(QString::fromUtf8("RBRAbs")); - - gridLayout4->addWidget(RBRAbs, 2, 0, 1, 1); - - SpinBox_RAbs = new QDoubleSpinBox(GBRefinementThresholds); - SpinBox_RAbs->setObjectName(QString::fromUtf8("SpinBox_RAbs")); - SpinBox_RAbs->setEnabled(false); - SpinBox_RAbs->setDecimals(8); - SpinBox_RAbs->setMinimum(-1e+12); - SpinBox_RAbs->setMaximum(1e+12); - SpinBox_RAbs->setSingleStep(0.1); - - gridLayout4->addWidget(SpinBox_RAbs, 2, 1, 1, 1); - - RBRMuSigma = new QRadioButton(GBRefinementThresholds); - RBRMuSigma->setObjectName(QString::fromUtf8("RBRMuSigma")); - - gridLayout4->addWidget(RBRMuSigma, 3, 0, 1, 1); - - SpinBox_RMuSigma = new QDoubleSpinBox(GBRefinementThresholds); - SpinBox_RMuSigma->setObjectName(QString::fromUtf8("SpinBox_RMuSigma")); - SpinBox_RMuSigma->setEnabled(false); - SpinBox_RMuSigma->setDecimals(8); - SpinBox_RMuSigma->setMinimum(-1e+12); - SpinBox_RMuSigma->setMaximum(1e+12); - SpinBox_RMuSigma->setSingleStep(0.1); - SpinBox_RMuSigma->setValue(3); - - gridLayout4->addWidget(SpinBox_RMuSigma, 3, 1, 1, 1); - - RBRNo = new QRadioButton(GBRefinementThresholds); - RBRNo->setObjectName(QString::fromUtf8("RBRNo")); - - gridLayout4->addWidget(RBRNo, 4, 0, 1, 1); - - - hboxLayout4->addWidget(GBRefinementThresholds); - - GBCoarseningThresholds = new QGroupBox(GBFieldManagement); - GBCoarseningThresholds->setObjectName(QString::fromUtf8("GBCoarseningThresholds")); - gridLayout5 = new QGridLayout(GBCoarseningThresholds); -#ifndef Q_OS_MAC - gridLayout5->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout5->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout5->setObjectName(QString::fromUtf8("gridLayout5")); - RBCPE = new QRadioButton(GBCoarseningThresholds); - RBCPE->setObjectName(QString::fromUtf8("RBCPE")); - RBCPE->setCheckable(true); - RBCPE->setChecked(false); - - gridLayout5->addWidget(RBCPE, 0, 0, 1, 1); - - SpinBox_CPE = new QDoubleSpinBox(GBCoarseningThresholds); - SpinBox_CPE->setObjectName(QString::fromUtf8("SpinBox_CPE")); - SpinBox_CPE->setEnabled(false); - SpinBox_CPE->setDecimals(3); - SpinBox_CPE->setMaximum(100); - SpinBox_CPE->setSingleStep(0.1); - - gridLayout5->addWidget(SpinBox_CPE, 0, 1, 1, 1); - - RBCRel = new QRadioButton(GBCoarseningThresholds); - RBCRel->setObjectName(QString::fromUtf8("RBCRel")); - - gridLayout5->addWidget(RBCRel, 1, 0, 1, 1); - - SpinBox_CRel = new QDoubleSpinBox(GBCoarseningThresholds); - SpinBox_CRel->setObjectName(QString::fromUtf8("SpinBox_CRel")); - SpinBox_CRel->setEnabled(false); - SpinBox_CRel->setDecimals(3); - SpinBox_CRel->setMaximum(100); - SpinBox_CRel->setSingleStep(0.1); - - gridLayout5->addWidget(SpinBox_CRel, 1, 1, 1, 1); - - RBCAbs = new QRadioButton(GBCoarseningThresholds); - RBCAbs->setObjectName(QString::fromUtf8("RBCAbs")); - - gridLayout5->addWidget(RBCAbs, 2, 0, 1, 1); - - SpinBox_CAbs = new QDoubleSpinBox(GBCoarseningThresholds); - SpinBox_CAbs->setObjectName(QString::fromUtf8("SpinBox_CAbs")); - SpinBox_CAbs->setEnabled(false); - SpinBox_CAbs->setDecimals(8); - SpinBox_CAbs->setMinimum(-1e+12); - SpinBox_CAbs->setMaximum(1e+12); - SpinBox_CAbs->setSingleStep(0.1); - - gridLayout5->addWidget(SpinBox_CAbs, 2, 1, 1, 1); - - RBCMuSigma = new QRadioButton(GBCoarseningThresholds); - RBCMuSigma->setObjectName(QString::fromUtf8("RBCMuSigma")); - - gridLayout5->addWidget(RBCMuSigma, 3, 0, 1, 1); - - SpinBox_CMuSigma = new QDoubleSpinBox(GBCoarseningThresholds); - SpinBox_CMuSigma->setObjectName(QString::fromUtf8("SpinBox_CMuSigma")); - SpinBox_CMuSigma->setEnabled(false); - SpinBox_CMuSigma->setDecimals(8); - SpinBox_CMuSigma->setMinimum(-1e+12); - SpinBox_CMuSigma->setMaximum(1e+12); - SpinBox_CMuSigma->setSingleStep(0.1); - SpinBox_CMuSigma->setValue(4); - - gridLayout5->addWidget(SpinBox_CMuSigma, 3, 1, 1, 1); - - RBCNo = new QRadioButton(GBCoarseningThresholds); - RBCNo->setObjectName(QString::fromUtf8("RBCNo")); - RBCNo->setChecked(true); - - gridLayout5->addWidget(RBCNo, 4, 0, 1, 1); - - - hboxLayout4->addWidget(GBCoarseningThresholds); - - - gridLayout3->addLayout(hboxLayout4, 2, 0, 1, 1); - - - gridLayout_5->addWidget(GBFieldManagement, 5, 0, 1, 4); - - GBAreaManagement = new QGroupBox(scrollAreaWidgetContents); - GBAreaManagement->setObjectName(QString::fromUtf8("GBAreaManagement")); - sizePolicy1.setHeightForWidth(GBAreaManagement->sizePolicy().hasHeightForWidth()); - GBAreaManagement->setSizePolicy(sizePolicy1); - gridLayout_4 = new QGridLayout(GBAreaManagement); - gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4")); - TWZone = new QTableWidget(GBAreaManagement); - if (TWZone->columnCount() < 3) - TWZone->setColumnCount(3); - QTableWidgetItem *__qtablewidgetitem2 = new QTableWidgetItem(); - TWZone->setHorizontalHeaderItem(0, __qtablewidgetitem2); - QTableWidgetItem *__qtablewidgetitem3 = new QTableWidgetItem(); - TWZone->setHorizontalHeaderItem(1, __qtablewidgetitem3); - QTableWidgetItem *__qtablewidgetitem4 = new QTableWidgetItem(); - TWZone->setHorizontalHeaderItem(2, __qtablewidgetitem4); - TWZone->setObjectName(QString::fromUtf8("TWZone")); - TWZone->setMinimumSize(QSize(400, 0)); - TWZone->setEditTriggers(QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked); - TWZone->setShowGrid(true); - TWZone->setRowCount(0); - TWZone->setColumnCount(3); - - gridLayout_4->addWidget(TWZone, 0, 0, 1, 1); - - horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout_4->addItem(horizontalSpacer, 0, 1, 1, 1); - - vboxLayout1 = new QVBoxLayout(); -#ifndef Q_OS_MAC - vboxLayout1->setSpacing(6); -#endif - vboxLayout1->setContentsMargins(0, 0, 0, 0); - vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); - vboxLayout2 = new QVBoxLayout(); -#ifndef Q_OS_MAC - vboxLayout2->setSpacing(6); -#endif -#ifndef Q_OS_MAC - vboxLayout2->setContentsMargins(0, 0, 0, 0); -#endif - vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2")); - PBZoneNew = new QPushButton(GBAreaManagement); - PBZoneNew->setObjectName(QString::fromUtf8("PBZoneNew")); - - vboxLayout2->addWidget(PBZoneNew); - - PBZoneEdit = new QPushButton(GBAreaManagement); - PBZoneEdit->setObjectName(QString::fromUtf8("PBZoneEdit")); - - vboxLayout2->addWidget(PBZoneEdit); - - PBZoneDelete = new QPushButton(GBAreaManagement); - PBZoneDelete->setObjectName(QString::fromUtf8("PBZoneDelete")); - - vboxLayout2->addWidget(PBZoneDelete); - - - vboxLayout1->addLayout(vboxLayout2); - - spacerItem2 = new QSpacerItem(20, 48, QSizePolicy::Minimum, QSizePolicy::Expanding); - - vboxLayout1->addItem(spacerItem2); - - - gridLayout_4->addLayout(vboxLayout1, 0, 2, 1, 1); - - - gridLayout_5->addWidget(GBAreaManagement, 6, 0, 1, 3); - - GBField = new QGroupBox(scrollAreaWidgetContents); - GBField->setObjectName(QString::fromUtf8("GBField")); - gridLayout6 = new QGridLayout(GBField); -#ifndef Q_OS_MAC - gridLayout6->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout6->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout6->setObjectName(QString::fromUtf8("gridLayout6")); - gridLayout7 = new QGridLayout(); -#ifndef Q_OS_MAC - gridLayout7->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout7->setContentsMargins(0, 0, 0, 0); -#endif - gridLayout7->setObjectName(QString::fromUtf8("gridLayout7")); - RBFieldNo = new QRadioButton(GBField); - RBFieldNo->setObjectName(QString::fromUtf8("RBFieldNo")); - RBFieldNo->setChecked(true); - - gridLayout7->addWidget(RBFieldNo, 0, 0, 1, 1); - - RBFieldAll = new QRadioButton(GBField); - RBFieldAll->setObjectName(QString::fromUtf8("RBFieldAll")); - RBFieldAll->setChecked(false); - - gridLayout7->addWidget(RBFieldAll, 0, 1, 1, 1); - - RBFieldChosen = new QRadioButton(GBField); - RBFieldChosen->setObjectName(QString::fromUtf8("RBFieldChosen")); - RBFieldChosen->setChecked(false); - - gridLayout7->addWidget(RBFieldChosen, 0, 2, 1, 1); - - - gridLayout6->addLayout(gridLayout7, 0, 0, 1, 1); - - TWField = new QTableWidget(GBField); - if (TWField->columnCount() < 2) - TWField->setColumnCount(2); - QTableWidgetItem *__qtablewidgetitem5 = new QTableWidgetItem(); - TWField->setHorizontalHeaderItem(0, __qtablewidgetitem5); - QTableWidgetItem *__qtablewidgetitem6 = new QTableWidgetItem(); - TWField->setHorizontalHeaderItem(1, __qtablewidgetitem6); - TWField->setObjectName(QString::fromUtf8("TWField")); - - gridLayout6->addWidget(TWField, 1, 0, 1, 1); - - - gridLayout_5->addWidget(GBField, 7, 0, 1, 1); - - horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout_5->addItem(horizontalSpacer_5, 7, 3, 1, 1); - - CBAdvanced = new QCheckBox(scrollAreaWidgetContents); - CBAdvanced->setObjectName(QString::fromUtf8("CBAdvanced")); - - gridLayout_5->addWidget(CBAdvanced, 8, 0, 1, 1); - - horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout_5->addItem(horizontalSpacer_4, 8, 3, 1, 1); - - GBAdvancedOptions = new QGroupBox(scrollAreaWidgetContents); - GBAdvancedOptions->setObjectName(QString::fromUtf8("GBAdvancedOptions")); - gridLayout_3 = new QGridLayout(GBAdvancedOptions); - gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3")); - TLMinimalDiameter = new QLabel(GBAdvancedOptions); - TLMinimalDiameter->setObjectName(QString::fromUtf8("TLMinimalDiameter")); - sizePolicy1.setHeightForWidth(TLMinimalDiameter->sizePolicy().hasHeightForWidth()); - TLMinimalDiameter->setSizePolicy(sizePolicy1); - TLMinimalDiameter->setWordWrap(false); - - gridLayout_3->addWidget(TLMinimalDiameter, 0, 0, 1, 1); - - doubleSpinBoxDiamMin = new QDoubleSpinBox(GBAdvancedOptions); - doubleSpinBoxDiamMin->setObjectName(QString::fromUtf8("doubleSpinBoxDiamMin")); - doubleSpinBoxDiamMin->setDecimals(7); - - gridLayout_3->addWidget(doubleSpinBoxDiamMin, 0, 1, 1, 1); - - TLMaximalLevel = new QLabel(GBAdvancedOptions); - TLMaximalLevel->setObjectName(QString::fromUtf8("TLMaximalLevel")); - sizePolicy1.setHeightForWidth(TLMaximalLevel->sizePolicy().hasHeightForWidth()); - TLMaximalLevel->setSizePolicy(sizePolicy1); - TLMaximalLevel->setWordWrap(false); - - gridLayout_3->addWidget(TLMaximalLevel, 1, 0, 1, 1); - - SpinBoxNivMax = new QSpinBox(GBAdvancedOptions); - SpinBoxNivMax->setObjectName(QString::fromUtf8("SpinBoxNivMax")); - SpinBoxNivMax->setValue(99); - - gridLayout_3->addWidget(SpinBoxNivMax, 1, 1, 1, 1); - - GBAdapInit = new QGroupBox(GBAdvancedOptions); - GBAdapInit->setObjectName(QString::fromUtf8("GBAdapInit")); - gridLayout_2 = new QGridLayout(GBAdapInit); - gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2")); - RBAIN = new QRadioButton(GBAdapInit); - RBAIN->setObjectName(QString::fromUtf8("RBAIN")); - RBAIN->setChecked(true); - - gridLayout_2->addWidget(RBAIN, 0, 0, 1, 1); - - RBAIR = new QRadioButton(GBAdapInit); - RBAIR->setObjectName(QString::fromUtf8("RBAIR")); - - gridLayout_2->addWidget(RBAIR, 0, 1, 1, 1); - - RBAID = new QRadioButton(GBAdapInit); - RBAID->setObjectName(QString::fromUtf8("RBAID")); - - gridLayout_2->addWidget(RBAID, 0, 2, 1, 1); - - - gridLayout_3->addWidget(GBAdapInit, 2, 0, 1, 2); - - CBOutputLevel = new QCheckBox(GBAdvancedOptions); - CBOutputLevel->setObjectName(QString::fromUtf8("CBOutputLevel")); - - gridLayout_3->addWidget(CBOutputLevel, 3, 0, 1, 1); - - CBOutputQuality = new QCheckBox(GBAdvancedOptions); - CBOutputQuality->setObjectName(QString::fromUtf8("CBOutputQuality")); - - gridLayout_3->addWidget(CBOutputQuality, 4, 0, 1, 1); - - CBOutputDiameter = new QCheckBox(GBAdvancedOptions); - CBOutputDiameter->setObjectName(QString::fromUtf8("CBOutputDiameter")); - - gridLayout_3->addWidget(CBOutputDiameter, 5, 0, 1, 1); - - - gridLayout_5->addWidget(GBAdvancedOptions, 9, 0, 1, 1); - - horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout_5->addItem(horizontalSpacer_3, 9, 3, 1, 1); - - GBButtons = new QGroupBox(scrollAreaWidgetContents); - GBButtons->setObjectName(QString::fromUtf8("GBButtons")); - gridLayout8 = new QGridLayout(GBButtons); -#ifndef Q_OS_MAC - gridLayout8->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout8->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout8->setObjectName(QString::fromUtf8("gridLayout8")); - buttonOk = new QPushButton(GBButtons); - buttonOk->setObjectName(QString::fromUtf8("buttonOk")); - - gridLayout8->addWidget(buttonOk, 0, 0, 1, 1); - - buttonApply = new QPushButton(GBButtons); - buttonApply->setObjectName(QString::fromUtf8("buttonApply")); - - gridLayout8->addWidget(buttonApply, 0, 1, 1, 1); - - buttonCancel = new QPushButton(GBButtons); - buttonCancel->setObjectName(QString::fromUtf8("buttonCancel")); - - gridLayout8->addWidget(buttonCancel, 0, 2, 1, 1); - - buttonHelp = new QPushButton(GBButtons); - buttonHelp->setObjectName(QString::fromUtf8("buttonHelp")); - - gridLayout8->addWidget(buttonHelp, 0, 3, 1, 1); - - - gridLayout_5->addWidget(GBButtons, 10, 0, 1, 2); - - horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout_5->addItem(horizontalSpacer_2, 10, 2, 1, 1); - - CreateHypothesis->setWidget(scrollAreaWidgetContents); - - retranslateUi(CreateHypothesis); - - QMetaObject::connectSlotsByName(CreateHypothesis); - } // setupUi - - void retranslateUi(QScrollArea *CreateHypothesis) - { - CreateHypothesis->setWindowTitle(QApplication::translate("CreateHypothesis", "Create an hypothesis", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("CreateHypothesis", "Name", 0, QApplication::UnicodeUTF8)); - GBTypeAdaptation->setTitle(QApplication::translate("CreateHypothesis", "Type of adaptation", 0, QApplication::UnicodeUTF8)); - RBUniforme->setText(QApplication::translate("CreateHypothesis", "Uniform", 0, QApplication::UnicodeUTF8)); - RBChamp->setText(QApplication::translate("CreateHypothesis", "Driven by a field", 0, QApplication::UnicodeUTF8)); - RBZone->setText(QApplication::translate("CreateHypothesis", "With geometrical zones", 0, QApplication::UnicodeUTF8)); - CBGroupe->setText(QApplication::translate("CreateHypothesis", "Filtering with groups", 0, QApplication::UnicodeUTF8)); - GBUniform->setTitle(QApplication::translate("CreateHypothesis", "Uniform adaptation", 0, QApplication::UnicodeUTF8)); - RBUniDera->setText(QApplication::translate("CreateHypothesis", "Coarsening", 0, QApplication::UnicodeUTF8)); - RBUniRaff->setText(QApplication::translate("CreateHypothesis", "Refinement", 0, QApplication::UnicodeUTF8)); - GBFieldFile->setTitle(QString()); - FieldFile->setText(QApplication::translate("CreateHypothesis", "File of the fields", 0, QApplication::UnicodeUTF8)); - GBFieldManagement->setTitle(QApplication::translate("CreateHypothesis", "Governing field for the adaptation", 0, QApplication::UnicodeUTF8)); - FieldName->setText(QApplication::translate("CreateHypothesis", "Field name", 0, QApplication::UnicodeUTF8)); - QTableWidgetItem *___qtablewidgetitem = TWCMP->horizontalHeaderItem(0); - ___qtablewidgetitem->setText(QApplication::translate("CreateHypothesis", "Selection", 0, QApplication::UnicodeUTF8)); - QTableWidgetItem *___qtablewidgetitem1 = TWCMP->horizontalHeaderItem(1); - ___qtablewidgetitem1->setText(QApplication::translate("CreateHypothesis", "Component", 0, QApplication::UnicodeUTF8)); - RBL2->setText(QApplication::translate("CreateHypothesis", "L2 norm", 0, QApplication::UnicodeUTF8)); - RBInf->setText(QApplication::translate("CreateHypothesis", "Infinite norm", 0, QApplication::UnicodeUTF8)); - CBJump->setText(QApplication::translate("CreateHypothesis", "Jump between elements", 0, QApplication::UnicodeUTF8)); - GBRefinementThresholds->setTitle(QApplication::translate("CreateHypothesis", "Refinement threshold", 0, QApplication::UnicodeUTF8)); - RBRPE->setText(QApplication::translate("CreateHypothesis", "Percentage of meshes", 0, QApplication::UnicodeUTF8)); - SpinBox_RPE->setSuffix(QApplication::translate("CreateHypothesis", " %", 0, QApplication::UnicodeUTF8)); - RBRRel->setText(QApplication::translate("CreateHypothesis", "Relative", 0, QApplication::UnicodeUTF8)); - SpinBox_RRel->setSuffix(QApplication::translate("CreateHypothesis", " %", 0, QApplication::UnicodeUTF8)); - RBRAbs->setText(QApplication::translate("CreateHypothesis", "Absolute", 0, QApplication::UnicodeUTF8)); - RBRMuSigma->setText(QApplication::translate("CreateHypothesis", "Mean + n*(std deviation)", 0, QApplication::UnicodeUTF8)); - RBRNo->setText(QApplication::translate("CreateHypothesis", "No refinement", 0, QApplication::UnicodeUTF8)); - GBCoarseningThresholds->setTitle(QApplication::translate("CreateHypothesis", "Coarsening threshold", 0, QApplication::UnicodeUTF8)); - RBCPE->setText(QApplication::translate("CreateHypothesis", "Percentage of meshes", 0, QApplication::UnicodeUTF8)); - SpinBox_CPE->setSuffix(QApplication::translate("CreateHypothesis", " %", 0, QApplication::UnicodeUTF8)); - RBCRel->setText(QApplication::translate("CreateHypothesis", "Relative", 0, QApplication::UnicodeUTF8)); - SpinBox_CRel->setSuffix(QApplication::translate("CreateHypothesis", " %", 0, QApplication::UnicodeUTF8)); - RBCAbs->setText(QApplication::translate("CreateHypothesis", "Absolute", 0, QApplication::UnicodeUTF8)); - RBCMuSigma->setText(QApplication::translate("CreateHypothesis", "Mean - n*(std deviation)", 0, QApplication::UnicodeUTF8)); - RBCNo->setText(QApplication::translate("CreateHypothesis", "No coarsening", 0, QApplication::UnicodeUTF8)); - GBAreaManagement->setTitle(QApplication::translate("CreateHypothesis", "Zone management", 0, QApplication::UnicodeUTF8)); - QTableWidgetItem *___qtablewidgetitem2 = TWZone->horizontalHeaderItem(0); - ___qtablewidgetitem2->setText(QApplication::translate("CreateHypothesis", "Refinement", 0, QApplication::UnicodeUTF8)); - QTableWidgetItem *___qtablewidgetitem3 = TWZone->horizontalHeaderItem(1); - ___qtablewidgetitem3->setText(QApplication::translate("CreateHypothesis", "Coarsening", 0, QApplication::UnicodeUTF8)); - QTableWidgetItem *___qtablewidgetitem4 = TWZone->horizontalHeaderItem(2); - ___qtablewidgetitem4->setText(QApplication::translate("CreateHypothesis", "Zone name", 0, QApplication::UnicodeUTF8)); - PBZoneNew->setText(QApplication::translate("CreateHypothesis", "New", 0, QApplication::UnicodeUTF8)); - PBZoneEdit->setText(QApplication::translate("CreateHypothesis", "Edit", 0, QApplication::UnicodeUTF8)); - PBZoneDelete->setText(QString()); - GBField->setTitle(QApplication::translate("CreateHypothesis", "Field Interpolation", 0, QApplication::UnicodeUTF8)); - RBFieldNo->setText(QApplication::translate("CreateHypothesis", "None", 0, QApplication::UnicodeUTF8)); - RBFieldAll->setText(QApplication::translate("CreateHypothesis", "All", 0, QApplication::UnicodeUTF8)); - RBFieldChosen->setText(QApplication::translate("CreateHypothesis", "Chosen", 0, QApplication::UnicodeUTF8)); - QTableWidgetItem *___qtablewidgetitem5 = TWField->horizontalHeaderItem(0); - ___qtablewidgetitem5->setText(QApplication::translate("CreateHypothesis", "Selection", 0, QApplication::UnicodeUTF8)); - QTableWidgetItem *___qtablewidgetitem6 = TWField->horizontalHeaderItem(1); - ___qtablewidgetitem6->setText(QApplication::translate("CreateHypothesis", "Field Name", 0, QApplication::UnicodeUTF8)); - CBAdvanced->setText(QApplication::translate("CreateHypothesis", "Advanced options", 0, QApplication::UnicodeUTF8)); - GBAdvancedOptions->setTitle(QApplication::translate("CreateHypothesis", "Advanced options", 0, QApplication::UnicodeUTF8)); - TLMinimalDiameter->setText(QApplication::translate("CreateHypothesis", "Minimal diameter", 0, QApplication::UnicodeUTF8)); - TLMaximalLevel->setText(QApplication::translate("CreateHypothesis", "Maximal level", 0, QApplication::UnicodeUTF8)); - GBAdapInit->setTitle(QApplication::translate("CreateHypothesis", "Initialization of adaptation", 0, QApplication::UnicodeUTF8)); - RBAIN->setText(QApplication::translate("CreateHypothesis", "Nothing", 0, QApplication::UnicodeUTF8)); - RBAIR->setText(QApplication::translate("CreateHypothesis", "Refinement", 0, QApplication::UnicodeUTF8)); - RBAID->setText(QApplication::translate("CreateHypothesis", "Coarsening", 0, QApplication::UnicodeUTF8)); - CBOutputLevel->setText(QApplication::translate("CreateHypothesis", "Output of the level of refinement", 0, QApplication::UnicodeUTF8)); - CBOutputQuality->setText(QApplication::translate("CreateHypothesis", "Output of the qualities", 0, QApplication::UnicodeUTF8)); - CBOutputDiameter->setText(QApplication::translate("CreateHypothesis", "Output of the diameters", 0, QApplication::UnicodeUTF8)); - GBButtons->setTitle(QString()); - buttonOk->setText(QApplication::translate("CreateHypothesis", "OK", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateHypothesis", "Apply", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateHypothesis", "Cancel", 0, QApplication::UnicodeUTF8)); - buttonHelp->setText(QApplication::translate("CreateHypothesis", "Help", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class CreateHypothesis: public Ui_CreateHypothesis {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // CREATEHYPOTHESIS_H diff --git a/src/HOMARDGUI/CreateIteration.h b/src/HOMARDGUI/CreateIteration.h deleted file mode 100644 index 38a7e6ee..00000000 --- a/src/HOMARDGUI/CreateIteration.h +++ /dev/null @@ -1,417 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'CreateIteration.ui' -** -** Created: Wed Jan 15 08:42:25 2014 -** by: Qt User Interface Compiler version 4.6.3 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef CREATEITERATION_H -#define CREATEITERATION_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_CreateIteration -{ -public: - QWidget *scrollAreaWidgetContents; - QGridLayout *gridLayout; - QLabel *Iteration_Name; - QSpacerItem *horizontalSpacer_6; - QLineEdit *LEName; - QSpacerItem *horizontalSpacer_3; - QLabel *Iter_Parent; - QPushButton *PBIterParent; - QLineEdit *LEIterationParentName; - QLabel *Mesh_n; - QSpacerItem *horizontalSpacer_7; - QLineEdit *LEMeshName_n; - QSpacerItem *horizontalSpacer_4; - QLabel *Mesh_np1; - QSpacerItem *horizontalSpacer_8; - QLineEdit *LEMeshName_np1; - QSpacerItem *horizontalSpacer_5; - QSpacerItem *verticalSpacer; - QGroupBox *GBField; - QGridLayout *gridLayout1; - QLineEdit *LEFieldFile; - QSpacerItem *spacerItem; - QRadioButton *RBChosen; - QSpacerItem *spacerItem1; - QSpinBox *SpinBox_Rank; - QLabel *Rank; - QSpacerItem *spacerItem2; - QSpinBox *SpinBox_TimeStep; - QLabel *TimeStep; - QSpacerItem *spacerItem3; - QRadioButton *RBLast; - QRadioButton *RBNo; - QPushButton *PushFieldFile; - QLabel *FieldFile; - QSpacerItem *horizontalSpacer_10; - QSpacerItem *spacerItem4; - QGroupBox *Hypothese; - QGridLayout *gridLayout2; - QComboBox *CBHypothese; - QSpacerItem *spacerItem5; - QPushButton *PBHypoEdit; - QPushButton *PBHypoNew; - QSpacerItem *horizontalSpacer_2; - QSpacerItem *spacerItem6; - QGroupBox *GroupButtons; - QGridLayout *gridLayout3; - QPushButton *buttonOk; - QPushButton *buttonApply; - QPushButton *buttonCancel; - QPushButton *buttonHelp; - QSpacerItem *horizontalSpacer; - QSpacerItem *horizontalSpacer_9; - - void setupUi(QScrollArea *CreateIteration) - { - if (CreateIteration->objectName().isEmpty()) - CreateIteration->setObjectName(QString::fromUtf8("CreateIteration")); - CreateIteration->resize(777, 668); - QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(CreateIteration->sizePolicy().hasHeightForWidth()); - CreateIteration->setSizePolicy(sizePolicy); - CreateIteration->setMinimumSize(QSize(750, 400)); - CreateIteration->setSizeIncrement(QSize(1, 1)); - CreateIteration->setBaseSize(QSize(750, 400)); - CreateIteration->setWidgetResizable(true); - scrollAreaWidgetContents = new QWidget(); - scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents")); - scrollAreaWidgetContents->setGeometry(QRect(0, 0, 773, 664)); - scrollAreaWidgetContents->setProperty("sizeGripEnabled", QVariant(true)); - gridLayout = new QGridLayout(scrollAreaWidgetContents); - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - Iteration_Name = new QLabel(scrollAreaWidgetContents); - Iteration_Name->setObjectName(QString::fromUtf8("Iteration_Name")); - - gridLayout->addWidget(Iteration_Name, 0, 0, 1, 2); - - horizontalSpacer_6 = new QSpacerItem(117, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(horizontalSpacer_6, 0, 2, 1, 1); - - LEName = new QLineEdit(scrollAreaWidgetContents); - LEName->setObjectName(QString::fromUtf8("LEName")); - LEName->setMinimumSize(QSize(290, 21)); - LEName->setMaxLength(64); - - gridLayout->addWidget(LEName, 0, 3, 1, 2); - - horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(horizontalSpacer_3, 0, 5, 1, 1); - - Iter_Parent = new QLabel(scrollAreaWidgetContents); - Iter_Parent->setObjectName(QString::fromUtf8("Iter_Parent")); - - gridLayout->addWidget(Iter_Parent, 1, 0, 1, 2); - - PBIterParent = new QPushButton(scrollAreaWidgetContents); - PBIterParent->setObjectName(QString::fromUtf8("PBIterParent")); - PBIterParent->setEnabled(true); - PBIterParent->setMaximumSize(QSize(50, 27)); - - gridLayout->addWidget(PBIterParent, 1, 2, 1, 1); - - LEIterationParentName = new QLineEdit(scrollAreaWidgetContents); - LEIterationParentName->setObjectName(QString::fromUtf8("LEIterationParentName")); - LEIterationParentName->setMinimumSize(QSize(0, 21)); - LEIterationParentName->setMaxLength(64); - LEIterationParentName->setReadOnly(true); - - gridLayout->addWidget(LEIterationParentName, 1, 3, 1, 2); - - Mesh_n = new QLabel(scrollAreaWidgetContents); - Mesh_n->setObjectName(QString::fromUtf8("Mesh_n")); - - gridLayout->addWidget(Mesh_n, 2, 0, 1, 1); - - horizontalSpacer_7 = new QSpacerItem(117, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(horizontalSpacer_7, 2, 2, 1, 1); - - LEMeshName_n = new QLineEdit(scrollAreaWidgetContents); - LEMeshName_n->setObjectName(QString::fromUtf8("LEMeshName_n")); - LEMeshName_n->setMinimumSize(QSize(290, 21)); - LEMeshName_n->setMaxLength(64); - LEMeshName_n->setReadOnly(true); - - gridLayout->addWidget(LEMeshName_n, 2, 3, 1, 3); - - horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(horizontalSpacer_4, 2, 6, 1, 1); - - Mesh_np1 = new QLabel(scrollAreaWidgetContents); - Mesh_np1->setObjectName(QString::fromUtf8("Mesh_np1")); - - gridLayout->addWidget(Mesh_np1, 3, 0, 1, 2); - - horizontalSpacer_8 = new QSpacerItem(117, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(horizontalSpacer_8, 3, 2, 1, 1); - - LEMeshName_np1 = new QLineEdit(scrollAreaWidgetContents); - LEMeshName_np1->setObjectName(QString::fromUtf8("LEMeshName_np1")); - LEMeshName_np1->setMinimumSize(QSize(290, 21)); - LEMeshName_np1->setMaxLength(64); - - gridLayout->addWidget(LEMeshName_np1, 3, 3, 1, 3); - - horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(horizontalSpacer_5, 3, 6, 1, 1); - - verticalSpacer = new QSpacerItem(20, 62, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout->addItem(verticalSpacer, 4, 0, 1, 1); - - GBField = new QGroupBox(scrollAreaWidgetContents); - GBField->setObjectName(QString::fromUtf8("GBField")); - gridLayout1 = new QGridLayout(GBField); -#ifndef Q_OS_MAC - gridLayout1->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout1->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); - LEFieldFile = new QLineEdit(GBField); - LEFieldFile->setObjectName(QString::fromUtf8("LEFieldFile")); - LEFieldFile->setMinimumSize(QSize(282, 21)); - - gridLayout1->addWidget(LEFieldFile, 0, 2, 1, 5); - - spacerItem = new QSpacerItem(138, 18, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout1->addItem(spacerItem, 1, 3, 1, 4); - - RBChosen = new QRadioButton(GBField); - RBChosen->setObjectName(QString::fromUtf8("RBChosen")); - - gridLayout1->addWidget(RBChosen, 2, 6, 1, 1); - - spacerItem1 = new QSpacerItem(255, 13, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout1->addItem(spacerItem1, 4, 6, 1, 1); - - SpinBox_Rank = new QSpinBox(GBField); - SpinBox_Rank->setObjectName(QString::fromUtf8("SpinBox_Rank")); - SpinBox_Rank->setMinimum(-1); - SpinBox_Rank->setMaximum(1010000); - SpinBox_Rank->setValue(-1); - - gridLayout1->addWidget(SpinBox_Rank, 4, 5, 1, 1); - - Rank = new QLabel(GBField); - Rank->setObjectName(QString::fromUtf8("Rank")); - - gridLayout1->addWidget(Rank, 4, 4, 1, 1); - - spacerItem2 = new QSpacerItem(40, 13, QSizePolicy::Fixed, QSizePolicy::Minimum); - - gridLayout1->addItem(spacerItem2, 4, 2, 1, 2); - - SpinBox_TimeStep = new QSpinBox(GBField); - SpinBox_TimeStep->setObjectName(QString::fromUtf8("SpinBox_TimeStep")); - SpinBox_TimeStep->setMinimum(-2); - SpinBox_TimeStep->setMaximum(100000); - SpinBox_TimeStep->setValue(-1); - - gridLayout1->addWidget(SpinBox_TimeStep, 4, 1, 1, 1); - - TimeStep = new QLabel(GBField); - TimeStep->setObjectName(QString::fromUtf8("TimeStep")); - - gridLayout1->addWidget(TimeStep, 4, 0, 1, 1); - - spacerItem3 = new QSpacerItem(138, 28, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout1->addItem(spacerItem3, 3, 0, 1, 4); - - RBLast = new QRadioButton(GBField); - RBLast->setObjectName(QString::fromUtf8("RBLast")); - - gridLayout1->addWidget(RBLast, 2, 3, 1, 3); - - RBNo = new QRadioButton(GBField); - RBNo->setObjectName(QString::fromUtf8("RBNo")); - RBNo->setCheckable(true); - RBNo->setChecked(true); - - gridLayout1->addWidget(RBNo, 2, 0, 1, 3); - - PushFieldFile = new QPushButton(GBField); - PushFieldFile->setObjectName(QString::fromUtf8("PushFieldFile")); - - gridLayout1->addWidget(PushFieldFile, 0, 1, 1, 1); - - FieldFile = new QLabel(GBField); - FieldFile->setObjectName(QString::fromUtf8("FieldFile")); - - gridLayout1->addWidget(FieldFile, 0, 0, 1, 1); - - - gridLayout->addWidget(GBField, 5, 0, 1, 6); - - horizontalSpacer_10 = new QSpacerItem(69, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(horizontalSpacer_10, 5, 6, 1, 1); - - spacerItem4 = new QSpacerItem(20, 22, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout->addItem(spacerItem4, 6, 0, 1, 1); - - Hypothese = new QGroupBox(scrollAreaWidgetContents); - Hypothese->setObjectName(QString::fromUtf8("Hypothese")); - gridLayout2 = new QGridLayout(Hypothese); -#ifndef Q_OS_MAC - gridLayout2->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout2->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); - CBHypothese = new QComboBox(Hypothese); - CBHypothese->setObjectName(QString::fromUtf8("CBHypothese")); - CBHypothese->setSizeAdjustPolicy(QComboBox::AdjustToContents); - - gridLayout2->addWidget(CBHypothese, 0, 0, 1, 1); - - spacerItem5 = new QSpacerItem(40, 13, QSizePolicy::Fixed, QSizePolicy::Minimum); - - gridLayout2->addItem(spacerItem5, 0, 1, 1, 1); - - PBHypoEdit = new QPushButton(Hypothese); - PBHypoEdit->setObjectName(QString::fromUtf8("PBHypoEdit")); - - gridLayout2->addWidget(PBHypoEdit, 0, 2, 1, 1); - - PBHypoNew = new QPushButton(Hypothese); - PBHypoNew->setObjectName(QString::fromUtf8("PBHypoNew")); - - gridLayout2->addWidget(PBHypoNew, 0, 3, 1, 1); - - - gridLayout->addWidget(Hypothese, 7, 0, 1, 4); - - horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(horizontalSpacer_2, 7, 4, 1, 2); - - spacerItem6 = new QSpacerItem(20, 21, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout->addItem(spacerItem6, 8, 1, 1, 1); - - GroupButtons = new QGroupBox(scrollAreaWidgetContents); - GroupButtons->setObjectName(QString::fromUtf8("GroupButtons")); - gridLayout3 = new QGridLayout(GroupButtons); -#ifndef Q_OS_MAC - gridLayout3->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout3->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); - buttonOk = new QPushButton(GroupButtons); - buttonOk->setObjectName(QString::fromUtf8("buttonOk")); - buttonOk->setAutoDefault(false); - buttonOk->setDefault(false); - - gridLayout3->addWidget(buttonOk, 0, 0, 1, 1); - - buttonApply = new QPushButton(GroupButtons); - buttonApply->setObjectName(QString::fromUtf8("buttonApply")); - - gridLayout3->addWidget(buttonApply, 0, 1, 1, 1); - - buttonCancel = new QPushButton(GroupButtons); - buttonCancel->setObjectName(QString::fromUtf8("buttonCancel")); - - gridLayout3->addWidget(buttonCancel, 0, 2, 1, 1); - - buttonHelp = new QPushButton(GroupButtons); - buttonHelp->setObjectName(QString::fromUtf8("buttonHelp")); - - gridLayout3->addWidget(buttonHelp, 0, 3, 1, 1); - - - gridLayout->addWidget(GroupButtons, 9, 0, 1, 4); - - horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(horizontalSpacer, 9, 4, 1, 2); - - horizontalSpacer_9 = new QSpacerItem(139, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(horizontalSpacer_9, 1, 5, 1, 1); - - CreateIteration->setWidget(scrollAreaWidgetContents); - - retranslateUi(CreateIteration); - - CBHypothese->setCurrentIndex(-1); - - - QMetaObject::connectSlotsByName(CreateIteration); - } // setupUi - - void retranslateUi(QScrollArea *CreateIteration) - { - CreateIteration->setWindowTitle(QApplication::translate("CreateIteration", "Create an iteration", 0, QApplication::UnicodeUTF8)); - Iteration_Name->setText(QApplication::translate("CreateIteration", "Iteration Name", 0, QApplication::UnicodeUTF8)); - Iter_Parent->setText(QApplication::translate("CreateIteration", "Previous iteration", 0, QApplication::UnicodeUTF8)); - PBIterParent->setText(QString()); - Mesh_n->setText(QApplication::translate("CreateIteration", "Mesh n", 0, QApplication::UnicodeUTF8)); - Mesh_np1->setText(QApplication::translate("CreateIteration", "Mesh n+1", 0, QApplication::UnicodeUTF8)); - GBField->setTitle(QApplication::translate("CreateIteration", "Field information", 0, QApplication::UnicodeUTF8)); - RBChosen->setText(QApplication::translate("CreateIteration", "Chosen time step", 0, QApplication::UnicodeUTF8)); - Rank->setText(QApplication::translate("CreateIteration", "Rank", 0, QApplication::UnicodeUTF8)); - TimeStep->setText(QApplication::translate("CreateIteration", "Time step", 0, QApplication::UnicodeUTF8)); - RBLast->setText(QApplication::translate("CreateIteration", "Last time step", 0, QApplication::UnicodeUTF8)); - RBNo->setText(QApplication::translate("CreateIteration", "No time step", 0, QApplication::UnicodeUTF8)); - PushFieldFile->setText(QString()); - FieldFile->setText(QApplication::translate("CreateIteration", "Field file", 0, QApplication::UnicodeUTF8)); - Hypothese->setTitle(QApplication::translate("CreateIteration", "Hypothesis", 0, QApplication::UnicodeUTF8)); - PBHypoEdit->setText(QApplication::translate("CreateIteration", "Edit", 0, QApplication::UnicodeUTF8)); - PBHypoNew->setText(QApplication::translate("CreateIteration", "New", 0, QApplication::UnicodeUTF8)); - GroupButtons->setTitle(QString()); - buttonOk->setText(QApplication::translate("CreateIteration", "OK", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateIteration", "Apply", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateIteration", "Cancel", 0, QApplication::UnicodeUTF8)); - buttonHelp->setText(QApplication::translate("CreateIteration", "Help", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class CreateIteration: public Ui_CreateIteration {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // CREATEITERATION_H diff --git a/src/HOMARDGUI/CreateListGroup.h b/src/HOMARDGUI/CreateListGroup.h deleted file mode 100644 index f57ebc20..00000000 --- a/src/HOMARDGUI/CreateListGroup.h +++ /dev/null @@ -1,136 +0,0 @@ -/******************************************************************************** -** Form generated from reading ui file 'CreateListGroup.ui' -** -** Created: Thu Sep 1 16:35:32 2011 -** by: Qt User Interface Compiler version 4.2.1 -** -** WARNING! All changes made in this file will be lost when recompiling ui file! -********************************************************************************/ - -#ifndef CREATELISTGROUP_H -#define CREATELISTGROUP_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class Ui_CreateListGroup -{ -public: - QGridLayout *gridLayout; - QGroupBox *GBButtons; - QGridLayout *gridLayout1; - QPushButton *buttonHelp; - QPushButton *buttonCancel; - QPushButton *buttonApply; - QPushButton *buttonOk; - QGroupBox *GBOptions; - QGridLayout *gridLayout2; - QTableWidget *TWGroupe; - - void setupUi(QDialog *CreateListGroup) - { - CreateListGroup->setObjectName(QString::fromUtf8("CreateListGroup")); - QSizePolicy sizePolicy(static_cast(0), static_cast(0)); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(CreateListGroup->sizePolicy().hasHeightForWidth()); - CreateListGroup->setSizePolicy(sizePolicy); - CreateListGroup->setAutoFillBackground(true); - CreateListGroup->setSizeGripEnabled(true); - gridLayout = new QGridLayout(CreateListGroup); - gridLayout->setSpacing(6); - gridLayout->setMargin(9); - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - GBButtons = new QGroupBox(CreateListGroup); - GBButtons->setObjectName(QString::fromUtf8("GBButtons")); - gridLayout1 = new QGridLayout(GBButtons); - gridLayout1->setSpacing(6); - gridLayout1->setMargin(9); - gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); - buttonHelp = new QPushButton(GBButtons); - buttonHelp->setObjectName(QString::fromUtf8("buttonHelp")); - - gridLayout1->addWidget(buttonHelp, 0, 3, 1, 1); - - buttonCancel = new QPushButton(GBButtons); - buttonCancel->setObjectName(QString::fromUtf8("buttonCancel")); - - gridLayout1->addWidget(buttonCancel, 0, 2, 1, 1); - - buttonApply = new QPushButton(GBButtons); - buttonApply->setObjectName(QString::fromUtf8("buttonApply")); - - gridLayout1->addWidget(buttonApply, 0, 1, 1, 1); - - buttonOk = new QPushButton(GBButtons); - buttonOk->setObjectName(QString::fromUtf8("buttonOk")); - - gridLayout1->addWidget(buttonOk, 0, 0, 1, 1); - - - gridLayout->addWidget(GBButtons, 1, 0, 1, 1); - - GBOptions = new QGroupBox(CreateListGroup); - GBOptions->setObjectName(QString::fromUtf8("GBOptions")); - gridLayout2 = new QGridLayout(GBOptions); - gridLayout2->setSpacing(6); - gridLayout2->setMargin(9); - gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); - TWGroupe = new QTableWidget(GBOptions); - TWGroupe->setObjectName(QString::fromUtf8("TWGroupe")); - TWGroupe->setShowGrid(true); - TWGroupe->setRowCount(0); - TWGroupe->setColumnCount(2); - - gridLayout2->addWidget(TWGroupe, 0, 0, 1, 1); - - - gridLayout->addWidget(GBOptions, 0, 0, 1, 1); - - - retranslateUi(CreateListGroup); - - QSize size(717, 600); - size = size.expandedTo(CreateListGroup->minimumSizeHint()); - CreateListGroup->resize(size); - - - QMetaObject::connectSlotsByName(CreateListGroup); - } // setupUi - - void retranslateUi(QDialog *CreateListGroup) - { - CreateListGroup->setWindowTitle(QApplication::translate("CreateListGroup", "Selection of groups", 0, QApplication::UnicodeUTF8)); - GBButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("CreateListGroup", "Help", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateListGroup", "Cancel", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateListGroup", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("CreateListGroup", "OK", 0, QApplication::UnicodeUTF8)); - GBOptions->setTitle(QApplication::translate("CreateListGroup", "Selected groups", 0, QApplication::UnicodeUTF8)); - if (TWGroupe->columnCount() < 2) - TWGroupe->setColumnCount(2); - - QTableWidgetItem *__colItem = new QTableWidgetItem(); - __colItem->setText(QApplication::translate("CreateListGroup", "Selection", 0, QApplication::UnicodeUTF8)); - TWGroupe->setHorizontalHeaderItem(0, __colItem); - - QTableWidgetItem *__colItem1 = new QTableWidgetItem(); - __colItem1->setText(QApplication::translate("CreateListGroup", "Group", 0, QApplication::UnicodeUTF8)); - TWGroupe->setHorizontalHeaderItem(1, __colItem1); - Q_UNUSED(CreateListGroup); - } // retranslateUi - -}; - -namespace Ui { - class CreateListGroup: public Ui_CreateListGroup {}; -} // namespace Ui - -#endif // CREATELISTGROUP_H diff --git a/src/HOMARDGUI/CreateYACS.h b/src/HOMARDGUI/CreateYACS.h deleted file mode 100644 index ff732b73..00000000 --- a/src/HOMARDGUI/CreateYACS.h +++ /dev/null @@ -1,446 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'CreateYACS.ui' -** -** Created: Mon Jan 20 13:23:30 2014 -** by: Qt User Interface Compiler version 4.6.3 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef CREATEYACS_H -#define CREATEYACS_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_CreateYACS -{ -public: - QWidget *scrollAreaWidgetContents; - QGridLayout *gridLayout_5; - QWidget *WName; - QGridLayout *gridLayout_2; - QLabel *Name; - QLineEdit *LEName; - QSpacerItem *horizontalSpacer; - QGridLayout *gridLayout; - QLabel *Case; - QPushButton *PBCaseName; - QLineEdit *LECaseName; - QHBoxLayout *_2; - QLabel *Script; - QPushButton *PBScriptFile; - QLineEdit *LEScriptFile; - QHBoxLayout *hboxLayout; - QLabel *DirectoryStart; - QPushButton *PBDir; - QLineEdit *LEDirName; - QHBoxLayout *_3; - QLabel *MeshFile; - QPushButton *PBMeshFile; - QLineEdit *LEMeshFile; - QGroupBox *GBTypeSchema; - QHBoxLayout *_4; - QRadioButton *RBConstant; - QRadioButton *RBVariable; - QGroupBox *GBMax; - QGridLayout *gridLayout_3; - QLabel *TLMaxIteration; - QSpinBox *SpinBoxMaxIter; - QLabel *TLMaxNodes; - QSpinBox *SpinBoxMaxNode; - QLabel *TLMaxElem; - QSpinBox *SpinBoxMaxElem; - QSpacerItem *horizontalSpacer_2; - QGroupBox *GBConvergence; - QGridLayout *gridLayout_4; - QRadioButton *RBNone; - QRadioButton *RBVMinAbs; - QRadioButton *RBVMaxAbs; - QLabel *labelVref; - QDoubleSpinBox *doubleSpinBoxConvergence; - QSpacerItem *horizontalSpacer_3; - QGroupBox *GroupButtons; - QGridLayout *gridLayout1; - QPushButton *buttonHelp; - QPushButton *buttonApply; - QPushButton *buttonOk; - QPushButton *buttonCancel; - QSpacerItem *spacer_2; - - void setupUi(QScrollArea *CreateYACS) - { - if (CreateYACS->objectName().isEmpty()) - CreateYACS->setObjectName(QString::fromUtf8("CreateYACS")); - CreateYACS->resize(684, 649); - QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(CreateYACS->sizePolicy().hasHeightForWidth()); - CreateYACS->setSizePolicy(sizePolicy); - CreateYACS->setMinimumSize(QSize(600, 500)); - CreateYACS->setSizeIncrement(QSize(1, 1)); - CreateYACS->setBaseSize(QSize(600, 500)); - CreateYACS->setWidgetResizable(true); - scrollAreaWidgetContents = new QWidget(); - scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents")); - scrollAreaWidgetContents->setGeometry(QRect(0, 0, 680, 645)); - scrollAreaWidgetContents->setProperty("sizeGripEnabled", QVariant(true)); - gridLayout_5 = new QGridLayout(scrollAreaWidgetContents); - gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5")); - WName = new QWidget(scrollAreaWidgetContents); - WName->setObjectName(QString::fromUtf8("WName")); - gridLayout_2 = new QGridLayout(WName); - gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2")); - Name = new QLabel(WName); - Name->setObjectName(QString::fromUtf8("Name")); - - gridLayout_2->addWidget(Name, 0, 0, 1, 1); - - LEName = new QLineEdit(WName); - LEName->setObjectName(QString::fromUtf8("LEName")); - LEName->setMaxLength(32); - - gridLayout_2->addWidget(LEName, 0, 1, 1, 1); - - - gridLayout_5->addWidget(WName, 0, 0, 1, 1); - - horizontalSpacer = new QSpacerItem(131, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout_5->addItem(horizontalSpacer, 0, 1, 1, 1); - - gridLayout = new QGridLayout(); - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - Case = new QLabel(scrollAreaWidgetContents); - Case->setObjectName(QString::fromUtf8("Case")); - - gridLayout->addWidget(Case, 0, 0, 1, 1); - - PBCaseName = new QPushButton(scrollAreaWidgetContents); - PBCaseName->setObjectName(QString::fromUtf8("PBCaseName")); - PBCaseName->setEnabled(true); - PBCaseName->setMaximumSize(QSize(50, 27)); - - gridLayout->addWidget(PBCaseName, 0, 1, 1, 1); - - LECaseName = new QLineEdit(scrollAreaWidgetContents); - LECaseName->setObjectName(QString::fromUtf8("LECaseName")); - LECaseName->setMinimumSize(QSize(382, 21)); - - gridLayout->addWidget(LECaseName, 0, 2, 1, 1); - - - gridLayout_5->addLayout(gridLayout, 1, 0, 1, 2); - - _2 = new QHBoxLayout(); -#ifndef Q_OS_MAC - _2->setSpacing(6); -#endif - _2->setContentsMargins(0, 0, 0, 0); - _2->setObjectName(QString::fromUtf8("_2")); - Script = new QLabel(scrollAreaWidgetContents); - Script->setObjectName(QString::fromUtf8("Script")); - - _2->addWidget(Script); - - PBScriptFile = new QPushButton(scrollAreaWidgetContents); - PBScriptFile->setObjectName(QString::fromUtf8("PBScriptFile")); - PBScriptFile->setAutoDefault(false); - - _2->addWidget(PBScriptFile); - - LEScriptFile = new QLineEdit(scrollAreaWidgetContents); - LEScriptFile->setObjectName(QString::fromUtf8("LEScriptFile")); - LEScriptFile->setMinimumSize(QSize(382, 21)); - - _2->addWidget(LEScriptFile); - - - gridLayout_5->addLayout(_2, 2, 0, 1, 2); - - hboxLayout = new QHBoxLayout(); -#ifndef Q_OS_MAC - hboxLayout->setSpacing(6); -#endif - hboxLayout->setContentsMargins(0, 0, 0, 0); - hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); - DirectoryStart = new QLabel(scrollAreaWidgetContents); - DirectoryStart->setObjectName(QString::fromUtf8("DirectoryStart")); - - hboxLayout->addWidget(DirectoryStart); - - PBDir = new QPushButton(scrollAreaWidgetContents); - PBDir->setObjectName(QString::fromUtf8("PBDir")); - PBDir->setAutoDefault(false); - - hboxLayout->addWidget(PBDir); - - LEDirName = new QLineEdit(scrollAreaWidgetContents); - LEDirName->setObjectName(QString::fromUtf8("LEDirName")); - LEDirName->setMinimumSize(QSize(382, 21)); - - hboxLayout->addWidget(LEDirName); - - - gridLayout_5->addLayout(hboxLayout, 3, 0, 1, 2); - - _3 = new QHBoxLayout(); -#ifndef Q_OS_MAC - _3->setSpacing(6); -#endif - _3->setContentsMargins(0, 0, 0, 0); - _3->setObjectName(QString::fromUtf8("_3")); - MeshFile = new QLabel(scrollAreaWidgetContents); - MeshFile->setObjectName(QString::fromUtf8("MeshFile")); - - _3->addWidget(MeshFile); - - PBMeshFile = new QPushButton(scrollAreaWidgetContents); - PBMeshFile->setObjectName(QString::fromUtf8("PBMeshFile")); - PBMeshFile->setAutoDefault(false); - - _3->addWidget(PBMeshFile); - - LEMeshFile = new QLineEdit(scrollAreaWidgetContents); - LEMeshFile->setObjectName(QString::fromUtf8("LEMeshFile")); - LEMeshFile->setMinimumSize(QSize(382, 21)); - - _3->addWidget(LEMeshFile); - - - gridLayout_5->addLayout(_3, 4, 0, 1, 2); - - GBTypeSchema = new QGroupBox(scrollAreaWidgetContents); - GBTypeSchema->setObjectName(QString::fromUtf8("GBTypeSchema")); - _4 = new QHBoxLayout(GBTypeSchema); -#ifndef Q_OS_MAC - _4->setSpacing(6); -#endif -#ifndef Q_OS_MAC - _4->setContentsMargins(9, 9, 9, 9); -#endif - _4->setObjectName(QString::fromUtf8("_4")); - RBConstant = new QRadioButton(GBTypeSchema); - RBConstant->setObjectName(QString::fromUtf8("RBConstant")); - RBConstant->setChecked(true); - - _4->addWidget(RBConstant); - - RBVariable = new QRadioButton(GBTypeSchema); - RBVariable->setObjectName(QString::fromUtf8("RBVariable")); - - _4->addWidget(RBVariable); - - - gridLayout_5->addWidget(GBTypeSchema, 5, 0, 1, 1); - - GBMax = new QGroupBox(scrollAreaWidgetContents); - GBMax->setObjectName(QString::fromUtf8("GBMax")); - gridLayout_3 = new QGridLayout(GBMax); - gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3")); - TLMaxIteration = new QLabel(GBMax); - TLMaxIteration->setObjectName(QString::fromUtf8("TLMaxIteration")); - QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed); - sizePolicy1.setHorizontalStretch(0); - sizePolicy1.setVerticalStretch(0); - sizePolicy1.setHeightForWidth(TLMaxIteration->sizePolicy().hasHeightForWidth()); - TLMaxIteration->setSizePolicy(sizePolicy1); - TLMaxIteration->setWordWrap(false); - - gridLayout_3->addWidget(TLMaxIteration, 0, 0, 1, 1); - - SpinBoxMaxIter = new QSpinBox(GBMax); - SpinBoxMaxIter->setObjectName(QString::fromUtf8("SpinBoxMaxIter")); - SpinBoxMaxIter->setMinimum(0); - SpinBoxMaxIter->setMaximum(999999999); - SpinBoxMaxIter->setValue(0); - - gridLayout_3->addWidget(SpinBoxMaxIter, 0, 1, 1, 1); - - TLMaxNodes = new QLabel(GBMax); - TLMaxNodes->setObjectName(QString::fromUtf8("TLMaxNodes")); - sizePolicy1.setHeightForWidth(TLMaxNodes->sizePolicy().hasHeightForWidth()); - TLMaxNodes->setSizePolicy(sizePolicy1); - TLMaxNodes->setWordWrap(false); - - gridLayout_3->addWidget(TLMaxNodes, 1, 0, 1, 1); - - SpinBoxMaxNode = new QSpinBox(GBMax); - SpinBoxMaxNode->setObjectName(QString::fromUtf8("SpinBoxMaxNode")); - SpinBoxMaxNode->setMinimum(0); - SpinBoxMaxNode->setMaximum(999999999); - SpinBoxMaxNode->setSingleStep(1000); - SpinBoxMaxNode->setValue(0); - - gridLayout_3->addWidget(SpinBoxMaxNode, 1, 1, 1, 1); - - TLMaxElem = new QLabel(GBMax); - TLMaxElem->setObjectName(QString::fromUtf8("TLMaxElem")); - sizePolicy1.setHeightForWidth(TLMaxElem->sizePolicy().hasHeightForWidth()); - TLMaxElem->setSizePolicy(sizePolicy1); - TLMaxElem->setWordWrap(false); - - gridLayout_3->addWidget(TLMaxElem, 1, 2, 1, 1); - - SpinBoxMaxElem = new QSpinBox(GBMax); - SpinBoxMaxElem->setObjectName(QString::fromUtf8("SpinBoxMaxElem")); - SpinBoxMaxElem->setMinimum(0); - SpinBoxMaxElem->setMaximum(999999999); - SpinBoxMaxElem->setSingleStep(1000); - SpinBoxMaxElem->setValue(0); - - gridLayout_3->addWidget(SpinBoxMaxElem, 1, 3, 1, 1); - - - gridLayout_5->addWidget(GBMax, 6, 0, 1, 1); - - horizontalSpacer_2 = new QSpacerItem(269, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout_5->addItem(horizontalSpacer_2, 6, 1, 1, 1); - - GBConvergence = new QGroupBox(scrollAreaWidgetContents); - GBConvergence->setObjectName(QString::fromUtf8("GBConvergence")); - gridLayout_4 = new QGridLayout(GBConvergence); - gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4")); - RBNone = new QRadioButton(GBConvergence); - RBNone->setObjectName(QString::fromUtf8("RBNone")); - RBNone->setChecked(true); - - gridLayout_4->addWidget(RBNone, 0, 0, 1, 1); - - RBVMinAbs = new QRadioButton(GBConvergence); - RBVMinAbs->setObjectName(QString::fromUtf8("RBVMinAbs")); - - gridLayout_4->addWidget(RBVMinAbs, 0, 1, 1, 1); - - RBVMaxAbs = new QRadioButton(GBConvergence); - RBVMaxAbs->setObjectName(QString::fromUtf8("RBVMaxAbs")); - - gridLayout_4->addWidget(RBVMaxAbs, 0, 2, 1, 1); - - labelVref = new QLabel(GBConvergence); - labelVref->setObjectName(QString::fromUtf8("labelVref")); - - gridLayout_4->addWidget(labelVref, 1, 0, 1, 1); - - doubleSpinBoxConvergence = new QDoubleSpinBox(GBConvergence); - doubleSpinBoxConvergence->setObjectName(QString::fromUtf8("doubleSpinBoxConvergence")); - doubleSpinBoxConvergence->setDecimals(4); - doubleSpinBoxConvergence->setMinimum(-1e+09); - doubleSpinBoxConvergence->setMaximum(1e+09); - - gridLayout_4->addWidget(doubleSpinBoxConvergence, 1, 1, 1, 1); - - - gridLayout_5->addWidget(GBConvergence, 7, 0, 1, 1); - - horizontalSpacer_3 = new QSpacerItem(269, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout_5->addItem(horizontalSpacer_3, 7, 1, 1, 1); - - GroupButtons = new QGroupBox(scrollAreaWidgetContents); - GroupButtons->setObjectName(QString::fromUtf8("GroupButtons")); - gridLayout1 = new QGridLayout(GroupButtons); -#ifndef Q_OS_MAC - gridLayout1->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout1->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); - buttonHelp = new QPushButton(GroupButtons); - buttonHelp->setObjectName(QString::fromUtf8("buttonHelp")); - buttonHelp->setAutoDefault(false); - - gridLayout1->addWidget(buttonHelp, 0, 4, 1, 1); - - buttonApply = new QPushButton(GroupButtons); - buttonApply->setObjectName(QString::fromUtf8("buttonApply")); - buttonApply->setAutoDefault(false); - - gridLayout1->addWidget(buttonApply, 0, 1, 1, 1); - - buttonOk = new QPushButton(GroupButtons); - buttonOk->setObjectName(QString::fromUtf8("buttonOk")); - buttonOk->setAutoDefault(false); - - gridLayout1->addWidget(buttonOk, 0, 0, 1, 1); - - buttonCancel = new QPushButton(GroupButtons); - buttonCancel->setObjectName(QString::fromUtf8("buttonCancel")); - buttonCancel->setAutoDefault(false); - - gridLayout1->addWidget(buttonCancel, 0, 2, 1, 1); - - - gridLayout_5->addWidget(GroupButtons, 8, 0, 1, 1); - - spacer_2 = new QSpacerItem(128, 25, QSizePolicy::Fixed, QSizePolicy::Minimum); - - gridLayout_5->addItem(spacer_2, 8, 1, 1, 1); - - CreateYACS->setWidget(scrollAreaWidgetContents); - - retranslateUi(CreateYACS); - - QMetaObject::connectSlotsByName(CreateYACS); - } // setupUi - - void retranslateUi(QScrollArea *CreateYACS) - { - CreateYACS->setWindowTitle(QApplication::translate("CreateYACS", "Create YACS", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("CreateYACS", "Name", 0, QApplication::UnicodeUTF8)); - Case->setText(QApplication::translate("CreateYACS", "Case", 0, QApplication::UnicodeUTF8)); - PBCaseName->setText(QString()); - Script->setText(QApplication::translate("CreateYACS", "Script", 0, QApplication::UnicodeUTF8)); - PBScriptFile->setText(QString()); - DirectoryStart->setText(QApplication::translate("CreateYACS", "Directory", 0, QApplication::UnicodeUTF8)); - PBDir->setText(QString()); - MeshFile->setText(QApplication::translate("CreateYACS", "Mesh file", 0, QApplication::UnicodeUTF8)); - PBMeshFile->setText(QString()); - GBTypeSchema->setTitle(QApplication::translate("CreateYACS", "Type of schema", 0, QApplication::UnicodeUTF8)); - RBConstant->setText(QApplication::translate("CreateYACS", "Constant", 0, QApplication::UnicodeUTF8)); - RBVariable->setText(QApplication::translate("CreateYACS", "Variable", 0, QApplication::UnicodeUTF8)); - GBMax->setTitle(QApplication::translate("CreateYACS", "Maximum of ...", 0, QApplication::UnicodeUTF8)); - TLMaxIteration->setText(QApplication::translate("CreateYACS", "Iterations", 0, QApplication::UnicodeUTF8)); - TLMaxNodes->setText(QApplication::translate("CreateYACS", "Nodes", 0, QApplication::UnicodeUTF8)); - TLMaxElem->setText(QApplication::translate("CreateYACS", "Elements", 0, QApplication::UnicodeUTF8)); - GBConvergence->setTitle(QApplication::translate("CreateYACS", "Test of convergence", 0, QApplication::UnicodeUTF8)); - RBNone->setText(QApplication::translate("CreateYACS", "None", 0, QApplication::UnicodeUTF8)); - RBVMinAbs->setText(QApplication::translate("CreateYACS", "Vtest > Vref", 0, QApplication::UnicodeUTF8)); - RBVMaxAbs->setText(QApplication::translate("CreateYACS", "Vtest < Vref", 0, QApplication::UnicodeUTF8)); - labelVref->setText(QApplication::translate("CreateYACS", "Vref", 0, QApplication::UnicodeUTF8)); - GroupButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("CreateYACS", "Help", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateYACS", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("CreateYACS", "OK", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateYACS", "Cancel", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class CreateYACS: public Ui_CreateYACS {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // CREATEYACS_H diff --git a/src/HOMARDGUI/CreateZone.h b/src/HOMARDGUI/CreateZone.h deleted file mode 100644 index 74f50886..00000000 --- a/src/HOMARDGUI/CreateZone.h +++ /dev/null @@ -1,807 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'CreateZone.ui' -** -** Created: Wed Jan 15 14:45:55 2014 -** by: Qt User Interface Compiler version 4.6.3 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef CREATEZONE_H -#define CREATEZONE_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_CreateZone -{ -public: - QGridLayout *gridLayout; - QLabel *Name; - QLineEdit *LEName; - QSpacerItem *horizontalSpacer_3; - QGroupBox *TypeZone; - QGridLayout *gridLayout1; - QRadioButton *RBSphere; - QRadioButton *RBPipe; - QRadioButton *RBCylinder; - QRadioButton *RBBox; - QSpacerItem *horizontalSpacer_2; - QGroupBox *gBBox; - QGridLayout *gridLayout2; - QLabel *TLXmini; - QDoubleSpinBox *SpinBox_Xmini; - QLabel *TLYmini; - QDoubleSpinBox *SpinBox_Ymini; - QLabel *TLZmini; - QDoubleSpinBox *SpinBox_Zmini; - QLabel *TLXmaxi; - QLabel *TLZmaxi; - QDoubleSpinBox *SpinBox_Zmaxi; - QLabel *TLYmaxi; - QDoubleSpinBox *SpinBox_Xmaxi; - QDoubleSpinBox *SpinBox_Ymaxi; - QGroupBox *gBSphere; - QGridLayout *gridLayout3; - QLabel *TLXcentre; - QDoubleSpinBox *SpinBox_Xcentre; - QLabel *TLYcentre; - QDoubleSpinBox *SpinBox_Ycentre; - QLabel *TLRayon; - QDoubleSpinBox *SpinBox_Rayon; - QLabel *TLZcentre; - QDoubleSpinBox *SpinBox_Zcentre; - QGroupBox *gBCylindre; - QGridLayout *gridLayout4; - QDoubleSpinBox *SpinBox_Haut; - QLabel *TLHaut; - QLabel *TLRadius; - QDoubleSpinBox *SpinBox_Xaxis; - QDoubleSpinBox *SpinBox_Yaxis; - QDoubleSpinBox *SpinBox_Zaxis; - QLabel *TLZaxis; - QLabel *TLYaxis; - QLabel *TLXaxis; - QDoubleSpinBox *SpinBox_Ybase; - QLabel *TLYbase; - QLabel *TLZbase; - QDoubleSpinBox *SpinBox_Zbase; - QDoubleSpinBox *SpinBox_Radius; - QLabel *TLXbase; - QDoubleSpinBox *SpinBox_Xbase; - QGroupBox *gBPipe; - QGridLayout *gridLayout5; - QLabel *TLHaut_p; - QDoubleSpinBox *SpinBox_Xbase_p; - QLabel *TLXbase_p; - QDoubleSpinBox *SpinBox_Radius_int; - QDoubleSpinBox *SpinBox_Zbase_p; - QLabel *TLRadius_int; - QLabel *TLZbase_p; - QLabel *TLYbase_p; - QDoubleSpinBox *SpinBox_Ybase_p; - QLabel *TLXaxis_p; - QLabel *TLYaxis_p; - QLabel *TLZaxis_p; - QDoubleSpinBox *SpinBox_Zaxis_p; - QDoubleSpinBox *SpinBox_Yaxis_p; - QDoubleSpinBox *SpinBox_Xaxis_p; - QDoubleSpinBox *SpinBox_Radius_ext; - QLabel *TLRadius_ext; - QDoubleSpinBox *SpinBox_Haut_p; - QGroupBox *GBButtons; - QGridLayout *gridLayout6; - QPushButton *buttonHelp; - QPushButton *buttonCancel; - QPushButton *buttonApply; - QPushButton *buttonOk; - QSpacerItem *horizontalSpacer; - - void setupUi(QDialog *CreateZone) - { - if (CreateZone->objectName().isEmpty()) - CreateZone->setObjectName(QString::fromUtf8("CreateZone")); - CreateZone->resize(545, 778); - CreateZone->setSizeIncrement(QSize(1, 1)); - CreateZone->setBaseSize(QSize(550, 400)); - CreateZone->setAutoFillBackground(true); - CreateZone->setSizeGripEnabled(true); - gridLayout = new QGridLayout(CreateZone); - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - Name = new QLabel(CreateZone); - Name->setObjectName(QString::fromUtf8("Name")); - - gridLayout->addWidget(Name, 0, 0, 1, 1); - - LEName = new QLineEdit(CreateZone); - LEName->setObjectName(QString::fromUtf8("LEName")); - LEName->setMaxLength(32); - - gridLayout->addWidget(LEName, 0, 1, 1, 1); - - horizontalSpacer_3 = new QSpacerItem(142, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(horizontalSpacer_3, 0, 2, 1, 1); - - TypeZone = new QGroupBox(CreateZone); - TypeZone->setObjectName(QString::fromUtf8("TypeZone")); - QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(TypeZone->sizePolicy().hasHeightForWidth()); - TypeZone->setSizePolicy(sizePolicy); - TypeZone->setMinimumSize(QSize(340, 0)); - gridLayout1 = new QGridLayout(TypeZone); -#ifndef Q_OS_MAC - gridLayout1->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout1->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); - RBSphere = new QRadioButton(TypeZone); - RBSphere->setObjectName(QString::fromUtf8("RBSphere")); - QIcon icon; - icon.addFile(QString::fromUtf8("../../resources/zone_spherepoint.png"), QSize(), QIcon::Normal, QIcon::Off); - RBSphere->setIcon(icon); - - gridLayout1->addWidget(RBSphere, 0, 3, 1, 1); - - RBPipe = new QRadioButton(TypeZone); - RBPipe->setObjectName(QString::fromUtf8("RBPipe")); - QIcon icon1; - icon1.addFile(QString::fromUtf8("../../resources/pipe.png"), QSize(), QIcon::Normal, QIcon::Off); - RBPipe->setIcon(icon1); - - gridLayout1->addWidget(RBPipe, 0, 2, 1, 1); - - RBCylinder = new QRadioButton(TypeZone); - RBCylinder->setObjectName(QString::fromUtf8("RBCylinder")); - QIcon icon2; - icon2.addFile(QString::fromUtf8("../../resources/cylinderpointvector.png"), QSize(), QIcon::Normal, QIcon::Off); - RBCylinder->setIcon(icon2); - - gridLayout1->addWidget(RBCylinder, 0, 1, 1, 1); - - RBBox = new QRadioButton(TypeZone); - RBBox->setObjectName(QString::fromUtf8("RBBox")); - QIcon icon3; - icon3.addFile(QString::fromUtf8("../../resources/zone_boxdxyz.png"), QSize(), QIcon::Normal, QIcon::Off); - RBBox->setIcon(icon3); - RBBox->setCheckable(true); - RBBox->setChecked(true); - - gridLayout1->addWidget(RBBox, 0, 0, 1, 1); - - - gridLayout->addWidget(TypeZone, 1, 0, 1, 4); - - horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(horizontalSpacer_2, 1, 4, 1, 1); - - gBBox = new QGroupBox(CreateZone); - gBBox->setObjectName(QString::fromUtf8("gBBox")); - sizePolicy.setHeightForWidth(gBBox->sizePolicy().hasHeightForWidth()); - gBBox->setSizePolicy(sizePolicy); - gridLayout2 = new QGridLayout(gBBox); -#ifndef Q_OS_MAC - gridLayout2->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout2->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout2->setObjectName(QString::fromUtf8("gridLayout2")); - TLXmini = new QLabel(gBBox); - TLXmini->setObjectName(QString::fromUtf8("TLXmini")); - sizePolicy.setHeightForWidth(TLXmini->sizePolicy().hasHeightForWidth()); - TLXmini->setSizePolicy(sizePolicy); - TLXmini->setWordWrap(false); - - gridLayout2->addWidget(TLXmini, 0, 0, 1, 1); - - SpinBox_Xmini = new QDoubleSpinBox(gBBox); - SpinBox_Xmini->setObjectName(QString::fromUtf8("SpinBox_Xmini")); - SpinBox_Xmini->setDecimals(5); - SpinBox_Xmini->setMinimum(-1e+09); - SpinBox_Xmini->setMaximum(1e+09); - SpinBox_Xmini->setValue(0); - - gridLayout2->addWidget(SpinBox_Xmini, 0, 1, 1, 1); - - TLYmini = new QLabel(gBBox); - TLYmini->setObjectName(QString::fromUtf8("TLYmini")); - sizePolicy.setHeightForWidth(TLYmini->sizePolicy().hasHeightForWidth()); - TLYmini->setSizePolicy(sizePolicy); - TLYmini->setWordWrap(false); - - gridLayout2->addWidget(TLYmini, 1, 0, 1, 1); - - SpinBox_Ymini = new QDoubleSpinBox(gBBox); - SpinBox_Ymini->setObjectName(QString::fromUtf8("SpinBox_Ymini")); - SpinBox_Ymini->setDecimals(5); - SpinBox_Ymini->setMinimum(-1e+09); - SpinBox_Ymini->setMaximum(1e+09); - SpinBox_Ymini->setValue(0); - - gridLayout2->addWidget(SpinBox_Ymini, 1, 1, 1, 1); - - TLZmini = new QLabel(gBBox); - TLZmini->setObjectName(QString::fromUtf8("TLZmini")); - sizePolicy.setHeightForWidth(TLZmini->sizePolicy().hasHeightForWidth()); - TLZmini->setSizePolicy(sizePolicy); - TLZmini->setWordWrap(false); - - gridLayout2->addWidget(TLZmini, 2, 0, 1, 1); - - SpinBox_Zmini = new QDoubleSpinBox(gBBox); - SpinBox_Zmini->setObjectName(QString::fromUtf8("SpinBox_Zmini")); - SpinBox_Zmini->setDecimals(5); - SpinBox_Zmini->setMinimum(-1e+09); - SpinBox_Zmini->setMaximum(1e+09); - SpinBox_Zmini->setValue(0); - - gridLayout2->addWidget(SpinBox_Zmini, 2, 1, 1, 1); - - TLXmaxi = new QLabel(gBBox); - TLXmaxi->setObjectName(QString::fromUtf8("TLXmaxi")); - sizePolicy.setHeightForWidth(TLXmaxi->sizePolicy().hasHeightForWidth()); - TLXmaxi->setSizePolicy(sizePolicy); - TLXmaxi->setWordWrap(false); - - gridLayout2->addWidget(TLXmaxi, 0, 2, 1, 1); - - TLZmaxi = new QLabel(gBBox); - TLZmaxi->setObjectName(QString::fromUtf8("TLZmaxi")); - sizePolicy.setHeightForWidth(TLZmaxi->sizePolicy().hasHeightForWidth()); - TLZmaxi->setSizePolicy(sizePolicy); - TLZmaxi->setWordWrap(false); - - gridLayout2->addWidget(TLZmaxi, 2, 2, 1, 1); - - SpinBox_Zmaxi = new QDoubleSpinBox(gBBox); - SpinBox_Zmaxi->setObjectName(QString::fromUtf8("SpinBox_Zmaxi")); - SpinBox_Zmaxi->setDecimals(5); - SpinBox_Zmaxi->setMinimum(-1e+09); - SpinBox_Zmaxi->setMaximum(1e+09); - SpinBox_Zmaxi->setValue(0); - - gridLayout2->addWidget(SpinBox_Zmaxi, 2, 3, 1, 1); - - TLYmaxi = new QLabel(gBBox); - TLYmaxi->setObjectName(QString::fromUtf8("TLYmaxi")); - sizePolicy.setHeightForWidth(TLYmaxi->sizePolicy().hasHeightForWidth()); - TLYmaxi->setSizePolicy(sizePolicy); - TLYmaxi->setWordWrap(false); - - gridLayout2->addWidget(TLYmaxi, 1, 2, 1, 1); - - SpinBox_Xmaxi = new QDoubleSpinBox(gBBox); - SpinBox_Xmaxi->setObjectName(QString::fromUtf8("SpinBox_Xmaxi")); - SpinBox_Xmaxi->setDecimals(5); - SpinBox_Xmaxi->setMinimum(-1e+09); - SpinBox_Xmaxi->setMaximum(1e+09); - SpinBox_Xmaxi->setValue(0); - - gridLayout2->addWidget(SpinBox_Xmaxi, 0, 3, 1, 1); - - SpinBox_Ymaxi = new QDoubleSpinBox(gBBox); - SpinBox_Ymaxi->setObjectName(QString::fromUtf8("SpinBox_Ymaxi")); - SpinBox_Ymaxi->setDecimals(5); - SpinBox_Ymaxi->setMinimum(-1e+09); - SpinBox_Ymaxi->setMaximum(1e+09); - SpinBox_Ymaxi->setValue(0); - - gridLayout2->addWidget(SpinBox_Ymaxi, 1, 3, 1, 1); - - - gridLayout->addWidget(gBBox, 2, 0, 1, 4); - - gBSphere = new QGroupBox(CreateZone); - gBSphere->setObjectName(QString::fromUtf8("gBSphere")); - sizePolicy.setHeightForWidth(gBSphere->sizePolicy().hasHeightForWidth()); - gBSphere->setSizePolicy(sizePolicy); - gridLayout3 = new QGridLayout(gBSphere); -#ifndef Q_OS_MAC - gridLayout3->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout3->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout3->setObjectName(QString::fromUtf8("gridLayout3")); - TLXcentre = new QLabel(gBSphere); - TLXcentre->setObjectName(QString::fromUtf8("TLXcentre")); - sizePolicy.setHeightForWidth(TLXcentre->sizePolicy().hasHeightForWidth()); - TLXcentre->setSizePolicy(sizePolicy); - TLXcentre->setWordWrap(false); - - gridLayout3->addWidget(TLXcentre, 0, 0, 1, 1); - - SpinBox_Xcentre = new QDoubleSpinBox(gBSphere); - SpinBox_Xcentre->setObjectName(QString::fromUtf8("SpinBox_Xcentre")); - SpinBox_Xcentre->setDecimals(5); - SpinBox_Xcentre->setMinimum(-1e+09); - SpinBox_Xcentre->setMaximum(1e+09); - SpinBox_Xcentre->setValue(0); - - gridLayout3->addWidget(SpinBox_Xcentre, 0, 1, 1, 1); - - TLYcentre = new QLabel(gBSphere); - TLYcentre->setObjectName(QString::fromUtf8("TLYcentre")); - sizePolicy.setHeightForWidth(TLYcentre->sizePolicy().hasHeightForWidth()); - TLYcentre->setSizePolicy(sizePolicy); - TLYcentre->setWordWrap(false); - - gridLayout3->addWidget(TLYcentre, 1, 0, 1, 1); - - SpinBox_Ycentre = new QDoubleSpinBox(gBSphere); - SpinBox_Ycentre->setObjectName(QString::fromUtf8("SpinBox_Ycentre")); - SpinBox_Ycentre->setDecimals(5); - SpinBox_Ycentre->setMinimum(-1e+09); - SpinBox_Ycentre->setMaximum(1e+09); - SpinBox_Ycentre->setValue(0); - - gridLayout3->addWidget(SpinBox_Ycentre, 1, 1, 1, 1); - - TLRayon = new QLabel(gBSphere); - TLRayon->setObjectName(QString::fromUtf8("TLRayon")); - sizePolicy.setHeightForWidth(TLRayon->sizePolicy().hasHeightForWidth()); - TLRayon->setSizePolicy(sizePolicy); - TLRayon->setWordWrap(false); - - gridLayout3->addWidget(TLRayon, 1, 2, 1, 1); - - SpinBox_Rayon = new QDoubleSpinBox(gBSphere); - SpinBox_Rayon->setObjectName(QString::fromUtf8("SpinBox_Rayon")); - SpinBox_Rayon->setDecimals(5); - SpinBox_Rayon->setMinimum(0); - SpinBox_Rayon->setMaximum(1e+09); - SpinBox_Rayon->setValue(0); - - gridLayout3->addWidget(SpinBox_Rayon, 1, 3, 1, 1); - - TLZcentre = new QLabel(gBSphere); - TLZcentre->setObjectName(QString::fromUtf8("TLZcentre")); - sizePolicy.setHeightForWidth(TLZcentre->sizePolicy().hasHeightForWidth()); - TLZcentre->setSizePolicy(sizePolicy); - TLZcentre->setWordWrap(false); - - gridLayout3->addWidget(TLZcentre, 2, 0, 1, 1); - - SpinBox_Zcentre = new QDoubleSpinBox(gBSphere); - SpinBox_Zcentre->setObjectName(QString::fromUtf8("SpinBox_Zcentre")); - SpinBox_Zcentre->setDecimals(5); - SpinBox_Zcentre->setMinimum(-1e+09); - SpinBox_Zcentre->setMaximum(1e+09); - SpinBox_Zcentre->setValue(0); - - gridLayout3->addWidget(SpinBox_Zcentre, 2, 1, 1, 1); - - - gridLayout->addWidget(gBSphere, 3, 0, 1, 4); - - gBCylindre = new QGroupBox(CreateZone); - gBCylindre->setObjectName(QString::fromUtf8("gBCylindre")); - sizePolicy.setHeightForWidth(gBCylindre->sizePolicy().hasHeightForWidth()); - gBCylindre->setSizePolicy(sizePolicy); - gBCylindre->setFocusPolicy(Qt::TabFocus); - gridLayout4 = new QGridLayout(gBCylindre); -#ifndef Q_OS_MAC - gridLayout4->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout4->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout4->setObjectName(QString::fromUtf8("gridLayout4")); - SpinBox_Haut = new QDoubleSpinBox(gBCylindre); - SpinBox_Haut->setObjectName(QString::fromUtf8("SpinBox_Haut")); - SpinBox_Haut->setDecimals(5); - SpinBox_Haut->setMaximum(1e+09); - - gridLayout4->addWidget(SpinBox_Haut, 4, 1, 1, 1); - - TLHaut = new QLabel(gBCylindre); - TLHaut->setObjectName(QString::fromUtf8("TLHaut")); - sizePolicy.setHeightForWidth(TLHaut->sizePolicy().hasHeightForWidth()); - TLHaut->setSizePolicy(sizePolicy); - TLHaut->setWordWrap(false); - - gridLayout4->addWidget(TLHaut, 4, 0, 1, 1); - - TLRadius = new QLabel(gBCylindre); - TLRadius->setObjectName(QString::fromUtf8("TLRadius")); - sizePolicy.setHeightForWidth(TLRadius->sizePolicy().hasHeightForWidth()); - TLRadius->setSizePolicy(sizePolicy); - TLRadius->setWordWrap(false); - - gridLayout4->addWidget(TLRadius, 3, 0, 1, 1); - - SpinBox_Xaxis = new QDoubleSpinBox(gBCylindre); - SpinBox_Xaxis->setObjectName(QString::fromUtf8("SpinBox_Xaxis")); - SpinBox_Xaxis->setDecimals(5); - SpinBox_Xaxis->setMinimum(-1e+09); - SpinBox_Xaxis->setMaximum(1e+09); - SpinBox_Xaxis->setValue(0); - - gridLayout4->addWidget(SpinBox_Xaxis, 0, 3, 1, 1); - - SpinBox_Yaxis = new QDoubleSpinBox(gBCylindre); - SpinBox_Yaxis->setObjectName(QString::fromUtf8("SpinBox_Yaxis")); - SpinBox_Yaxis->setDecimals(5); - SpinBox_Yaxis->setMinimum(-1e+09); - SpinBox_Yaxis->setMaximum(1e+09); - SpinBox_Yaxis->setValue(0); - - gridLayout4->addWidget(SpinBox_Yaxis, 1, 3, 1, 1); - - SpinBox_Zaxis = new QDoubleSpinBox(gBCylindre); - SpinBox_Zaxis->setObjectName(QString::fromUtf8("SpinBox_Zaxis")); - SpinBox_Zaxis->setDecimals(5); - SpinBox_Zaxis->setMinimum(-1e+09); - SpinBox_Zaxis->setMaximum(1e+09); - SpinBox_Zaxis->setValue(0); - - gridLayout4->addWidget(SpinBox_Zaxis, 2, 3, 1, 1); - - TLZaxis = new QLabel(gBCylindre); - TLZaxis->setObjectName(QString::fromUtf8("TLZaxis")); - sizePolicy.setHeightForWidth(TLZaxis->sizePolicy().hasHeightForWidth()); - TLZaxis->setSizePolicy(sizePolicy); - TLZaxis->setWordWrap(false); - - gridLayout4->addWidget(TLZaxis, 2, 2, 1, 1); - - TLYaxis = new QLabel(gBCylindre); - TLYaxis->setObjectName(QString::fromUtf8("TLYaxis")); - sizePolicy.setHeightForWidth(TLYaxis->sizePolicy().hasHeightForWidth()); - TLYaxis->setSizePolicy(sizePolicy); - TLYaxis->setWordWrap(false); - - gridLayout4->addWidget(TLYaxis, 1, 2, 1, 1); - - TLXaxis = new QLabel(gBCylindre); - TLXaxis->setObjectName(QString::fromUtf8("TLXaxis")); - sizePolicy.setHeightForWidth(TLXaxis->sizePolicy().hasHeightForWidth()); - TLXaxis->setSizePolicy(sizePolicy); - TLXaxis->setWordWrap(false); - - gridLayout4->addWidget(TLXaxis, 0, 2, 1, 1); - - SpinBox_Ybase = new QDoubleSpinBox(gBCylindre); - SpinBox_Ybase->setObjectName(QString::fromUtf8("SpinBox_Ybase")); - SpinBox_Ybase->setDecimals(5); - SpinBox_Ybase->setMinimum(-1e+09); - SpinBox_Ybase->setMaximum(1e+09); - SpinBox_Ybase->setValue(0); - - gridLayout4->addWidget(SpinBox_Ybase, 1, 1, 1, 1); - - TLYbase = new QLabel(gBCylindre); - TLYbase->setObjectName(QString::fromUtf8("TLYbase")); - sizePolicy.setHeightForWidth(TLYbase->sizePolicy().hasHeightForWidth()); - TLYbase->setSizePolicy(sizePolicy); - TLYbase->setWordWrap(false); - - gridLayout4->addWidget(TLYbase, 1, 0, 1, 1); - - TLZbase = new QLabel(gBCylindre); - TLZbase->setObjectName(QString::fromUtf8("TLZbase")); - sizePolicy.setHeightForWidth(TLZbase->sizePolicy().hasHeightForWidth()); - TLZbase->setSizePolicy(sizePolicy); - TLZbase->setWordWrap(false); - - gridLayout4->addWidget(TLZbase, 2, 0, 1, 1); - - SpinBox_Zbase = new QDoubleSpinBox(gBCylindre); - SpinBox_Zbase->setObjectName(QString::fromUtf8("SpinBox_Zbase")); - SpinBox_Zbase->setDecimals(5); - SpinBox_Zbase->setMinimum(-1e+09); - SpinBox_Zbase->setMaximum(1e+09); - SpinBox_Zbase->setValue(0); - - gridLayout4->addWidget(SpinBox_Zbase, 2, 1, 1, 1); - - SpinBox_Radius = new QDoubleSpinBox(gBCylindre); - SpinBox_Radius->setObjectName(QString::fromUtf8("SpinBox_Radius")); - SpinBox_Radius->setDecimals(5); - SpinBox_Radius->setMaximum(1e+09); - - gridLayout4->addWidget(SpinBox_Radius, 3, 1, 1, 1); - - TLXbase = new QLabel(gBCylindre); - TLXbase->setObjectName(QString::fromUtf8("TLXbase")); - sizePolicy.setHeightForWidth(TLXbase->sizePolicy().hasHeightForWidth()); - TLXbase->setSizePolicy(sizePolicy); - TLXbase->setWordWrap(false); - - gridLayout4->addWidget(TLXbase, 0, 0, 1, 1); - - SpinBox_Xbase = new QDoubleSpinBox(gBCylindre); - SpinBox_Xbase->setObjectName(QString::fromUtf8("SpinBox_Xbase")); - SpinBox_Xbase->setDecimals(5); - SpinBox_Xbase->setMinimum(-1e+09); - SpinBox_Xbase->setMaximum(1e+09); - SpinBox_Xbase->setValue(0); - - gridLayout4->addWidget(SpinBox_Xbase, 0, 1, 1, 1); - - - gridLayout->addWidget(gBCylindre, 4, 0, 1, 4); - - gBPipe = new QGroupBox(CreateZone); - gBPipe->setObjectName(QString::fromUtf8("gBPipe")); - sizePolicy.setHeightForWidth(gBPipe->sizePolicy().hasHeightForWidth()); - gBPipe->setSizePolicy(sizePolicy); - gridLayout5 = new QGridLayout(gBPipe); -#ifndef Q_OS_MAC - gridLayout5->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout5->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout5->setObjectName(QString::fromUtf8("gridLayout5")); - TLHaut_p = new QLabel(gBPipe); - TLHaut_p->setObjectName(QString::fromUtf8("TLHaut_p")); - sizePolicy.setHeightForWidth(TLHaut_p->sizePolicy().hasHeightForWidth()); - TLHaut_p->setSizePolicy(sizePolicy); - TLHaut_p->setWordWrap(false); - - gridLayout5->addWidget(TLHaut_p, 4, 0, 1, 1); - - SpinBox_Xbase_p = new QDoubleSpinBox(gBPipe); - SpinBox_Xbase_p->setObjectName(QString::fromUtf8("SpinBox_Xbase_p")); - SpinBox_Xbase_p->setDecimals(5); - SpinBox_Xbase_p->setMinimum(-1e+09); - SpinBox_Xbase_p->setMaximum(1e+09); - SpinBox_Xbase_p->setValue(0); - - gridLayout5->addWidget(SpinBox_Xbase_p, 0, 1, 1, 1); - - TLXbase_p = new QLabel(gBPipe); - TLXbase_p->setObjectName(QString::fromUtf8("TLXbase_p")); - sizePolicy.setHeightForWidth(TLXbase_p->sizePolicy().hasHeightForWidth()); - TLXbase_p->setSizePolicy(sizePolicy); - TLXbase_p->setWordWrap(false); - - gridLayout5->addWidget(TLXbase_p, 0, 0, 1, 1); - - SpinBox_Radius_int = new QDoubleSpinBox(gBPipe); - SpinBox_Radius_int->setObjectName(QString::fromUtf8("SpinBox_Radius_int")); - SpinBox_Radius_int->setDecimals(5); - SpinBox_Radius_int->setMaximum(1e+09); - - gridLayout5->addWidget(SpinBox_Radius_int, 3, 1, 1, 1); - - SpinBox_Zbase_p = new QDoubleSpinBox(gBPipe); - SpinBox_Zbase_p->setObjectName(QString::fromUtf8("SpinBox_Zbase_p")); - SpinBox_Zbase_p->setDecimals(5); - SpinBox_Zbase_p->setMinimum(-1e+09); - SpinBox_Zbase_p->setMaximum(1e+09); - SpinBox_Zbase_p->setValue(0); - - gridLayout5->addWidget(SpinBox_Zbase_p, 2, 1, 1, 1); - - TLRadius_int = new QLabel(gBPipe); - TLRadius_int->setObjectName(QString::fromUtf8("TLRadius_int")); - sizePolicy.setHeightForWidth(TLRadius_int->sizePolicy().hasHeightForWidth()); - TLRadius_int->setSizePolicy(sizePolicy); - TLRadius_int->setWordWrap(false); - - gridLayout5->addWidget(TLRadius_int, 3, 0, 1, 1); - - TLZbase_p = new QLabel(gBPipe); - TLZbase_p->setObjectName(QString::fromUtf8("TLZbase_p")); - sizePolicy.setHeightForWidth(TLZbase_p->sizePolicy().hasHeightForWidth()); - TLZbase_p->setSizePolicy(sizePolicy); - TLZbase_p->setWordWrap(false); - - gridLayout5->addWidget(TLZbase_p, 2, 0, 1, 1); - - TLYbase_p = new QLabel(gBPipe); - TLYbase_p->setObjectName(QString::fromUtf8("TLYbase_p")); - sizePolicy.setHeightForWidth(TLYbase_p->sizePolicy().hasHeightForWidth()); - TLYbase_p->setSizePolicy(sizePolicy); - TLYbase_p->setWordWrap(false); - - gridLayout5->addWidget(TLYbase_p, 1, 0, 1, 1); - - SpinBox_Ybase_p = new QDoubleSpinBox(gBPipe); - SpinBox_Ybase_p->setObjectName(QString::fromUtf8("SpinBox_Ybase_p")); - SpinBox_Ybase_p->setDecimals(5); - SpinBox_Ybase_p->setMinimum(-1e+09); - SpinBox_Ybase_p->setMaximum(1e+09); - SpinBox_Ybase_p->setValue(0); - - gridLayout5->addWidget(SpinBox_Ybase_p, 1, 1, 1, 1); - - TLXaxis_p = new QLabel(gBPipe); - TLXaxis_p->setObjectName(QString::fromUtf8("TLXaxis_p")); - sizePolicy.setHeightForWidth(TLXaxis_p->sizePolicy().hasHeightForWidth()); - TLXaxis_p->setSizePolicy(sizePolicy); - TLXaxis_p->setWordWrap(false); - - gridLayout5->addWidget(TLXaxis_p, 0, 2, 1, 1); - - TLYaxis_p = new QLabel(gBPipe); - TLYaxis_p->setObjectName(QString::fromUtf8("TLYaxis_p")); - sizePolicy.setHeightForWidth(TLYaxis_p->sizePolicy().hasHeightForWidth()); - TLYaxis_p->setSizePolicy(sizePolicy); - TLYaxis_p->setWordWrap(false); - - gridLayout5->addWidget(TLYaxis_p, 1, 2, 1, 1); - - TLZaxis_p = new QLabel(gBPipe); - TLZaxis_p->setObjectName(QString::fromUtf8("TLZaxis_p")); - sizePolicy.setHeightForWidth(TLZaxis_p->sizePolicy().hasHeightForWidth()); - TLZaxis_p->setSizePolicy(sizePolicy); - TLZaxis_p->setWordWrap(false); - - gridLayout5->addWidget(TLZaxis_p, 2, 2, 1, 1); - - SpinBox_Zaxis_p = new QDoubleSpinBox(gBPipe); - SpinBox_Zaxis_p->setObjectName(QString::fromUtf8("SpinBox_Zaxis_p")); - SpinBox_Zaxis_p->setDecimals(5); - SpinBox_Zaxis_p->setMinimum(-1e+09); - SpinBox_Zaxis_p->setMaximum(1e+09); - SpinBox_Zaxis_p->setValue(0); - - gridLayout5->addWidget(SpinBox_Zaxis_p, 2, 3, 1, 1); - - SpinBox_Yaxis_p = new QDoubleSpinBox(gBPipe); - SpinBox_Yaxis_p->setObjectName(QString::fromUtf8("SpinBox_Yaxis_p")); - SpinBox_Yaxis_p->setDecimals(5); - SpinBox_Yaxis_p->setMinimum(-1e+09); - SpinBox_Yaxis_p->setMaximum(1e+09); - SpinBox_Yaxis_p->setValue(0); - - gridLayout5->addWidget(SpinBox_Yaxis_p, 1, 3, 1, 1); - - SpinBox_Xaxis_p = new QDoubleSpinBox(gBPipe); - SpinBox_Xaxis_p->setObjectName(QString::fromUtf8("SpinBox_Xaxis_p")); - SpinBox_Xaxis_p->setDecimals(5); - SpinBox_Xaxis_p->setMinimum(-1e+09); - SpinBox_Xaxis_p->setMaximum(1e+09); - SpinBox_Xaxis_p->setValue(0); - - gridLayout5->addWidget(SpinBox_Xaxis_p, 0, 3, 1, 1); - - SpinBox_Radius_ext = new QDoubleSpinBox(gBPipe); - SpinBox_Radius_ext->setObjectName(QString::fromUtf8("SpinBox_Radius_ext")); - SpinBox_Radius_ext->setDecimals(5); - SpinBox_Radius_ext->setMaximum(1e+09); - - gridLayout5->addWidget(SpinBox_Radius_ext, 3, 3, 1, 1); - - TLRadius_ext = new QLabel(gBPipe); - TLRadius_ext->setObjectName(QString::fromUtf8("TLRadius_ext")); - sizePolicy.setHeightForWidth(TLRadius_ext->sizePolicy().hasHeightForWidth()); - TLRadius_ext->setSizePolicy(sizePolicy); - TLRadius_ext->setWordWrap(false); - - gridLayout5->addWidget(TLRadius_ext, 3, 2, 1, 1); - - SpinBox_Haut_p = new QDoubleSpinBox(gBPipe); - SpinBox_Haut_p->setObjectName(QString::fromUtf8("SpinBox_Haut_p")); - SpinBox_Haut_p->setDecimals(5); - SpinBox_Haut_p->setMaximum(1e+09); - - gridLayout5->addWidget(SpinBox_Haut_p, 4, 1, 1, 1); - - - gridLayout->addWidget(gBPipe, 5, 0, 1, 5); - - GBButtons = new QGroupBox(CreateZone); - GBButtons->setObjectName(QString::fromUtf8("GBButtons")); - sizePolicy.setHeightForWidth(GBButtons->sizePolicy().hasHeightForWidth()); - GBButtons->setSizePolicy(sizePolicy); - gridLayout6 = new QGridLayout(GBButtons); -#ifndef Q_OS_MAC - gridLayout6->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout6->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout6->setObjectName(QString::fromUtf8("gridLayout6")); - buttonHelp = new QPushButton(GBButtons); - buttonHelp->setObjectName(QString::fromUtf8("buttonHelp")); - - gridLayout6->addWidget(buttonHelp, 0, 3, 1, 1); - - buttonCancel = new QPushButton(GBButtons); - buttonCancel->setObjectName(QString::fromUtf8("buttonCancel")); - - gridLayout6->addWidget(buttonCancel, 0, 2, 1, 1); - - buttonApply = new QPushButton(GBButtons); - buttonApply->setObjectName(QString::fromUtf8("buttonApply")); - - gridLayout6->addWidget(buttonApply, 0, 1, 1, 1); - - buttonOk = new QPushButton(GBButtons); - buttonOk->setObjectName(QString::fromUtf8("buttonOk")); - - gridLayout6->addWidget(buttonOk, 0, 0, 1, 1); - - - gridLayout->addWidget(GBButtons, 6, 0, 1, 3); - - horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(horizontalSpacer, 6, 3, 1, 2); - - - retranslateUi(CreateZone); - - QMetaObject::connectSlotsByName(CreateZone); - } // setupUi - - void retranslateUi(QDialog *CreateZone) - { - CreateZone->setWindowTitle(QApplication::translate("CreateZone", "Create a zone", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("CreateZone", "Name", 0, QApplication::UnicodeUTF8)); - TypeZone->setTitle(QApplication::translate("CreateZone", "Type of zone", 0, QApplication::UnicodeUTF8)); - RBSphere->setText(QApplication::translate("CreateZone", "Sphere", 0, QApplication::UnicodeUTF8)); - RBPipe->setText(QApplication::translate("CreateZone", "Pipe", 0, QApplication::UnicodeUTF8)); - RBCylinder->setText(QApplication::translate("CreateZone", "Cylinder", 0, QApplication::UnicodeUTF8)); - RBBox->setText(QApplication::translate("CreateZone", "Box", 0, QApplication::UnicodeUTF8)); - gBBox->setTitle(QApplication::translate("CreateZone", "Coordinates", 0, QApplication::UnicodeUTF8)); - TLXmini->setText(QApplication::translate("CreateZone", "X mini", 0, QApplication::UnicodeUTF8)); - TLYmini->setText(QApplication::translate("CreateZone", "Y mini", 0, QApplication::UnicodeUTF8)); - TLZmini->setText(QApplication::translate("CreateZone", "Z mini", 0, QApplication::UnicodeUTF8)); - TLXmaxi->setText(QApplication::translate("CreateZone", "X maxi", 0, QApplication::UnicodeUTF8)); - TLZmaxi->setText(QApplication::translate("CreateZone", "Z maxi", 0, QApplication::UnicodeUTF8)); - TLYmaxi->setText(QApplication::translate("CreateZone", "Y maxi", 0, QApplication::UnicodeUTF8)); - gBSphere->setTitle(QApplication::translate("CreateZone", "Coordinates", 0, QApplication::UnicodeUTF8)); - TLXcentre->setText(QApplication::translate("CreateZone", "X centre", 0, QApplication::UnicodeUTF8)); - TLYcentre->setText(QApplication::translate("CreateZone", "Y centre", 0, QApplication::UnicodeUTF8)); - TLRayon->setText(QApplication::translate("CreateZone", "Radius", 0, QApplication::UnicodeUTF8)); - TLZcentre->setText(QApplication::translate("CreateZone", "Z centre", 0, QApplication::UnicodeUTF8)); - gBCylindre->setTitle(QApplication::translate("CreateZone", "Coordinates", 0, QApplication::UnicodeUTF8)); - TLHaut->setText(QApplication::translate("CreateZone", "Height", 0, QApplication::UnicodeUTF8)); - TLRadius->setText(QApplication::translate("CreateZone", "Radius", 0, QApplication::UnicodeUTF8)); - TLZaxis->setText(QApplication::translate("CreateZone", "Z axis", 0, QApplication::UnicodeUTF8)); - TLYaxis->setText(QApplication::translate("CreateZone", "Y axis", 0, QApplication::UnicodeUTF8)); - TLXaxis->setText(QApplication::translate("CreateZone", "X axis", 0, QApplication::UnicodeUTF8)); - TLYbase->setText(QApplication::translate("CreateZone", "Y base", 0, QApplication::UnicodeUTF8)); - TLZbase->setText(QApplication::translate("CreateZone", "Z base", 0, QApplication::UnicodeUTF8)); - TLXbase->setText(QApplication::translate("CreateZone", "X base", 0, QApplication::UnicodeUTF8)); - gBPipe->setTitle(QApplication::translate("CreateZone", "Coordinates", 0, QApplication::UnicodeUTF8)); - TLHaut_p->setText(QApplication::translate("CreateZone", "Height", 0, QApplication::UnicodeUTF8)); - TLXbase_p->setText(QApplication::translate("CreateZone", "X base", 0, QApplication::UnicodeUTF8)); - TLRadius_int->setText(QApplication::translate("CreateZone", "Internal radius", 0, QApplication::UnicodeUTF8)); - TLZbase_p->setText(QApplication::translate("CreateZone", "Z base", 0, QApplication::UnicodeUTF8)); - TLYbase_p->setText(QApplication::translate("CreateZone", "Y base", 0, QApplication::UnicodeUTF8)); - TLXaxis_p->setText(QApplication::translate("CreateZone", "X axis", 0, QApplication::UnicodeUTF8)); - TLYaxis_p->setText(QApplication::translate("CreateZone", "Y axis", 0, QApplication::UnicodeUTF8)); - TLZaxis_p->setText(QApplication::translate("CreateZone", "Z axis", 0, QApplication::UnicodeUTF8)); - TLRadius_ext->setText(QApplication::translate("CreateZone", "External radius", 0, QApplication::UnicodeUTF8)); - GBButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("CreateZone", "Help", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("CreateZone", "Cancel", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("CreateZone", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("CreateZone", "OK", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class CreateZone: public Ui_CreateZone {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // CREATEZONE_H diff --git a/src/HOMARDGUI/EditFile.h b/src/HOMARDGUI/EditFile.h deleted file mode 100644 index 66500c6b..00000000 --- a/src/HOMARDGUI/EditFile.h +++ /dev/null @@ -1,120 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'EditFile.ui' -** -** Created: Thu Feb 28 13:53:13 2013 -** by: Qt User Interface Compiler version 4.6.3 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef EDITFILE_H -#define EDITFILE_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_EditFile -{ -public: - QGridLayout *gridLayout; - QSpacerItem *spacerItem; - QGroupBox *GroupButtons; - QGridLayout *gridLayout1; - QPushButton *buttonPrint; - QPushButton *buttonQuit; - QSpacerItem *spacerItem1; - QTextBrowser *QTBEditFile; - - void setupUi(QWidget *EditFile) - { - if (EditFile->objectName().isEmpty()) - EditFile->setObjectName(QString::fromUtf8("EditFile")); - EditFile->resize(675, 901); - gridLayout = new QGridLayout(EditFile); -#ifndef Q_OS_MAC - gridLayout->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - spacerItem = new QSpacerItem(331, 49, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(spacerItem, 2, 1, 1, 1); - - GroupButtons = new QGroupBox(EditFile); - GroupButtons->setObjectName(QString::fromUtf8("GroupButtons")); - gridLayout1 = new QGridLayout(GroupButtons); -#ifndef Q_OS_MAC - gridLayout1->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout1->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); - buttonPrint = new QPushButton(GroupButtons); - buttonPrint->setObjectName(QString::fromUtf8("buttonPrint")); - buttonPrint->setAutoDefault(false); - buttonPrint->setDefault(false); - buttonPrint->setFlat(false); - - gridLayout1->addWidget(buttonPrint, 0, 1, 1, 1); - - buttonQuit = new QPushButton(GroupButtons); - buttonQuit->setObjectName(QString::fromUtf8("buttonQuit")); - buttonQuit->setAutoDefault(false); - buttonQuit->setDefault(true); - buttonQuit->setFlat(false); - - gridLayout1->addWidget(buttonQuit, 0, 0, 1, 1); - - - gridLayout->addWidget(GroupButtons, 2, 0, 1, 1); - - spacerItem1 = new QSpacerItem(20, 14, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout->addItem(spacerItem1, 1, 0, 1, 2); - - QTBEditFile = new QTextBrowser(EditFile); - QTBEditFile->setObjectName(QString::fromUtf8("QTBEditFile")); - QTBEditFile->setMinimumSize(QSize(530, 800)); - QFont font; - font.setFamily(QString::fromUtf8("Courier New")); - QTBEditFile->setFont(font); - - gridLayout->addWidget(QTBEditFile, 0, 0, 1, 2); - - - retranslateUi(EditFile); - - QMetaObject::connectSlotsByName(EditFile); - } // setupUi - - void retranslateUi(QWidget *EditFile) - { - EditFile->setWindowTitle(QApplication::translate("EditFile", "Edit a file", 0, QApplication::UnicodeUTF8)); - GroupButtons->setTitle(QString()); - buttonPrint->setText(QApplication::translate("EditFile", "Print", 0, QApplication::UnicodeUTF8)); - buttonQuit->setText(QApplication::translate("EditFile", "Quit", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class EditFile: public Ui_EditFile {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // EDITFILE_H diff --git a/src/HOMARDGUI/IterInfo.h b/src/HOMARDGUI/IterInfo.h deleted file mode 100644 index 452a9dab..00000000 --- a/src/HOMARDGUI/IterInfo.h +++ /dev/null @@ -1,156 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'IterInfo.ui' -** -** Created: Wed Feb 20 17:10:38 2013 -** by: Qt User Interface Compiler version 4.6.3 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef ITERINFO_H -#define ITERINFO_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_IterInfo -{ -public: - QGridLayout *gridLayout_2; - QGroupBox *GBOptions; - QGridLayout *gridLayout; - QCheckBox *CBQuality; - QCheckBox *CBConnection; - QCheckBox *CBDiametre; - QCheckBox *CBBlockSize; - QCheckBox *CBEntanglement; - QGroupBox *GroupButtons; - QGridLayout *gridLayout1; - QPushButton *buttonHelp; - QPushButton *buttonApply; - QPushButton *buttonOk; - QPushButton *buttonCancel; - - void setupUi(QDialog *IterInfo) - { - if (IterInfo->objectName().isEmpty()) - IterInfo->setObjectName(QString::fromUtf8("IterInfo")); - IterInfo->resize(420, 220); - QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(IterInfo->sizePolicy().hasHeightForWidth()); - IterInfo->setSizePolicy(sizePolicy); - IterInfo->setAutoFillBackground(true); - gridLayout_2 = new QGridLayout(IterInfo); - gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2")); - GBOptions = new QGroupBox(IterInfo); - GBOptions->setObjectName(QString::fromUtf8("GBOptions")); - gridLayout = new QGridLayout(GBOptions); - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - CBQuality = new QCheckBox(GBOptions); - CBQuality->setObjectName(QString::fromUtf8("CBQuality")); - - gridLayout->addWidget(CBQuality, 0, 0, 1, 1); - - CBConnection = new QCheckBox(GBOptions); - CBConnection->setObjectName(QString::fromUtf8("CBConnection")); - - gridLayout->addWidget(CBConnection, 0, 1, 1, 1); - - CBDiametre = new QCheckBox(GBOptions); - CBDiametre->setObjectName(QString::fromUtf8("CBDiametre")); - - gridLayout->addWidget(CBDiametre, 1, 0, 1, 1); - - CBBlockSize = new QCheckBox(GBOptions); - CBBlockSize->setObjectName(QString::fromUtf8("CBBlockSize")); - - gridLayout->addWidget(CBBlockSize, 1, 1, 1, 1); - - CBEntanglement = new QCheckBox(GBOptions); - CBEntanglement->setObjectName(QString::fromUtf8("CBEntanglement")); - - gridLayout->addWidget(CBEntanglement, 2, 0, 1, 2); - - - gridLayout_2->addWidget(GBOptions, 0, 0, 2, 2); - - GroupButtons = new QGroupBox(IterInfo); - GroupButtons->setObjectName(QString::fromUtf8("GroupButtons")); - gridLayout1 = new QGridLayout(GroupButtons); -#ifndef Q_OS_MAC - gridLayout1->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout1->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); - buttonHelp = new QPushButton(GroupButtons); - buttonHelp->setObjectName(QString::fromUtf8("buttonHelp")); - buttonHelp->setAutoDefault(false); - - gridLayout1->addWidget(buttonHelp, 0, 4, 1, 1); - - buttonApply = new QPushButton(GroupButtons); - buttonApply->setObjectName(QString::fromUtf8("buttonApply")); - buttonApply->setAutoDefault(false); - - gridLayout1->addWidget(buttonApply, 0, 1, 1, 1); - - buttonOk = new QPushButton(GroupButtons); - buttonOk->setObjectName(QString::fromUtf8("buttonOk")); - buttonOk->setAutoDefault(false); - - gridLayout1->addWidget(buttonOk, 0, 0, 1, 1); - - buttonCancel = new QPushButton(GroupButtons); - buttonCancel->setObjectName(QString::fromUtf8("buttonCancel")); - buttonCancel->setAutoDefault(false); - - gridLayout1->addWidget(buttonCancel, 0, 2, 1, 1); - - - gridLayout_2->addWidget(GroupButtons, 2, 0, 1, 2); - - - retranslateUi(IterInfo); - - QMetaObject::connectSlotsByName(IterInfo); - } // setupUi - - void retranslateUi(QDialog *IterInfo) - { - IterInfo->setWindowTitle(QApplication::translate("IterInfo", "Information on a mesh", 0, QApplication::UnicodeUTF8)); - GBOptions->setTitle(QApplication::translate("IterInfo", "Options", 0, QApplication::UnicodeUTF8)); - CBQuality->setText(QApplication::translate("IterInfo", "Quality", 0, QApplication::UnicodeUTF8)); - CBConnection->setText(QApplication::translate("IterInfo", "Connection", 0, QApplication::UnicodeUTF8)); - CBDiametre->setText(QApplication::translate("IterInfo", "Diametre", 0, QApplication::UnicodeUTF8)); - CBBlockSize->setText(QApplication::translate("IterInfo", "Group size", 0, QApplication::UnicodeUTF8)); - CBEntanglement->setText(QApplication::translate("IterInfo", "Entanglement", 0, QApplication::UnicodeUTF8)); - GroupButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("IterInfo", "Help", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("IterInfo", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("IterInfo", "OK", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("IterInfo", "Cancel", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class IterInfo: public Ui_IterInfo {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // ITERINFO_H diff --git a/src/HOMARDGUI/MeshInfo.h b/src/HOMARDGUI/MeshInfo.h deleted file mode 100644 index 95dc88bf..00000000 --- a/src/HOMARDGUI/MeshInfo.h +++ /dev/null @@ -1,270 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'MeshInfo.ui' -** -** Created: Tue Feb 19 10:05:35 2013 -** by: Qt User Interface Compiler version 4.6.3 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef MESHINFO_H -#define MESHINFO_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_MeshInfo -{ -public: - QGridLayout *gridLayout_2; - QHBoxLayout *hboxLayout; - QLabel *Name; - QLineEdit *LECaseName; - QHBoxLayout *hboxLayout1; - QLabel *Directory; - QPushButton *PushDir; - QLineEdit *LEDirName; - QSpacerItem *spacerItem; - QHBoxLayout *hboxLayout2; - QLabel *Mesh_2; - QPushButton *PushFichier; - QLineEdit *LEFileName; - QSpacerItem *spacerItem1; - QGroupBox *GBOptions; - QGridLayout *gridLayout; - QCheckBox *CBQuality; - QCheckBox *CBConnection; - QCheckBox *CBDiametre; - QCheckBox *CBBlockSize; - QCheckBox *CBEntanglement; - QSpacerItem *verticalSpacer; - QGroupBox *GroupButtons; - QGridLayout *gridLayout1; - QPushButton *buttonHelp; - QPushButton *buttonApply; - QPushButton *buttonOk; - QPushButton *buttonCancel; - QSpacerItem *spacer_2; - - void setupUi(QDialog *MeshInfo) - { - if (MeshInfo->objectName().isEmpty()) - MeshInfo->setObjectName(QString::fromUtf8("MeshInfo")); - MeshInfo->resize(536, 372); - QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(MeshInfo->sizePolicy().hasHeightForWidth()); - MeshInfo->setSizePolicy(sizePolicy); - MeshInfo->setAutoFillBackground(true); - gridLayout_2 = new QGridLayout(MeshInfo); - gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2")); - hboxLayout = new QHBoxLayout(); -#ifndef Q_OS_MAC - hboxLayout->setSpacing(6); -#endif -#ifndef Q_OS_MAC - hboxLayout->setContentsMargins(0, 0, 0, 0); -#endif - hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); - Name = new QLabel(MeshInfo); - Name->setObjectName(QString::fromUtf8("Name")); - - hboxLayout->addWidget(Name); - - LECaseName = new QLineEdit(MeshInfo); - LECaseName->setObjectName(QString::fromUtf8("LECaseName")); - LECaseName->setMinimumSize(QSize(382, 21)); - - hboxLayout->addWidget(LECaseName); - - - gridLayout_2->addLayout(hboxLayout, 0, 0, 1, 2); - - hboxLayout1 = new QHBoxLayout(); -#ifndef Q_OS_MAC - hboxLayout1->setSpacing(6); -#endif - hboxLayout1->setContentsMargins(0, 0, 0, 0); - hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); - Directory = new QLabel(MeshInfo); - Directory->setObjectName(QString::fromUtf8("Directory")); - - hboxLayout1->addWidget(Directory); - - PushDir = new QPushButton(MeshInfo); - PushDir->setObjectName(QString::fromUtf8("PushDir")); - PushDir->setAutoDefault(false); - - hboxLayout1->addWidget(PushDir); - - LEDirName = new QLineEdit(MeshInfo); - LEDirName->setObjectName(QString::fromUtf8("LEDirName")); - LEDirName->setMinimumSize(QSize(382, 21)); - - hboxLayout1->addWidget(LEDirName); - - - gridLayout_2->addLayout(hboxLayout1, 1, 0, 1, 2); - - spacerItem = new QSpacerItem(20, 18, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout_2->addItem(spacerItem, 2, 0, 1, 1); - - hboxLayout2 = new QHBoxLayout(); -#ifndef Q_OS_MAC - hboxLayout2->setSpacing(6); -#endif - hboxLayout2->setContentsMargins(0, 0, 0, 0); - hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2")); - Mesh_2 = new QLabel(MeshInfo); - Mesh_2->setObjectName(QString::fromUtf8("Mesh_2")); - - hboxLayout2->addWidget(Mesh_2); - - PushFichier = new QPushButton(MeshInfo); - PushFichier->setObjectName(QString::fromUtf8("PushFichier")); - PushFichier->setAutoDefault(false); - - hboxLayout2->addWidget(PushFichier); - - LEFileName = new QLineEdit(MeshInfo); - LEFileName->setObjectName(QString::fromUtf8("LEFileName")); - LEFileName->setMinimumSize(QSize(382, 21)); - - hboxLayout2->addWidget(LEFileName); - - - gridLayout_2->addLayout(hboxLayout2, 3, 0, 1, 2); - - spacerItem1 = new QSpacerItem(20, 1, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout_2->addItem(spacerItem1, 4, 0, 1, 1); - - GBOptions = new QGroupBox(MeshInfo); - GBOptions->setObjectName(QString::fromUtf8("GBOptions")); - gridLayout = new QGridLayout(GBOptions); - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - CBQuality = new QCheckBox(GBOptions); - CBQuality->setObjectName(QString::fromUtf8("CBQuality")); - - gridLayout->addWidget(CBQuality, 0, 0, 1, 1); - - CBConnection = new QCheckBox(GBOptions); - CBConnection->setObjectName(QString::fromUtf8("CBConnection")); - - gridLayout->addWidget(CBConnection, 0, 1, 1, 1); - - CBDiametre = new QCheckBox(GBOptions); - CBDiametre->setObjectName(QString::fromUtf8("CBDiametre")); - - gridLayout->addWidget(CBDiametre, 1, 0, 1, 1); - - CBBlockSize = new QCheckBox(GBOptions); - CBBlockSize->setObjectName(QString::fromUtf8("CBBlockSize")); - - gridLayout->addWidget(CBBlockSize, 1, 1, 1, 1); - - CBEntanglement = new QCheckBox(GBOptions); - CBEntanglement->setObjectName(QString::fromUtf8("CBEntanglement")); - - gridLayout->addWidget(CBEntanglement, 2, 0, 1, 2); - - - gridLayout_2->addWidget(GBOptions, 5, 0, 1, 1); - - verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout_2->addItem(verticalSpacer, 6, 0, 1, 1); - - GroupButtons = new QGroupBox(MeshInfo); - GroupButtons->setObjectName(QString::fromUtf8("GroupButtons")); - gridLayout1 = new QGridLayout(GroupButtons); -#ifndef Q_OS_MAC - gridLayout1->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout1->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); - buttonHelp = new QPushButton(GroupButtons); - buttonHelp->setObjectName(QString::fromUtf8("buttonHelp")); - buttonHelp->setAutoDefault(false); - - gridLayout1->addWidget(buttonHelp, 0, 4, 1, 1); - - buttonApply = new QPushButton(GroupButtons); - buttonApply->setObjectName(QString::fromUtf8("buttonApply")); - buttonApply->setAutoDefault(false); - - gridLayout1->addWidget(buttonApply, 0, 1, 1, 1); - - buttonOk = new QPushButton(GroupButtons); - buttonOk->setObjectName(QString::fromUtf8("buttonOk")); - buttonOk->setAutoDefault(false); - - gridLayout1->addWidget(buttonOk, 0, 0, 1, 1); - - buttonCancel = new QPushButton(GroupButtons); - buttonCancel->setObjectName(QString::fromUtf8("buttonCancel")); - buttonCancel->setAutoDefault(false); - - gridLayout1->addWidget(buttonCancel, 0, 2, 1, 1); - - - gridLayout_2->addWidget(GroupButtons, 7, 0, 1, 1); - - spacer_2 = new QSpacerItem(128, 25, QSizePolicy::Fixed, QSizePolicy::Minimum); - - gridLayout_2->addItem(spacer_2, 7, 1, 1, 1); - - - retranslateUi(MeshInfo); - - QMetaObject::connectSlotsByName(MeshInfo); - } // setupUi - - void retranslateUi(QDialog *MeshInfo) - { - MeshInfo->setWindowTitle(QApplication::translate("MeshInfo", "Information on a mesh", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("MeshInfo", "Name", 0, QApplication::UnicodeUTF8)); - Directory->setText(QApplication::translate("MeshInfo", "Directory", 0, QApplication::UnicodeUTF8)); - PushDir->setText(QString()); - Mesh_2->setText(QApplication::translate("MeshInfo", "Mesh", 0, QApplication::UnicodeUTF8)); - PushFichier->setText(QString()); - GBOptions->setTitle(QApplication::translate("MeshInfo", "Options", 0, QApplication::UnicodeUTF8)); - CBQuality->setText(QApplication::translate("MeshInfo", "Quality", 0, QApplication::UnicodeUTF8)); - CBConnection->setText(QApplication::translate("MeshInfo", "Connection", 0, QApplication::UnicodeUTF8)); - CBDiametre->setText(QApplication::translate("MeshInfo", "Diametre", 0, QApplication::UnicodeUTF8)); - CBBlockSize->setText(QApplication::translate("MeshInfo", "Group size", 0, QApplication::UnicodeUTF8)); - CBEntanglement->setText(QApplication::translate("MeshInfo", "Entanglement", 0, QApplication::UnicodeUTF8)); - GroupButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("MeshInfo", "Help", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("MeshInfo", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("MeshInfo", "OK", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("MeshInfo", "Cancel", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class MeshInfo: public Ui_MeshInfo {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // MESHINFO_H diff --git a/src/HOMARDGUI/MonCreateBoundaryAn.h b/src/HOMARDGUI/MonCreateBoundaryAn.h index d2fc3325..24bd1d25 100644 --- a/src/HOMARDGUI/MonCreateBoundaryAn.h +++ b/src/HOMARDGUI/MonCreateBoundaryAn.h @@ -29,7 +29,7 @@ #include CORBA_CLIENT_HEADER(HOMARD_Gen) #include CORBA_CLIENT_HEADER(HOMARD_Boundary) -#include +#include "ui_CreateBoundaryAn.h" #include class MonCreateCase; diff --git a/src/HOMARDGUI/MonCreateBoundaryDi.h b/src/HOMARDGUI/MonCreateBoundaryDi.h index ffde4ef6..2c99f805 100644 --- a/src/HOMARDGUI/MonCreateBoundaryDi.h +++ b/src/HOMARDGUI/MonCreateBoundaryDi.h @@ -29,7 +29,7 @@ #include CORBA_CLIENT_HEADER(HOMARD_Gen) #include CORBA_CLIENT_HEADER(HOMARD_Boundary) -#include +#include "ui_CreateBoundaryDi.h" #include class MonCreateCase; diff --git a/src/HOMARDGUI/MonCreateCase.h b/src/HOMARDGUI/MonCreateCase.h index c175d98d..83ca1101 100644 --- a/src/HOMARDGUI/MonCreateCase.h +++ b/src/HOMARDGUI/MonCreateCase.h @@ -29,7 +29,7 @@ #include CORBA_CLIENT_HEADER(HOMARD_Gen) #include CORBA_CLIENT_HEADER(HOMARD_Cas) -#include +#include "ui_CreateCase.h" #include class HOMARD_EXPORT MonCreateCase : public QDialog, public Ui_CreateCase diff --git a/src/HOMARDGUI/MonCreateHypothesis.h b/src/HOMARDGUI/MonCreateHypothesis.h index 329f84dc..c5f2088e 100644 --- a/src/HOMARDGUI/MonCreateHypothesis.h +++ b/src/HOMARDGUI/MonCreateHypothesis.h @@ -29,7 +29,7 @@ #include CORBA_CLIENT_HEADER(HOMARD_Gen) #include CORBA_CLIENT_HEADER(HOMARD_Hypothesis) -#include +#include "ui_CreateHypothesis.h" #include class MonCreateIteration; diff --git a/src/HOMARDGUI/MonCreateIteration.h b/src/HOMARDGUI/MonCreateIteration.h index 819cf219..a88f1fda 100644 --- a/src/HOMARDGUI/MonCreateIteration.h +++ b/src/HOMARDGUI/MonCreateIteration.h @@ -29,10 +29,8 @@ #include CORBA_CLIENT_HEADER(HOMARD_Gen) #include CORBA_CLIENT_HEADER(HOMARD_Cas) -#include +#include "ui_CreateIteration.h" #include -// #include -// #include class HOMARD_EXPORT MonCreateIteration : public QScrollArea, public Ui_CreateIteration { diff --git a/src/HOMARDGUI/MonCreateListGroup.h b/src/HOMARDGUI/MonCreateListGroup.h index c0297a05..d5d000ff 100644 --- a/src/HOMARDGUI/MonCreateListGroup.h +++ b/src/HOMARDGUI/MonCreateListGroup.h @@ -28,7 +28,7 @@ #include CORBA_CLIENT_HEADER(SALOMEDS_Attributes) #include CORBA_CLIENT_HEADER(HOMARD_Gen) -#include +#include "ui_CreateListGroup.h" #include class MonCreateHypothesis; diff --git a/src/HOMARDGUI/MonCreateYACS.h b/src/HOMARDGUI/MonCreateYACS.h index ce6d49cf..ba62f89a 100644 --- a/src/HOMARDGUI/MonCreateYACS.h +++ b/src/HOMARDGUI/MonCreateYACS.h @@ -29,7 +29,7 @@ #include CORBA_CLIENT_HEADER(HOMARD_Gen) #include CORBA_CLIENT_HEADER(HOMARD_Cas) -#include +#include "ui_CreateYACS.h" #include class HOMARD_EXPORT MonCreateYACS : public QScrollArea, public Ui_CreateYACS diff --git a/src/HOMARDGUI/MonCreateZone.h b/src/HOMARDGUI/MonCreateZone.h index 8626fde0..f9f1a660 100644 --- a/src/HOMARDGUI/MonCreateZone.h +++ b/src/HOMARDGUI/MonCreateZone.h @@ -28,7 +28,7 @@ #include CORBA_CLIENT_HEADER(SALOMEDS_Attributes) #include CORBA_CLIENT_HEADER(HOMARD_Gen) -#include +#include "ui_CreateZone.h" #include class MonCreateHypothesis; diff --git a/src/HOMARDGUI/MonEditFile.h b/src/HOMARDGUI/MonEditFile.h index 57840045..b5fc5f8e 100644 --- a/src/HOMARDGUI/MonEditFile.h +++ b/src/HOMARDGUI/MonEditFile.h @@ -30,7 +30,7 @@ #include CORBA_CLIENT_HEADER(HOMARD_Gen) #include CORBA_CLIENT_HEADER(HOMARD_Cas) -#include "EditFile.h" +#include "ui_EditFile.h" #include class QListBox; diff --git a/src/HOMARDGUI/MonIterInfo.h b/src/HOMARDGUI/MonIterInfo.h index 481b81bc..b11ea1d4 100644 --- a/src/HOMARDGUI/MonIterInfo.h +++ b/src/HOMARDGUI/MonIterInfo.h @@ -29,10 +29,9 @@ #include CORBA_CLIENT_HEADER(HOMARD_Gen) #include CORBA_CLIENT_HEADER(HOMARD_Cas) -#include +#include "ui_IterInfo.h" #include #include -#include "EditFile.h" class QListBox; diff --git a/src/HOMARDGUI/MonMeshInfo.h b/src/HOMARDGUI/MonMeshInfo.h index 37f9aa95..50de6be1 100644 --- a/src/HOMARDGUI/MonMeshInfo.h +++ b/src/HOMARDGUI/MonMeshInfo.h @@ -29,7 +29,7 @@ #include CORBA_CLIENT_HEADER(HOMARD_Gen) #include CORBA_CLIENT_HEADER(HOMARD_Cas) -#include +#include "ui_MeshInfo.h" #include class HOMARD_EXPORT MonMeshInfo : public QDialog, public Ui_MeshInfo diff --git a/src/HOMARDGUI/MonPursueIteration.h b/src/HOMARDGUI/MonPursueIteration.h index 13d603b1..e6279e36 100644 --- a/src/HOMARDGUI/MonPursueIteration.h +++ b/src/HOMARDGUI/MonPursueIteration.h @@ -29,7 +29,7 @@ #include CORBA_CLIENT_HEADER(HOMARD_Gen) #include CORBA_CLIENT_HEADER(HOMARD_Cas) -#include +#include "ui_PursueIteration.h" #include class HOMARD_EXPORT MonPursueIteration : public QDialog, public Ui_PursueIteration diff --git a/src/HOMARDGUI/PursueIteration.h b/src/HOMARDGUI/PursueIteration.h deleted file mode 100644 index ee87c56f..00000000 --- a/src/HOMARDGUI/PursueIteration.h +++ /dev/null @@ -1,258 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'PursueIteration.ui' -** -** Created: Wed Jan 15 08:41:44 2014 -** by: Qt User Interface Compiler version 4.6.3 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef PURSUEITERATION_H -#define PURSUEITERATION_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_PursueIteration -{ -public: - QGridLayout *gridLayout_2; - QHBoxLayout *hboxLayout; - QLabel *Name; - QLineEdit *LECaseName; - QHBoxLayout *_2; - QLabel *Directory; - QPushButton *PushDir; - QLineEdit *LEDirName; - QRadioButton *RBIteration; - QRadioButton *RBCase; - QHBoxLayout *hboxLayout1; - QLabel *DirectoryStart; - QPushButton *PushDirStart; - QLineEdit *LEDirNameStart; - QGroupBox *GBIterationintoCase; - QGridLayout *gridLayout; - QRadioButton *RBCaseLastIteration; - QRadioButton *RBCaseNIteration; - QSpinBox *SpinBoxNumber; - QGroupBox *GroupButtons; - QGridLayout *gridLayout1; - QPushButton *buttonHelp; - QPushButton *buttonApply; - QPushButton *buttonOk; - QPushButton *buttonCancel; - QSpacerItem *spacer_2; - - void setupUi(QDialog *PursueIteration) - { - if (PursueIteration->objectName().isEmpty()) - PursueIteration->setObjectName(QString::fromUtf8("PursueIteration")); - PursueIteration->resize(601, 300); - QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(PursueIteration->sizePolicy().hasHeightForWidth()); - PursueIteration->setSizePolicy(sizePolicy); - PursueIteration->setAutoFillBackground(true); - gridLayout_2 = new QGridLayout(PursueIteration); - gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2")); - hboxLayout = new QHBoxLayout(); -#ifndef Q_OS_MAC - hboxLayout->setSpacing(6); -#endif -#ifndef Q_OS_MAC - hboxLayout->setContentsMargins(0, 0, 0, 0); -#endif - hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); - Name = new QLabel(PursueIteration); - Name->setObjectName(QString::fromUtf8("Name")); - - hboxLayout->addWidget(Name); - - LECaseName = new QLineEdit(PursueIteration); - LECaseName->setObjectName(QString::fromUtf8("LECaseName")); - LECaseName->setMinimumSize(QSize(382, 21)); - - hboxLayout->addWidget(LECaseName); - - - gridLayout_2->addLayout(hboxLayout, 0, 0, 1, 2); - - _2 = new QHBoxLayout(); -#ifndef Q_OS_MAC - _2->setSpacing(6); -#endif - _2->setContentsMargins(0, 0, 0, 0); - _2->setObjectName(QString::fromUtf8("_2")); - Directory = new QLabel(PursueIteration); - Directory->setObjectName(QString::fromUtf8("Directory")); - - _2->addWidget(Directory); - - PushDir = new QPushButton(PursueIteration); - PushDir->setObjectName(QString::fromUtf8("PushDir")); - PushDir->setAutoDefault(false); - - _2->addWidget(PushDir); - - LEDirName = new QLineEdit(PursueIteration); - LEDirName->setObjectName(QString::fromUtf8("LEDirName")); - LEDirName->setMinimumSize(QSize(382, 21)); - - _2->addWidget(LEDirName); - - - gridLayout_2->addLayout(_2, 1, 0, 1, 3); - - RBIteration = new QRadioButton(PursueIteration); - RBIteration->setObjectName(QString::fromUtf8("RBIteration")); - RBIteration->setChecked(true); - - gridLayout_2->addWidget(RBIteration, 2, 0, 1, 1); - - RBCase = new QRadioButton(PursueIteration); - RBCase->setObjectName(QString::fromUtf8("RBCase")); - - gridLayout_2->addWidget(RBCase, 2, 1, 1, 1); - - hboxLayout1 = new QHBoxLayout(); -#ifndef Q_OS_MAC - hboxLayout1->setSpacing(6); -#endif - hboxLayout1->setContentsMargins(0, 0, 0, 0); - hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); - DirectoryStart = new QLabel(PursueIteration); - DirectoryStart->setObjectName(QString::fromUtf8("DirectoryStart")); - - hboxLayout1->addWidget(DirectoryStart); - - PushDirStart = new QPushButton(PursueIteration); - PushDirStart->setObjectName(QString::fromUtf8("PushDirStart")); - PushDirStart->setAutoDefault(false); - - hboxLayout1->addWidget(PushDirStart); - - LEDirNameStart = new QLineEdit(PursueIteration); - LEDirNameStart->setObjectName(QString::fromUtf8("LEDirNameStart")); - LEDirNameStart->setMinimumSize(QSize(382, 21)); - - hboxLayout1->addWidget(LEDirNameStart); - - - gridLayout_2->addLayout(hboxLayout1, 3, 0, 1, 3); - - GBIterationintoCase = new QGroupBox(PursueIteration); - GBIterationintoCase->setObjectName(QString::fromUtf8("GBIterationintoCase")); - gridLayout = new QGridLayout(GBIterationintoCase); - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - RBCaseLastIteration = new QRadioButton(GBIterationintoCase); - RBCaseLastIteration->setObjectName(QString::fromUtf8("RBCaseLastIteration")); - RBCaseLastIteration->setChecked(true); - - gridLayout->addWidget(RBCaseLastIteration, 0, 0, 1, 1); - - RBCaseNIteration = new QRadioButton(GBIterationintoCase); - RBCaseNIteration->setObjectName(QString::fromUtf8("RBCaseNIteration")); - - gridLayout->addWidget(RBCaseNIteration, 1, 0, 1, 1); - - SpinBoxNumber = new QSpinBox(GBIterationintoCase); - SpinBoxNumber->setObjectName(QString::fromUtf8("SpinBoxNumber")); - SpinBoxNumber->setMaximum(1789); - - gridLayout->addWidget(SpinBoxNumber, 1, 1, 1, 1); - - - gridLayout_2->addWidget(GBIterationintoCase, 4, 0, 1, 2); - - GroupButtons = new QGroupBox(PursueIteration); - GroupButtons->setObjectName(QString::fromUtf8("GroupButtons")); - gridLayout1 = new QGridLayout(GroupButtons); -#ifndef Q_OS_MAC - gridLayout1->setSpacing(6); -#endif -#ifndef Q_OS_MAC - gridLayout1->setContentsMargins(9, 9, 9, 9); -#endif - gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); - buttonHelp = new QPushButton(GroupButtons); - buttonHelp->setObjectName(QString::fromUtf8("buttonHelp")); - buttonHelp->setAutoDefault(false); - - gridLayout1->addWidget(buttonHelp, 0, 4, 1, 1); - - buttonApply = new QPushButton(GroupButtons); - buttonApply->setObjectName(QString::fromUtf8("buttonApply")); - buttonApply->setAutoDefault(false); - - gridLayout1->addWidget(buttonApply, 0, 1, 1, 1); - - buttonOk = new QPushButton(GroupButtons); - buttonOk->setObjectName(QString::fromUtf8("buttonOk")); - buttonOk->setAutoDefault(false); - - gridLayout1->addWidget(buttonOk, 0, 0, 1, 1); - - buttonCancel = new QPushButton(GroupButtons); - buttonCancel->setObjectName(QString::fromUtf8("buttonCancel")); - buttonCancel->setAutoDefault(false); - - gridLayout1->addWidget(buttonCancel, 0, 2, 1, 1); - - - gridLayout_2->addWidget(GroupButtons, 5, 0, 1, 2); - - spacer_2 = new QSpacerItem(128, 25, QSizePolicy::Fixed, QSizePolicy::Minimum); - - gridLayout_2->addItem(spacer_2, 5, 2, 1, 1); - - - retranslateUi(PursueIteration); - - QMetaObject::connectSlotsByName(PursueIteration); - } // setupUi - - void retranslateUi(QDialog *PursueIteration) - { - PursueIteration->setWindowTitle(QApplication::translate("PursueIteration", "Pursue an iteration", 0, QApplication::UnicodeUTF8)); - Name->setText(QApplication::translate("PursueIteration", "Name", 0, QApplication::UnicodeUTF8)); - Directory->setText(QApplication::translate("PursueIteration", "Directory", 0, QApplication::UnicodeUTF8)); - PushDir->setText(QString()); - RBIteration->setText(QApplication::translate("PursueIteration", "From an iteration", 0, QApplication::UnicodeUTF8)); - RBCase->setText(QApplication::translate("PursueIteration", "From a case", 0, QApplication::UnicodeUTF8)); - DirectoryStart->setText(QApplication::translate("PursueIteration", "Directory", 0, QApplication::UnicodeUTF8)); - PushDirStart->setText(QString()); - GBIterationintoCase->setTitle(QApplication::translate("PursueIteration", "Iteration into the case", 0, QApplication::UnicodeUTF8)); - RBCaseLastIteration->setText(QApplication::translate("PursueIteration", "Last iteration", 0, QApplication::UnicodeUTF8)); - RBCaseNIteration->setText(QApplication::translate("PursueIteration", "Iteration number", 0, QApplication::UnicodeUTF8)); - GroupButtons->setTitle(QString()); - buttonHelp->setText(QApplication::translate("PursueIteration", "Help", 0, QApplication::UnicodeUTF8)); - buttonApply->setText(QApplication::translate("PursueIteration", "Apply", 0, QApplication::UnicodeUTF8)); - buttonOk->setText(QApplication::translate("PursueIteration", "OK", 0, QApplication::UnicodeUTF8)); - buttonCancel->setText(QApplication::translate("PursueIteration", "Cancel", 0, QApplication::UnicodeUTF8)); - } // retranslateUi - -}; - -namespace Ui { - class PursueIteration: public Ui_PursueIteration {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // PURSUEITERATION_H