Salome HOME
Feature #86: The hierarchy in the Object Browser (T 19).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ObstacleDlg.h
index af303096de6684925b8985217aa26137895fed91..60d2acbb139e49405f0dfa76de6611de38119e3c 100644 (file)
@@ -50,13 +50,17 @@ public:
 
   QString                    getFileName() const;
 
+  QString                    getDefaultName();
+  void                       setDefaultName( const QString& theName );
+
 protected slots:
   void                       onModeActivated( int );
   void                       onObstacleSelectionChanged();
   void                       onBrowse();
 
 private:
-  void                       UpdateControls();
+  void                       updateControls();
+  void                       updateObjectName();
 
 private:
   QLineEdit*                 myFileName;
@@ -71,6 +75,7 @@ private:
   QComboBox*                 myObstacles;
 
   bool                       myFileSelectionEnabled;
+  QString                    myDefaultName;
 };
 
 #endif