- QButtonGroup* GroupConstructors;
- QRadioButton* Constructor1;
-
- QGroupBox* GroupButtons;
- QPushButton* buttonOk;
- QPushButton* buttonCancel;
- QPushButton* buttonApply;
- QPushButton* buttonHelp;
-
- QGroupBox* GroupName;
- QLabel* TextLabelName;
- QLineEdit* LineEditName;
-
- QGroupBox* GroupArgs;
- QLabel* TextLabelMeshes;
- QPushButton* SelectButton;
- QLineEdit* LineEditMeshes;
- QLabel* TextLabelUnion;
- QComboBox* ComboBoxUnion;
- QCheckBox* CheckBoxCommon;
- QCheckBox* CheckBoxMerge;
- QLabel* TextLabelTol;
- SMESHGUI_SpinBox* SpinBoxTol;
-
- //protected:
- QGridLayout* SMESHGUI_BuildCompoundDlgLayout;
- QGridLayout* GroupConstructorsLayout;
- QGridLayout* GroupButtonsLayout;
- QGridLayout* GroupNameLayout;
- QGridLayout* GroupArgsLayout;
-
- QString myHelpFileName;
-
- private slots:
- void ClickOnOk();
- void ClickOnCancel();
- bool ClickOnApply();
- void ClickOnHelp();
- void SelectionIntoArgument();
- void DeactivateActiveDialog();
- void ActivateThisDialog();
- void onSelectMerge(bool);
+ QGroupBox* GroupConstructors;
+ QRadioButton* Constructor1;
+
+ QGroupBox* GroupButtons;
+ QPushButton* buttonOk;
+ QPushButton* buttonCancel;
+ QPushButton* buttonApply;
+ QPushButton* buttonHelp;
+
+ QGroupBox* GroupName;
+ QLabel* TextLabelName;
+ QLineEdit* LineEditName;
+
+ QGroupBox* GroupArgs;
+ QLabel* TextLabelMeshes;
+ QPushButton* SelectButton;
+ QLineEdit* LineEditMeshes;
+ QLabel* TextLabelUnion;
+ QComboBox* ComboBoxUnion;
+ QCheckBox* CheckBoxCommon;
+ QCheckBox* CheckBoxMerge;
+ QLabel* TextLabelTol;
+ SMESHGUI_SpinBox* SpinBoxTol;
+
+ QString myHelpFileName;
+
+ bool myIsApplyAndClose;
+
+protected slots:
+ virtual void reject();
+
+private slots:
+ void ClickOnOk();
+ bool ClickOnApply();
+ void ClickOnHelp();
+ void SelectionIntoArgument();
+ void DeactivateActiveDialog();
+ void ActivateThisDialog();
+ void onSelectMerge( bool );