8 * A combobox for choosing a color.
10 class QG_ColorBox: public QComboBox
15 QG_ColorBox(QWidget * parent = 0, const char * name = 0);
16 QG_ColorBox(bool showByLayer, bool showUnchanged,
17 QWidget * parent = 0, const char * name = 0);
18 virtual ~QG_ColorBox();
21 void setColor(const RS_Color & color);
22 void setLayerColor(const RS_Color & color);
23 void init(bool showByLayer, bool showUnchanged);
27 void slotColorChanged(int index);
30 void colorChanged(const RS_Color & color);
33 RS_Color currentColor;
39 #endif // __COLORBOX_H__