lib
KoProperty::EditorItem Class Reference
#include <editoritem.h>
Inheritance diagram for KoProperty::EditorItem:

Detailed Description
Item for a single property displayed within Editor object.
- Author:
- Cedric Pasteur <cedric.pasteur@free.fr>
Alexander Dymo <cloudtemple@mskat.net>
Jaroslaw Staniek <js@iidea.pl>
Definition at line 51 of file editoritem.h.
Public Types | |
typedef QAsciiDict< EditorItem > | Dict |
Public Member Functions | |
EditorItem (Editor *editor, EditorItem *parent, Property *property, QListViewItem *after=0) | |
EditorItem (KListView *parent) | |
EditorItem (EditorItem *parent, const QString &text) | |
virtual | ~EditorItem () |
Property * | property () |
Protected Member Functions | |
virtual void | paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align) |
virtual void | paintBranches (QPainter *p, const QColorGroup &cg, int w, int y, int h) |
virtual void | paintFocus (QPainter *p, const QColorGroup &cg, const QRect &r) |
virtual int | compare (QListViewItem *i, int col, bool ascending) const |
virtual void | setHeight (int height) |
Protected Attributes | |
EditorItemPrivate * | d |
Constructor & Destructor Documentation
|
Creates an EditorItem child of parent, associated to property. It property has not desctiption set, its name (i.e. not i18n'ed) is reused. Definition at line 57 of file editoritem.cpp. |
|
Two helper contructors for subclass.
Definition at line 83 of file editoritem.cpp. |
Member Function Documentation
|
Reimplemented from KListViewItem to draw custom contents. It takes care of drawing the [+] and [-] signs only if the item has children. Definition at line 182 of file editoritem.cpp. |
|
Reimplemented from KListViewItem to draw custom contents. Properties names are wriiten in bold if modified. Also takes care of drawing borders around the cells as well as pixmaps or colors if necessary. Reimplemented from KListViewItem. Reimplemented in KoProperty::EditorGroupItem. Definition at line 113 of file editoritem.cpp. |
|
Definition at line 107 of file editoritem.cpp. |
The documentation for this class was generated from the following files: