26#ifndef SMESHGUI_CREATEPATTERNDLG_H
27#define SMESHGUI_CREATEPATTERNDLG_H
36#include <SALOMEconfig.h>
37#include CORBA_SERVER_HEADER(SMESH_Mesh)
38#include CORBA_SERVER_HEADER(SMESH_Pattern)
41class SALOMEDSClient_SObject;
48class LightApp_SelectionMgr;
67 void Init(
const int );
68 QString GetPatternName()
const;
70 void SetMesh( SMESH::SMESH_Mesh_ptr );
77 void enterEvent( QEvent* );
78 void keyPressEvent( QKeyEvent* );
88 void onSelectionDone();
89 void onTypeChanged(
int );
90 void onProject(
bool );
91 void onSelBtnClicked();
96 void displayPreview();
98 void activateSelection();
99 QString autoExtension(
const QString& )
const;
101 bool loadFromObject(
const bool =
true );
102 QString getDefaultName()
const;
103 GEOM::GEOM_Object_ptr
getGeom( SALOMEDSClient_SObject* )
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
LightApp_SelectionMgr * mySelectionMgr
Definition: SMESHGUI_CreatePatternDlg.h:118
QRadioButton * mySwitch2d
Definition: SMESHGUI_CreatePatternDlg.h:107
SMESHGUI_PatternWidget * myPicture2d
Definition: SMESHGUI_CreatePatternDlg.h:113
QButtonGroup * myTypeGrp
Definition: SMESHGUI_CreatePatternDlg.h:106
SMESH::SMESH_Mesh_var myMesh
Definition: SMESHGUI_CreatePatternDlg.h:121
SMESH::SMESH_Pattern_var myPattern
Definition: SMESHGUI_CreatePatternDlg.h:125
QString myHelpFileName
Definition: SMESHGUI_CreatePatternDlg.h:128
GEOM::GEOM_Object_var myGeomObj
Definition: SMESHGUI_CreatePatternDlg.h:123
QLineEdit * myName
Definition: SMESHGUI_CreatePatternDlg.h:111
int myType
Definition: SMESHGUI_CreatePatternDlg.h:119
GEOM::GEOM_Object_ptr getGeom(SALOMEDSClient_SObject *) const
bool myIsLoaded
Definition: SMESHGUI_CreatePatternDlg.h:126
@ Type_2d
Definition: SMESHGUI_CreatePatternDlg.h:61
QLineEdit * myMeshEdit
Definition: SMESHGUI_CreatePatternDlg.h:110
QCheckBox * myProjectChk
Definition: SMESHGUI_CreatePatternDlg.h:115
SMESH::SMESH_subMesh_var mySubMesh
Definition: SMESHGUI_CreatePatternDlg.h:122
SMESHGUI * mySMESHGUI
Definition: SMESHGUI_CreatePatternDlg.h:117
QRadioButton * mySwitch3d
Definition: SMESHGUI_CreatePatternDlg.h:108
Definition: SMESHGUI.h:84
SMESH::SMESH_Pattern_var GetPattern()
Definition: SMESHGUI_PatternUtils.cxx:34