/********************************************************************************
** Form generated from reading UI file 'CreateCase.ui'
**
-** Created: Wed Jan 15 08:42:35 2014
+** Created: Tue Nov 24 11:06:19 2015
** by: Qt User Interface Compiler version 4.6.3
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
QHBoxLayout *hboxLayout2;
QRadioButton *RBConforme;
QRadioButton *RBNonConforme;
- QSpacerItem *spacerItem2;
- QGroupBox *GBTypeNoConf;
QHBoxLayout *hboxLayout3;
- QRadioButton *RB1NpM;
- QRadioButton *RB1NpA;
- QRadioButton *RBQuelconque;
- QSpacerItem *spacerItem3;
- QHBoxLayout *hboxLayout4;
QCheckBox *CBBoundaryD;
QCheckBox *CBBoundaryA;
- QSpacerItem *spacerItem4;
+ QSpacerItem *spacerItem2;
+ QSpacerItem *spacerItem3;
QGroupBox *GBBoundaryD;
QGridLayout *gridLayout;
QPushButton *PBBoundaryDiEdit;
QPushButton *PBBoundaryDiNew;
QComboBox *CBBoundaryDi;
- QSpacerItem *spacerItem5;
+ QSpacerItem *spacerItem4;
QPushButton *PBBoundaryDiHelp;
QGroupBox *GBBoundaryA;
QFormLayout *formLayout;
QGroupBox *GBAdvancedOptions;
QGridLayout *gridLayout2;
QCheckBox *CBPyramid;
+ QRadioButton *RBStandard;
+ QRadioButton *RBBox;
+ QRadioButton *RBNC1NpA;
+ QRadioButton *RBNCQuelconque;
QSpacerItem *spacer_3;
QSpacerItem *spacer_4;
QLabel *Comment;
{
if (CreateCase->objectName().isEmpty())
CreateCase->setObjectName(QString::fromUtf8("CreateCase"));
- CreateCase->resize(601, 1100);
+ CreateCase->resize(600, 1026);
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
gridLayout_2->addWidget(LEName, 0, 1, 1, 1);
- gridLayout_3->addWidget(WName, 0, 0, 1, 1);
+ gridLayout_3->addWidget(WName, 0, 0, 1, 2);
horizontalSpacer = new QSpacerItem(199, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
- gridLayout_3->addItem(horizontalSpacer, 0, 1, 1, 1);
+ gridLayout_3->addItem(horizontalSpacer, 0, 2, 1, 3);
hboxLayout = new QHBoxLayout();
#ifndef Q_OS_MAC
spacerItem = new QSpacerItem(20, 18, QSizePolicy::Minimum, QSizePolicy::Expanding);
- gridLayout_3->addItem(spacerItem, 2, 2, 1, 2);
+ gridLayout_3->addItem(spacerItem, 2, 5, 1, 1);
hboxLayout1 = new QHBoxLayout();
#ifndef Q_OS_MAC
hboxLayout1->addWidget(LEFileName);
- gridLayout_3->addLayout(hboxLayout1, 3, 0, 2, 6);
+ gridLayout_3->addLayout(hboxLayout1, 3, 0, 1, 6);
spacerItem1 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
- gridLayout_3->addItem(spacerItem1, 4, 3, 1, 3);
+ gridLayout_3->addItem(spacerItem1, 3, 6, 1, 1);
GBTypeConf = new QGroupBox(CreateCase);
GBTypeConf->setObjectName(QString::fromUtf8("GBTypeConf"));
hboxLayout2->addWidget(RBNonConforme);
- gridLayout_3->addWidget(GBTypeConf, 5, 0, 1, 2);
-
- spacerItem2 = new QSpacerItem(20, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
-
- gridLayout_3->addItem(spacerItem2, 6, 3, 1, 1);
+ gridLayout_3->addWidget(GBTypeConf, 4, 0, 1, 3);
- GBTypeNoConf = new QGroupBox(CreateCase);
- GBTypeNoConf->setObjectName(QString::fromUtf8("GBTypeNoConf"));
- hboxLayout3 = new QHBoxLayout(GBTypeNoConf);
+ hboxLayout3 = new QHBoxLayout();
#ifndef Q_OS_MAC
hboxLayout3->setSpacing(6);
#endif
-#ifndef Q_OS_MAC
- hboxLayout3->setContentsMargins(9, 9, 9, 9);
-#endif
+ hboxLayout3->setContentsMargins(0, 0, 0, 0);
hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
- RB1NpM = new QRadioButton(GBTypeNoConf);
- RB1NpM->setObjectName(QString::fromUtf8("RB1NpM"));
-
- hboxLayout3->addWidget(RB1NpM);
-
- RB1NpA = new QRadioButton(GBTypeNoConf);
- RB1NpA->setObjectName(QString::fromUtf8("RB1NpA"));
-
- hboxLayout3->addWidget(RB1NpA);
-
- RBQuelconque = new QRadioButton(GBTypeNoConf);
- RBQuelconque->setObjectName(QString::fromUtf8("RBQuelconque"));
-
- hboxLayout3->addWidget(RBQuelconque);
-
-
- gridLayout_3->addWidget(GBTypeNoConf, 7, 0, 1, 6);
-
- spacerItem3 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
-
- gridLayout_3->addItem(spacerItem3, 8, 3, 1, 3);
-
- hboxLayout4 = new QHBoxLayout();
-#ifndef Q_OS_MAC
- hboxLayout4->setSpacing(6);
-#endif
- hboxLayout4->setContentsMargins(0, 0, 0, 0);
- hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
CBBoundaryD = new QCheckBox(CreateCase);
CBBoundaryD->setObjectName(QString::fromUtf8("CBBoundaryD"));
- hboxLayout4->addWidget(CBBoundaryD);
+ hboxLayout3->addWidget(CBBoundaryD);
CBBoundaryA = new QCheckBox(CreateCase);
CBBoundaryA->setObjectName(QString::fromUtf8("CBBoundaryA"));
- hboxLayout4->addWidget(CBBoundaryA);
+ hboxLayout3->addWidget(CBBoundaryA);
+
+ gridLayout_3->addLayout(hboxLayout3, 5, 0, 1, 4);
+
+ spacerItem2 = new QSpacerItem(20, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
- gridLayout_3->addLayout(hboxLayout4, 9, 0, 1, 4);
+ gridLayout_3->addItem(spacerItem2, 5, 4, 1, 1);
- spacerItem4 = new QSpacerItem(20, 2, QSizePolicy::Minimum, QSizePolicy::Expanding);
+ spacerItem3 = new QSpacerItem(20, 2, QSizePolicy::Minimum, QSizePolicy::Expanding);
- gridLayout_3->addItem(spacerItem4, 10, 3, 1, 1);
+ gridLayout_3->addItem(spacerItem3, 6, 3, 1, 1);
GBBoundaryD = new QGroupBox(CreateCase);
GBBoundaryD->setObjectName(QString::fromUtf8("GBBoundaryD"));
gridLayout->addWidget(CBBoundaryDi, 0, 0, 1, 1);
- spacerItem5 = new QSpacerItem(40, 13, QSizePolicy::Fixed, QSizePolicy::Minimum);
+ spacerItem4 = new QSpacerItem(40, 13, QSizePolicy::Fixed, QSizePolicy::Minimum);
- gridLayout->addItem(spacerItem5, 0, 1, 1, 1);
+ gridLayout->addItem(spacerItem4, 0, 1, 1, 1);
PBBoundaryDiHelp = new QPushButton(GBBoundaryD);
PBBoundaryDiHelp->setObjectName(QString::fromUtf8("PBBoundaryDiHelp"));
gridLayout->addWidget(PBBoundaryDiHelp, 0, 4, 1, 1);
- gridLayout_3->addWidget(GBBoundaryD, 11, 0, 1, 6);
+ gridLayout_3->addWidget(GBBoundaryD, 7, 0, 1, 5);
GBBoundaryA = new QGroupBox(CreateCase);
GBBoundaryA->setObjectName(QString::fromUtf8("GBBoundaryA"));
formLayout->setLayout(0, QFormLayout::FieldRole, gridLayout1);
- gridLayout_3->addWidget(GBBoundaryA, 12, 0, 1, 6);
+ gridLayout_3->addWidget(GBBoundaryA, 8, 0, 1, 7);
spacer = new QSpacerItem(239, 41, QSizePolicy::Minimum, QSizePolicy::Expanding);
- gridLayout_3->addItem(spacer, 13, 0, 1, 2);
+ gridLayout_3->addItem(spacer, 9, 0, 1, 3);
CBAdvanced = new QCheckBox(CreateCase);
CBAdvanced->setObjectName(QString::fromUtf8("CBAdvanced"));
- gridLayout_3->addWidget(CBAdvanced, 14, 0, 1, 1);
+ gridLayout_3->addWidget(CBAdvanced, 10, 0, 1, 2);
GBAdvancedOptions = new QGroupBox(CreateCase);
GBAdvancedOptions->setObjectName(QString::fromUtf8("GBAdvancedOptions"));
CBPyramid = new QCheckBox(GBAdvancedOptions);
CBPyramid->setObjectName(QString::fromUtf8("CBPyramid"));
- gridLayout2->addWidget(CBPyramid, 0, 0, 1, 1);
+ gridLayout2->addWidget(CBPyramid, 0, 0, 1, 2);
+
+ RBStandard = new QRadioButton(GBAdvancedOptions);
+ RBStandard->setObjectName(QString::fromUtf8("RBStandard"));
+ RBStandard->setChecked(true);
+
+ gridLayout2->addWidget(RBStandard, 1, 0, 1, 1);
+
+ RBBox = new QRadioButton(GBAdvancedOptions);
+ RBBox->setObjectName(QString::fromUtf8("RBBox"));
+ RBBox->setChecked(false);
+
+ gridLayout2->addWidget(RBBox, 1, 1, 1, 1);
+
+ RBNC1NpA = new QRadioButton(GBAdvancedOptions);
+ RBNC1NpA->setObjectName(QString::fromUtf8("RBNC1NpA"));
+
+ gridLayout2->addWidget(RBNC1NpA, 1, 2, 1, 1);
+
+ RBNCQuelconque = new QRadioButton(GBAdvancedOptions);
+ RBNCQuelconque->setObjectName(QString::fromUtf8("RBNCQuelconque"));
+
+ gridLayout2->addWidget(RBNCQuelconque, 1, 3, 1, 1);
- gridLayout_3->addWidget(GBAdvancedOptions, 15, 0, 1, 1);
+ gridLayout_3->addWidget(GBAdvancedOptions, 11, 0, 1, 5);
spacer_3 = new QSpacerItem(128, 13, QSizePolicy::Fixed, QSizePolicy::Minimum);
- gridLayout_3->addItem(spacer_3, 15, 4, 1, 2);
+ gridLayout_3->addItem(spacer_3, 11, 6, 1, 1);
spacer_4 = new QSpacerItem(239, 41, QSizePolicy::Minimum, QSizePolicy::Expanding);
- gridLayout_3->addItem(spacer_4, 16, 0, 1, 2);
+ gridLayout_3->addItem(spacer_4, 12, 0, 1, 3);
Comment = new QLabel(CreateCase);
Comment->setObjectName(QString::fromUtf8("Comment"));
- gridLayout_3->addWidget(Comment, 17, 0, 1, 1);
+ gridLayout_3->addWidget(Comment, 13, 0, 1, 1);
verticalSpacer = new QSpacerItem(20, 35, QSizePolicy::Minimum, QSizePolicy::Expanding);
- gridLayout_3->addItem(verticalSpacer, 18, 0, 1, 1);
+ gridLayout_3->addItem(verticalSpacer, 14, 1, 1, 1);
GroupButtons = new QGroupBox(CreateCase);
GroupButtons->setObjectName(QString::fromUtf8("GroupButtons"));
gridLayout3->addWidget(buttonCancel, 0, 2, 1, 1);
- gridLayout_3->addWidget(GroupButtons, 19, 0, 1, 5);
+ gridLayout_3->addWidget(GroupButtons, 15, 0, 1, 5);
spacer_2 = new QSpacerItem(128, 25, QSizePolicy::Fixed, QSizePolicy::Minimum);
- gridLayout_3->addItem(spacer_2, 19, 5, 1, 1);
+ gridLayout_3->addItem(spacer_2, 15, 5, 1, 2);
retranslateUi(CreateCase);
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));
- GBTypeNoConf->setTitle(QApplication::translate("CreateCase", "Non conformal option", 0, QApplication::UnicodeUTF8));
- RB1NpM->setText(QApplication::translate("CreateCase", "1 hanging node per mesh", 0, QApplication::UnicodeUTF8));
- RB1NpA->setText(QApplication::translate("CreateCase", "1 node per edge", 0, QApplication::UnicodeUTF8));
- RBQuelconque->setText(QApplication::translate("CreateCase", "Free", 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));
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));
+ 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));
Comment->setText(QApplication::translate("CreateCase", " No comment.", 0, QApplication::UnicodeUTF8));
GroupButtons->setTitle(QString());
buttonHelp->setText(QApplication::translate("CreateCase", "Help", 0, QApplication::UnicodeUTF8));
<rect>
<x>0</x>
<y>0</y>
- <width>601</width>
- <height>1100</height>
+ <width>600</width>
+ <height>1026</height>
</rect>
</property>
<property name="sizePolicy">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_3">
- <item row="0" column="0">
+ <item row="0" column="0" colspan="2">
<widget class="QWidget" name="WName" native="true">
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
</layout>
</widget>
</item>
- <item row="0" column="1">
+ <item row="0" column="2" colspan="3">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</item>
</layout>
</item>
- <item row="2" column="2" colspan="2">
+ <item row="2" column="5">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</spacer>
</item>
- <item row="3" column="0" rowspan="2" colspan="6">
+ <item row="3" column="0" colspan="6">
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</item>
</layout>
</item>
- <item row="4" column="3" colspan="3">
+ <item row="3" column="6">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</spacer>
</item>
- <item row="5" column="0" colspan="2">
+ <item row="4" column="0" colspan="3">
<widget class="QGroupBox" name="GBTypeConf">
<property name="title">
<string>Conformity type</string>
</layout>
</widget>
</item>
- <item row="6" column="3">
- <spacer>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>1</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="7" column="0" colspan="6">
- <widget class="QGroupBox" name="GBTypeNoConf">
- <property name="title">
- <string>Non conformal option</string>
- </property>
- <layout class="QHBoxLayout">
- <property name="spacing">
- <number>6</number>
- </property>
- <property name="margin">
- <number>9</number>
- </property>
- <item>
- <widget class="QRadioButton" name="RB1NpM">
- <property name="text">
- <string>1 hanging node per mesh</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="RB1NpA">
- <property name="text">
- <string>1 node per edge</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="RBQuelconque">
- <property name="text">
- <string>Free</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="8" column="3" colspan="3">
- <spacer>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>0</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="9" column="0" colspan="4">
+ <item row="5" column="0" colspan="4">
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</item>
</layout>
</item>
- <item row="10" column="3">
+ <item row="5" column="4">
+ <spacer>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>1</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="6" column="3">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</spacer>
</item>
- <item row="11" column="0" colspan="6">
+ <item row="7" column="0" colspan="5">
<widget class="QGroupBox" name="GBBoundaryD">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
</layout>
</widget>
</item>
- <item row="12" column="0" colspan="6">
+ <item row="8" column="0" colspan="7">
<widget class="QGroupBox" name="GBBoundaryA">
<property name="minimumSize">
<size>
</layout>
</widget>
</item>
- <item row="13" column="0" colspan="2">
+ <item row="9" column="0" colspan="3">
<spacer name="spacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</spacer>
</item>
- <item row="14" column="0">
+ <item row="10" column="0" colspan="2">
<widget class="QCheckBox" name="CBAdvanced">
<property name="text">
<string>Advanced options</string>
</property>
</widget>
</item>
- <item row="15" column="0">
+ <item row="11" column="0" colspan="5">
<widget class="QGroupBox" name="GBAdvancedOptions">
<property name="title">
<string>Advanced options</string>
</property>
<layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
+ <item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="CBPyramid">
<property name="text">
<string>Authorized pyramids</string>
</property>
</widget>
</item>
+ <item row="1" column="0">
+ <widget class="QRadioButton" name="RBStandard">
+ <property name="text">
+ <string>Standard</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QRadioButton" name="RBBox">
+ <property name="text">
+ <string>Box</string>
+ </property>
+ <property name="checked">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QRadioButton" name="RBNC1NpA">
+ <property name="text">
+ <string>1 node per edge</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="3">
+ <widget class="QRadioButton" name="RBNCQuelconque">
+ <property name="text">
+ <string>Free</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>
- <item row="15" column="4" colspan="2">
+ <item row="11" column="6">
<spacer name="spacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
- <item row="16" column="0" colspan="2">
+ <item row="12" column="0" colspan="3">
<spacer name="spacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</spacer>
</item>
- <item row="17" column="0">
+ <item row="13" column="0">
<widget class="QLabel" name="Comment">
<property name="text">
<string> No comment.</string>
</property>
</widget>
</item>
- <item row="18" column="0">
+ <item row="14" column="1">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</spacer>
</item>
- <item row="19" column="0" colspan="5">
+ <item row="15" column="0" colspan="5">
<widget class="QGroupBox" name="GroupButtons">
<property name="title">
<string/>
</layout>
</widget>
</item>
- <item row="19" column="5">
+ <item row="15" column="5" colspan="2">
<spacer name="spacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
:
Ui_CreateCase(),
_aCaseName(""),_aDirName(""),
- _ConfType(1),
+ _ConfType(0),
_Pyram(0)
{
MESSAGE("Debut du constructeur de MonCreateCase");
SetNewName() ;
GBBoundaryA->setVisible(0);
GBBoundaryD->setVisible(0);
- GBTypeNoConf->setVisible(0);
GBAdvancedOptions->setVisible(0);
Comment->setVisible(0);
CBPyramid->setChecked(false);
connect( RBConforme, SIGNAL(clicked()), this, SLOT(SetConforme()));
connect( RBNonConforme, SIGNAL(clicked()), this, SLOT(SetNonConforme()));
- connect( RB1NpM, SIGNAL(clicked()), this, SLOT(Set1NpM()));
- connect( RB1NpA, SIGNAL(clicked()), this, SLOT(Set1NpA()));
- connect( RBQuelconque, SIGNAL(clicked()), this, SLOT(SetQuelconque()));
connect( CBBoundaryD, SIGNAL(stateChanged(int)), this, SLOT(SetBoundaryD()));
connect( PBBoundaryDiNew, SIGNAL(pressed()), this, SLOT(PushBoundaryDiNew()));
connect( PBBoundaryAnHelp, SIGNAL(pressed()), this, SLOT(PushBoundaryAnHelp()) );
connect( CBAdvanced, SIGNAL(stateChanged(int)), this, SLOT(SetAdvanced()));
+ connect( RBStandard, SIGNAL(clicked()), this, SLOT(SetStandard()));
+ connect( RBBox, SIGNAL(clicked()), this, SLOT(SetBox()));
+ connect( RBNC1NpA, SIGNAL(clicked()), this, SLOT(SetNC1NpA()));
+ connect( RBNCQuelconque, SIGNAL(clicked()), this, SLOT(SetNCQuelconque()));
connect( buttonOk, SIGNAL(pressed()), this, SLOT(PushOnOK()));
connect( buttonApply, SIGNAL(pressed()), this, SLOT(PushOnApply(0)));
void MonCreateCase::SetConforme()
// ------------------------------------------------------------------------
{
- GBTypeNoConf->setVisible(0);
//
_ConfType=0;
+ RBNC1NpA->setVisible(0);
+ RBNCQuelconque->setVisible(0);
//
adjustSize();
}
void MonCreateCase::SetNonConforme()
// ------------------------------------------------------------------------
{
- GBTypeNoConf->setVisible(1);
- RB1NpM->setChecked(true);
//
_ConfType=1;
+ RBNC1NpA->setVisible(1);
+ RBNCQuelconque->setVisible(1);
//
adjustSize();
}
// ------------------------------------------------------------------------
-void MonCreateCase::Set1NpM()
+void MonCreateCase::SetStandard()
// ------------------------------------------------------------------------
{
- _ConfType=2;
+ if ( ( _ConfType == 0 ) || ( _ConfType == -1 ) ) { _ConfType = 0 ; }
+ else { _ConfType = 1 ; }
+ RBStandard->setChecked(true);
}
// ------------------------------------------------------------------------
-void MonCreateCase::Set1NpA()
+void MonCreateCase::SetBox()
// ------------------------------------------------------------------------
{
- _ConfType=1;
+ if ( ( _ConfType == 0 ) || ( _ConfType == -1 ) ) { _ConfType = -1 ; }
+ else { _ConfType = -2 ; }
}
// ------------------------------------------------------------------------
-void MonCreateCase::SetQuelconque()
+void MonCreateCase::SetNC1NpA()
// ------------------------------------------------------------------------
{
- _ConfType=3;
+ _ConfType = 2;
+}
+// ------------------------------------------------------------------------
+void MonCreateCase::SetNCQuelconque()
+// ------------------------------------------------------------------------
+{
+ _ConfType = 3;
}
// ------------------------------------------------------------------------
void MonCreateCase::SetBoundaryD()
// ------------------------------------------------------------------------
{
MESSAGE("Debut de SetAdvanced ");
- if (CBAdvanced->isChecked()) { GBAdvancedOptions->setVisible(1); }
+ if (CBAdvanced->isChecked())
+ { GBAdvancedOptions->setVisible(1);
+ RBStandard->setVisible(1);
+ RBBox->setVisible(1);
+ if ( ( _ConfType == 0 ) || ( _ConfType == -1 ) )
+ { RBNC1NpA->setVisible(0);
+ RBNCQuelconque->setVisible(0);}
+ else
+ { RBNC1NpA->setVisible(1);
+ RBNCQuelconque->setVisible(1);}
+ }
else
{ GBAdvancedOptions->setVisible(0);
CBPyramid->setChecked(false);
_Pyram = 0 ;
+ SetStandard() ;
}
//
adjustSize();