Salome HOME
refs #1457
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileDlg.h
index d8705434da91f2ae06a881c6219af9fec3ce6b3a..91f06f88a992df55abb416b54137c246682c482a 100644 (file)
@@ -52,8 +52,8 @@ public:
   void  setProfile( CurveCreator_ICurve* theProfile );
   void  setProfilesPointer(std::vector<HYDROGUI_CurveCreatorProfile*>* theProfilesPointer);
   void  switchToFirstProfile();
-  void  SetSingleProfileMode(bool SingleMode);
-  bool  GetSingleProfileMode() const;
+  //void  SetSingleProfileMode(bool SingleMode);
+  //bool  GetSingleProfileMode() const;
   void  SwitchToProfile(int theIndex);
   void  BlockProfileNameSignals(bool state);
   int   GetProfileSelectionIndex();
@@ -68,7 +68,7 @@ public:
 protected slots:
   void processStartedSubOperation( QWidget*, bool );
   void processFinishedSubOperation( QWidget* );
-  //void ProfileNameChanged(QString);
+  void ProfileNameChanged(QString);
   void onProfileIndexChanged();
   void onAddBtnPressed(bool);
   void onRemoveBtnPressed(bool);
@@ -83,7 +83,6 @@ signals:
   void                  AddProfiles();
   void                  RemoveProfile(int);
 
-
 protected:
   virtual Handle(AIS_Trihedron) trihedron();
 
@@ -92,11 +91,13 @@ private:
   QListWidget*           myProfileNames;
   QPushButton*           myAddProfBtn;
   QPushButton*           myRemProfBtn; 
-public://temp TODO
+public:
   CurveCreator_Widget*   myEditorWidget;
   QGroupBox*             myAddElementBox;
   std::vector<HYDROGUI_CurveCreatorProfile*>* myProfilesPointer;
-  bool                   mySingleProfileMode;
+private:
+  bool                   myIsEdit;
+  QString                myCurrentName;
 };
 
 #endif