Salome HOME
lot 10 - warnings for DTM - untested
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileDlg.h
index 36ad245df441cbd3e2f71be12ad8099196a19565..7055d77531eef30d4678a4b0b99a676773a365e4 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();
@@ -72,6 +72,7 @@ protected slots:
   void onProfileIndexChanged();
   void onAddBtnPressed(bool);
   void onRemoveBtnPressed(bool);
+  void onSetColorBtnPressed(bool);
   void onProfileNameChanged(QListWidgetItem* item);
 
 signals:
@@ -83,7 +84,6 @@ signals:
   void                  AddProfiles();
   void                  RemoveProfile(int);
 
-
 protected:
   virtual Handle(AIS_Trihedron) trihedron();
 
@@ -92,11 +92,13 @@ private:
   QListWidget*           myProfileNames;
   QPushButton*           myAddProfBtn;
   QPushButton*           myRemProfBtn; 
-public://temp TODO
+  QPushButton*           mySetColorProfBtn;
+public:
   CurveCreator_Widget*   myEditorWidget;
   QGroupBox*             myAddElementBox;
   std::vector<HYDROGUI_CurveCreatorProfile*>* myProfilesPointer;
-  bool                   mySingleProfileMode;
+private:
+  bool                   myIsEdit;
   QString                myCurrentName;
 };