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

Detailed Description
Definition at line 59 of file booledit.h.
Public Member Functions | |
ThreeStateBoolEdit (Property *property, QWidget *parent=0, const char *name=0) | |
virtual | ~ThreeStateBoolEdit () |
virtual QVariant | value () const |
virtual void | setValue (const QVariant &value, bool emitChange=true) |
virtual void | setProperty (Property *property) |
virtual void | drawViewer (QPainter *p, const QColorGroup &cg, const QRect &r, const QVariant &value) |
Public Attributes | |
QPixmap | m_yesIcon |
QPixmap | m_noIcon |
Member Function Documentation
QVariant ThreeStateBoolEdit::value | ( | ) | const [virtual] |
- Returns:
- the value currently entered in the item editor widget.
Reimplemented from KoProperty::ComboBox.
Definition at line 171 of file booledit.cpp.
void ThreeStateBoolEdit::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.
Reimplemented from KoProperty::ComboBox.
Definition at line 192 of file booledit.cpp.
void ThreeStateBoolEdit::setProperty | ( | Property * | property | ) | [virtual] |
Sets the name of edited property.
Reimplemented from KoProperty::ComboBox.
Definition at line 182 of file booledit.cpp.
void ThreeStateBoolEdit::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::ComboBox.
Definition at line 207 of file booledit.cpp.
Member Data Documentation
The documentation for this class was generated from the following files: