2 #ifndef HYDROGUI_COLOR_WIDGET_HEADER
3 #define HYDROGUI_COLOR_WIDGET_HEADER
7 /** \class HYDROGUI_ColorWidget
8 * \brief The class representing widget for color selection
10 class HYDROGUI_ColorWidget : public QFrame
16 * \param parent - parent widget
18 HYDROGUI_ColorWidget( QWidget* parent );
20 virtual ~HYDROGUI_ColorWidget();
22 /** \return color value */
24 /** Sets color value */
25 void setColor( const QColor& );
26 /** \return color value in the integer form */
27 //int intColor() const;
28 /** Sets color value in the integer form */
29 //void setColor( const int );
30 /** Sets a randomized color as current value */
31 //void setRandColor();
34 /** is emitted when signal is changed */
35 void colorChanged( const QColor& );
38 /** mouse double click event handler, activates the standard color dialog for color choice */
39 virtual void mouseDoubleClickEvent( QMouseEvent* );