1 // SALOME SalomeApp : implementation of desktop and GUI kernel
3 // Copyright (C) 2003 CEA/DEN, EDF R&D
7 // File : SalomeApp_NameDlg.h
8 // Author : Vadim SANDLER
12 #ifndef SALOMEAPP_NAMEDLG_H
13 #define SALOMEAPP_NAMEDLG_H
20 //=================================================================================
21 // class : SalomeApp_NameDlg
22 /*! purpose : Common <Rename> dialog box class*/
23 //=================================================================================
24 class SalomeApp_NameDlg : public QDialog
29 SalomeApp_NameDlg( QWidget* parent = 0 );
32 void setName( const QString& name );
35 static QString getName( QWidget* parent = 0, const QString& oldName = QString::null );
41 QPushButton* myButtonOk;
42 QPushButton* myButtonCancel;
43 QLineEdit* myLineEdit;
46 #endif // SalomeApp_NAMEDLG_H