lib

KoProperty::StringListEdit Class Reference

Inheritance diagram for KoProperty::StringListEdit:

KoProperty::Widget List of all members.

Detailed Description

Definition at line 33 of file stringlistedit.h.


Public Member Functions

 StringListEdit (Property *property, QWidget *parent=0, const char *name=0)
virtual ~StringListEdit ()
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 showEditor ()

Protected Member Functions

virtual void setReadOnlyInternal (bool readOnly)

Member Function Documentation

QVariant StringListEdit::value (  )  const [virtual]

Returns:
the value currently entered in the item editor widget.

Implements KoProperty::Widget.

Definition at line 65 of file stringlistedit.cpp.

void StringListEdit::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 71 of file stringlistedit.cpp.

void StringListEdit::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 80 of file stringlistedit.cpp.

void StringListEdit::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 106 of file stringlistedit.cpp.


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