1 // SALOME GEOMToolsGUI : implementation of desktop and GUI kernel
3 // Copyright (C) 2003 CEA/DEN, EDF R&D
7 // File : GEOMToolsGUI_NameDlg.h
8 // Author : Vadim SANDLER
12 #ifndef GEOMToolsGUI_NAMEDLG_H
13 #define GEOMToolsGUI_NAMEDLG_H
15 #include "GEOM_ToolsGUI.hxx"
22 //=================================================================================
23 // class : GEOMToolsGUI_NameDlg
24 // purpose : Common <Rename> dialog box class
25 //=================================================================================
26 class GEOMTOOLSGUI_EXPORT GEOMToolsGUI_NameDlg : public QDialog
31 GEOMToolsGUI_NameDlg( QWidget* parent = 0 );
32 ~GEOMToolsGUI_NameDlg();
34 void setName( const QString& name );
37 static QString getName( QWidget* parent = 0, const QString& oldName = QString::null );
43 QPushButton* myButtonOk;
44 QPushButton* myButtonCancel;
45 QLineEdit* myLineEdit;
48 #endif // GEOMToolsGUI_NAMEDLG_H