kexi
KFormDesigner::ObjectTreeItem Class Reference
#include <objecttree.h>
Inheritance diagram for KFormDesigner::ObjectTreeItem:

Detailed Description
An item representing a widget Holds the properties of a widget (classname, name, parent, children ..).
- Author:
- Lucijan Busch <lucijan@kde.org>
Definition at line 63 of file objecttree.h.
Public Member Functions | |
ObjectTreeItem (const QString &className, const QString &name, QWidget *widget, Container *parentContainer, Container *container=0) | |
virtual | ~ObjectTreeItem () |
QString | name () const |
QString | className () const |
QWidget * | widget () const |
EventEater * | eventEater () const |
ObjectTreeItem * | parent () const |
ObjectTreeList * | children () |
const QVariantMap * | modifiedProperties () const |
Container * | container () const |
void | setWidget (QWidget *w) |
void | setParent (ObjectTreeItem *parent) |
void | debug (int ident) |
void | rename (const QString &name) |
void | addChild (ObjectTreeItem *it) |
void | removeChild (ObjectTreeItem *it) |
void | addModifiedProperty (const QCString &property, const QVariant &oldValue) |
void | storeUnknownProperty (QDomElement &el) |
void | setPixmapName (const QCString &property, const QString &name) |
QString | pixmapName (const QCString &property) |
void | setEnabled (bool enabled) |
bool | isEnabled () const |
int | gridRow () const |
int | gridCol () const |
int | gridRowSpan () const |
int | gridColSpan () const |
bool | spanMultipleCells () const |
void | setGridPos (int row, int col, int rowspan, int colspan) |
Protected Attributes | |
QString | m_className |
QString | m_name |
ObjectTreeList | m_children |
QGuardedPtr< Container > | m_container |
QMap< QString, QVariant > | m_props |
QString | m_unknownProps |
QMap< QCString, QString > | m_pixmapNames |
ObjectTreeItem * | m_parent |
QGuardedPtr< QWidget > | m_widget |
QGuardedPtr< EventEater > | m_eater |
bool | m_enabled |
int | m_row |
int | m_col |
int | m_rowspan |
int | m_colspan |
bool | m_span |
Friends | |
class | ObjectTree |
class | FormIO |
Member Function Documentation
|
Adds property in the list of the modified properties for this object. These modified properties are written in the .ui files when saving the form. Definition at line 70 of file objecttree.cpp. |
|
Definition at line 81 of file objecttree.h. |
|
Definition at line 78 of file objecttree.h. |
The documentation for this class was generated from the following files: