27 #ifndef SMESHGUI_GROUPDLG_H
28 #define SMESHGUI_GROUPDLG_H
39 #include <SALOMEconfig.h>
40 #include CORBA_SERVER_HEADER(SMESH_Mesh)
41 #include CORBA_SERVER_HEADER(SMESH_Group)
42 #include CORBA_SERVER_HEADER(SMESH_Filter)
63 class LightApp_SelectionMgr;
76 SMESH::SMESH_Mesh_ptr = SMESH::SMESH_Mesh::_nil() );
78 SMESH::SMESH_GroupBase_ptr,
79 const bool theIsConvert =
false );
82 static QString GetDefaultName(
const QString& );
89 virtual void reject();
92 void onTypeChanged(
int );
93 void onGrpTypeChanged(
int );
94 void onColorChanged( QColor );
100 void onVisibilityChanged();
102 void onListSelectionChanged();
103 void onObjectSelectionChanged();
106 void onSelectSubMesh(
bool );
107 void onSelectGroup(
bool );
108 void onSelectGeomGroup(
bool );
109 void setCurrentSelection();
114 void onNameChanged(
const QString& );
115 void onFilterAccepted();
117 void onGeomPopup( QAction* );
118 void onGeomSelectionButton(
bool );
120 void onPublishShapeByMeshDlg( SUIT_Operation* );
121 void onCloseShapeByMeshDlg( SUIT_Operation* );
127 void initDialog(
bool );
128 void init( SMESH::SMESH_Mesh_ptr );
129 void init( SMESH::SMESH_GroupBase_ptr,
130 const bool theIsConvert =
false );
131 void enterEvent( QEvent* );
132 void keyPressEvent( QKeyEvent* );
133 void setSelectionMode(
int );
134 void updateButtons();
135 void updateGeomPopup();
136 bool SetAppropriateActor();
137 void setShowEntityMode();
138 void restoreShowEntityMode();
142 void setGroupColor(
const SALOMEDS::Color& );
143 SALOMEDS::Color getGroupColor()
const;
145 void setGroupQColor(
const QColor& );
146 QColor getGroupQColor()
const;
147 void setDefaultName()
const;
148 void setDefaultGroupColor();
150 void setIsApplyAndClose(
const bool theFlag );
151 bool isApplyAndClose()
const;
237 #endif // SMESHGUI_GROUPDLG_H