lib
KoProperty::ColorButton Class Reference
Inheritance diagram for KoProperty::ColorButton:

Detailed Description
Definition at line 34 of file coloredit.h.
Public Member Functions | |
| ColorButton (Property *property, QWidget *parent=0, const char *name=0) | |
| virtual | ~ColorButton () |
| virtual QVariant | value () const |
| virtual void | setValue (const QVariant &value, bool emitChange=true) |
| virtual void | drawViewer (QPainter *p, const QColorGroup &cg, const QRect &r, const QVariant &value) |
Protected Slots | |
| void | slotValueChanged (int index) |
| void | selectColor () |
Protected Member Functions | |
| virtual void | setReadOnlyInternal (bool readOnly) |
| virtual bool | eventFilter (QObject *watched, QEvent *e) |
Member Function Documentation
|
||||||||||||||||||||
|
Function to draw a property viewer when the item editor isn't shown. Reimplemented from KoProperty::Widget. Definition at line 89 of file coloredit.cpp. |
|
||||||||||||
|
Filters some event for main widget, eg Enter or Esc key presses. Reimplemented from KoProperty::Widget. Definition at line 123 of file coloredit.cpp. |
|
|
Called by setReadOnly(bool). For implementation: for read-only you should disable editing in the appropriate widget(s). Implements KoProperty::Widget. Definition at line 138 of file coloredit.cpp. |
|
||||||||||||
|
Sets the value shown in the item editor widget. Set emitChange to false if you don't want to emit propertyChanged signal. Implements KoProperty::Widget. Definition at line 70 of file coloredit.cpp. |
|
|
Implements KoProperty::Widget. Definition at line 60 of file coloredit.cpp. |
The documentation for this class was generated from the following files:

