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:
QGroupBox* myBorderColorGroup;
HYDROGUI_ColorWidget* myBorderColorBox;
+
+ HYDROGUI_ColorWidget* myColorBox;
+
+ bool myIsOneColor;
};
#endif