21#ifndef KPROPERTY_COLOREDIT_H
22#define KPROPERTY_COLOREDIT_H
30class KOPROPERTY_EXPORT ColorButton : public Widget
36 ColorButton(Property *property, TQWidget *parent=0, const char *name=0);
37 virtual ~ColorButton();
39 virtual TQVariant value() const;
40 virtual void setValue( const TQVariant &value, bool emitChange= true);
42 virtual void drawViewer(TQPainter *p, const TQColorGroup &cg, const TQRect &r, const TQVariant &value);
45 virtual void setReadOnlyInternal( bool readOnly);
46 virtual bool eventFilter(TQObject* watched, TQEvent* e);
49 void slotValueChanged( int index);
Namespace for a set of classes implementing generic properties framework.
|