26 #ifndef SMESHGUI_MESHPATTERNDLG_H
27 #define SMESHGUI_MESHPATTERNDLG_H
37 #include <SALOMEconfig.h>
38 #include CORBA_SERVER_HEADER(SMESH_Mesh)
39 #include CORBA_SERVER_HEADER(SMESH_Pattern)
48 class SalomeApp_IntSpinBox;
52 class LightApp_SelectionMgr;
70 enum { Mesh, Object, Vertex1, Vertex2, Ids };
79 virtual void reject();
88 void onSelectionDone();
89 void onSelInputChanged();
91 void onTypeChanged(
int );
92 void onModeToggled(
bool );
95 void onReverse(
bool );
96 void onPreview(
bool );
97 void onOkCreationDlg();
98 void onCloseCreationDlg();
99 void onTextChanged(
const QString& );
100 void onNodeChanged(
int );
107 void displayPreview();
110 void updateWgState();
111 bool loadFromFile(
const QString& );
112 void activateSelection();
113 QStringList prepareFilters()
const;
114 QString autoExtension(
const QString& )
const;
115 void enterEvent( QEvent* );
116 void keyPressEvent( QKeyEvent* );
117 bool isValid(
const bool =
true );
118 void resetSelInput();
119 bool isRefine()
const;
121 bool getIds( QList<int>& )
const;
122 int getNode(
bool =
false )
const;
#define SMESHGUI_EXPORT
Definition: SMESH_SMESHGUI.hxx:36
Class : SMESHGUI_CreatePatternDlg Description : Dialog to specify filters for VTK viewer.
Definition: SMESHGUI_CreatePatternDlg.h:57
Definition: SMESHGUI_MeshPatternDlg.h:63
SalomeApp_IntSpinBox * myNode1
Definition: SMESHGUI_MeshPatternDlg.h:137
GEOM::GEOM_Object_var myMeshShape
Definition: SMESHGUI_MeshPatternDlg.h:170
QCheckBox * myCreatePolyedrsChk
Definition: SMESHGUI_MeshPatternDlg.h:154
int myNbPoints
Definition: SMESHGUI_MeshPatternDlg.h:164
QMap< int, QLabel * > mySelLbl
Definition: SMESHGUI_MeshPatternDlg.h:144
QLabel * myNode2Lbl
Definition: SMESHGUI_MeshPatternDlg.h:139
int myType
Definition: SMESHGUI_MeshPatternDlg.h:165
SalomeApp_IntSpinBox * myNode2
Definition: SMESHGUI_MeshPatternDlg.h:138
QLineEdit * myName
Definition: SMESHGUI_MeshPatternDlg.h:148
QRadioButton * mySwitch3d
Definition: SMESHGUI_MeshPatternDlg.h:132
QCheckBox * myCreatePolygonsChk
Definition: SMESHGUI_MeshPatternDlg.h:153
QCheckBox * myReverseChk
Definition: SMESHGUI_MeshPatternDlg.h:152
QLabel * myPicture3d
Definition: SMESHGUI_MeshPatternDlg.h:156
QPushButton * myOpenBtn
Definition: SMESHGUI_MeshPatternDlg.h:149
QString myHelpFileName
Definition: SMESHGUI_MeshPatternDlg.h:177
QRadioButton * mySwitch2d
Definition: SMESHGUI_MeshPatternDlg.h:131
QPushButton * myApplyBtn
Definition: SMESHGUI_MeshPatternDlg.h:126
QMap< int, QLineEdit * > mySelEdit
Definition: SMESHGUI_MeshPatternDlg.h:143
bool myBusy
Definition: SMESHGUI_MeshPatternDlg.h:167
QPushButton * myOkBtn
Definition: SMESHGUI_MeshPatternDlg.h:125
SMESHGUI * mySMESHGUI
Definition: SMESHGUI_MeshPatternDlg.h:160
@ Type_2d
Definition: SMESHGUI_MeshPatternDlg.h:67
QButtonGroup * myTypeGrp
Definition: SMESHGUI_MeshPatternDlg.h:130
int mySelInput
Definition: SMESHGUI_MeshPatternDlg.h:163
QFrame * myGeomGrp
Definition: SMESHGUI_MeshPatternDlg.h:141
QPushButton * myCloseBtn
Definition: SMESHGUI_MeshPatternDlg.h:127
SMESH::SMESH_Pattern_var myPattern
Definition: SMESHGUI_MeshPatternDlg.h:174
SALOME_Actor * myPreviewActor
Definition: SMESHGUI_MeshPatternDlg.h:175
QPushButton * myNewBtn
Definition: SMESHGUI_MeshPatternDlg.h:150
SMESH::SMESH_Mesh_var myMesh
Definition: SMESHGUI_MeshPatternDlg.h:169
LightApp_SelectionMgr * mySelectionMgr
Definition: SMESHGUI_MeshPatternDlg.h:162
QCheckBox * myPreviewChk
Definition: SMESHGUI_MeshPatternDlg.h:158
QPushButton * myHelpBtn
Definition: SMESHGUI_MeshPatternDlg.h:128
QMap< int, QPushButton * > mySelBtn
Definition: SMESHGUI_MeshPatternDlg.h:142
SMESHGUI_PatternWidget * myPicture2d
Definition: SMESHGUI_MeshPatternDlg.h:155
bool myIsCreateDlgOpen
Definition: SMESHGUI_MeshPatternDlg.h:166
SMESHGUI_CreatePatternDlg * myCreationDlg
Definition: SMESHGUI_MeshPatternDlg.h:173
QFrame * myRefineGrp
Definition: SMESHGUI_MeshPatternDlg.h:136
SVTK_Selector * mySelector
Definition: SMESHGUI_MeshPatternDlg.h:161
QCheckBox * myRefine
Definition: SMESHGUI_MeshPatternDlg.h:134
QWidget * myMainFrame
Definition: SMESHGUI_MeshPatternDlg.h:146
QMap< int, GEOM::GEOM_Object_var > myGeomObj
Definition: SMESHGUI_MeshPatternDlg.h:171
Definition: SMESHGUI.h:84