lib

KoProperty::CursorEdit Class Reference

Inheritance diagram for KoProperty::CursorEdit:

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

Detailed Description

Definition at line 30 of file cursoredit.h.


Public Member Functions

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

Constructor & Destructor Documentation

CursorEdit::CursorEdit ( Property property,
QWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 38 of file cursoredit.cpp.


Member Function Documentation

QVariant CursorEdit::value (  )  const [virtual]

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

Reimplemented from KoProperty::ComboBox.

Definition at line 113 of file cursoredit.cpp.

void CursorEdit::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 119 of file cursoredit.cpp.

void CursorEdit::setProperty ( Property property  )  [virtual]

Sets the name of edited property.

Reimplemented from KoProperty::ComboBox.

Definition at line 131 of file cursoredit.cpp.

void CursorEdit::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 125 of file cursoredit.cpp.


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