]> SALOME platform Git repositories - modules/hydro.git/blobdiff - src/HYDROGUI/HYDROGUI_CalculationDlg.h
Salome HOME
Name validator is added to the Calculation Case dialog.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_CalculationDlg.h
index 55a98ca1cf9fccb1e3918cf651f9f2971de90e74..37206ede90ca26759bd3511c617c2a76407e077d 100644 (file)
@@ -32,6 +32,7 @@ class QLineEdit;
 class QListWidget;
 class QComboBox;
 class HYDROGUI_DataBrowser;
+class HYDROGUI_NameValidator;
 
 class HYDROGUI_CalculationDlg : public HYDROGUI_Wizard
 {
@@ -52,6 +53,9 @@ public:
   void                       setSelectedGeomObjects( const QStringList& theObjects );
   QStringList                getSelectedGeomObjects() const;
 
+  public slots:
+    void                     onEmptyName();
+    void                     onAlreadyExists( QString theName );
 private:
 
   QWizardPage*               createObjectsPage();
@@ -59,6 +63,7 @@ private:
 
   QGroupBox*                 myObjectNameGroup;
   QLineEdit*                 myObjectName;
+  HYDROGUI_NameValidator*    myValidator;
 
   QListWidget*               myGeomObjects;