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

Detailed Description
Definition at line 32 of file pointedit.h.
Public Member Functions | |
PointEdit (Property *property, QWidget *parent=0, const char *name=0) | |
virtual | ~PointEdit () |
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 Member Functions | |
virtual void | setReadOnlyInternal (bool readOnly) |
Member Function Documentation
void PointEdit::drawViewer | ( | QPainter * | p, | |
const QColorGroup & | cg, | |||
const QRect & | r, | |||
const QVariant & | value | |||
) | [virtual] |
Function to draw a property viewer when the item editor isn't shown.
Reimplemented from KoProperty::Widget.
Definition at line 75 of file pointedit.cpp.
void PointEdit::setReadOnlyInternal | ( | bool | readOnly | ) | [protected, virtual] |
Called by setReadOnly(bool). For implementation: for read-only you should disable editing in the appropriate widget(s).
Implements KoProperty::Widget.
Definition at line 86 of file pointedit.cpp.
void PointEdit::setValue | ( | const QVariant & | value, | |
bool | emitChange = true | |||
) | [virtual] |
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 63 of file pointedit.cpp.
QVariant PointEdit::value | ( | ) | const [virtual] |
- Returns:
- the value currently entered in the item editor widget.
Implements KoProperty::Widget.
Definition at line 57 of file pointedit.cpp.
The documentation for this class was generated from the following files: