27 #ifndef SMESHGUI_MESHDLG_H
28 #define SMESHGUI_MESHDLG_H
37 #include <QStringList>
71 void setTitile(
const bool,
const bool );
72 void setHypoSets(
const QStringList& );
73 void setGeomPopupEnabled(
const bool );
74 int getActiveObject();
77 void enableTab(
const int);
78 void disableTab(
const int);
79 bool isTabEnabled(
const int)
const;
80 void setCurrentTab(
const int );
81 int currentTab()
const;
82 void setMaxHypoDim(
const int );
84 void setAvailableMeshType(
const QStringList& );
85 void setCurrentMeshType(
const int );
86 int currentMeshType();
88 bool toCreateAllGroups();
96 void onHypoSetPopup( QAction* );
97 void onGeomPopup( QAction* );
98 void onGeomSelectionButton(
bool );
99 void onChangedMeshType(
const int );
135 void setAvailableHyps(
const int,
const QStringList& );
136 void setExistingHyps(
const int,
const QStringList&,
bool=
false);
137 void addHyp(
const int,
const QString& );
139 void setCurrentHyp(
const int,
const int );
140 int currentHyp(
const int )
const;
141 int nbAddHypTypes()
const;
161 void addItem(
const QString& txt,
const int type,
const int index,
const bool isGroup=
false );
162 int getCurrentIndex(
const int type,
const bool curByType=
false)
const;
#define SMESHGUI_EXPORT
Definition: SMESH_SMESHGUI.hxx:36
Definition: SMESHGUI_Dialog.h:44
Dialog for mech creation or editing.
Definition: SMESHGUI_MeshDlg.h:56
QComboBox * myMeshType
Definition: SMESHGUI_MeshDlg.h:106
void selectMeshType(const int, const int)
void hypoSet(const QString &)
void geomSelectionByMesh(bool)
QMap< int, SMESHGUI_MeshTab * > myTabs
Definition: SMESHGUI_MeshDlg.h:102
Controls
Definition: SMESHGUI_MeshDlg.h:61
QToolButton * myHypoSetButton
Definition: SMESHGUI_MeshDlg.h:104
QTabWidget * myTabWg
Definition: SMESHGUI_MeshDlg.h:103
Dimensions
Describes dimensions.
Definition: SMESHGUI_MeshDlg.h:64
QCheckBox * myCreateGroupsCheck
Definition: SMESHGUI_MeshDlg.h:107
QMenu * myGeomPopup
Definition: SMESHGUI_MeshDlg.h:105
Tab for tab widget containing controls for definition of algorithms and hypotheses.
Definition: SMESHGUI_MeshDlg.h:116
void editHyp(const int, const int)
Emitted when "Edit hypothesis" button clicked.
QMap< int, QStringList > myAvailableHypTypes
Definition: SMESHGUI_MeshDlg.h:164
QMap< int, QtxToolButton * > myHypCombo
Definition: SMESHGUI_MeshDlg.h:166
void createHyp(const int, const int)
Emitted when "Create hypothesis" button clicked.
QToolButton * myMoreAddHypBtn
Definition: SMESHGUI_MeshDlg.h:170
QListWidget * myAddHypList
Definition: SMESHGUI_MeshDlg.h:172
QMap< int, QToolButton * > myCreateHypBtn
Definition: SMESHGUI_MeshDlg.h:167
QMap< int, QToolButton * > myEditHypBtn
Definition: SMESHGUI_MeshDlg.h:168
HypType
To differ main algorithms, hypotheses and additional ones.
Definition: SMESHGUI_MeshDlg.h:122
@ AddHyp
additional hypothesis
Definition: SMESHGUI_MeshDlg.h:125
@ MainHyp
main hypothesis
Definition: SMESHGUI_MeshDlg.h:124
QToolButton * myLessAddHypBtn
Definition: SMESHGUI_MeshDlg.h:171
void selectAlgo(const int)
Emitted when an algorithm is selected.