X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ColorDlg.h;h=c2acd295bda5be97dc7a781e12d7891e07887527;hb=f34b90e9e4e02ba65419134d5d37a2e42aecfabf;hp=4287e266329bdbffffaea3fff2f261a414ed01d1;hpb=16f06b749441da906280085ce23c213b175a49b4;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ColorDlg.h b/src/HYDROGUI/HYDROGUI_ColorDlg.h index 4287e266..c2acd295 100644 --- a/src/HYDROGUI/HYDROGUI_ColorDlg.h +++ b/src/HYDROGUI/HYDROGUI_ColorDlg.h @@ -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