Salome HOME
Exlude the user input during process events by application (Bug #325).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ColorDlg.h
index 4287e266329bdbffffaea3fff2f261a414ed01d1..c2acd295bda5be97dc7a781e12d7891e07887527 100644 (file)
@@ -34,14 +34,14 @@ class HYDROGUI_ColorDlg : public QDialog
   Q_OBJECT
 
 public:
-  HYDROGUI_ColorDlg( QWidget* );
+  HYDROGUI_ColorDlg( QWidget* theParent, bool theIsOneColor );
   virtual ~HYDROGUI_ColorDlg();
   
-  void                       setFillingColor( const QColor& theColor );
-  QColor                     getFillingColor() const;
+  void                       setFirstColor( const QColor& theColor );
+  QColor                     getFirstColor() const;
 
-  void                       setBorderColor( const QColor& theColor );
-  QColor                     getBorderColor() const;
+  void                       setSecondColor( const QColor& theColor );
+  QColor                     getSecondColor() const;
 
 protected slots:
 
@@ -52,6 +52,10 @@ private:
 
   QGroupBox*                 myBorderColorGroup;
   HYDROGUI_ColorWidget*      myBorderColorBox;
+
+  HYDROGUI_ColorWidget*      myColorBox;
+
+  bool                       myIsOneColor;
 };
 
 #endif