lib

KoProperty::ThreeStateBoolEdit Class Reference

Inheritance diagram for KoProperty::ThreeStateBoolEdit:

KoProperty::ComboBox KoProperty::Widget List of all members.

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

icons for m_toggle

Definition at line 72 of file booledit.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys