#include <objecttree.h>
|
| | ObjectTreeItem (const TQString &className, const TQString &name, TQWidget *widget, Container *parentContainer, Container *container=0) |
| |
| TQString | name () const |
| |
| TQString | className () const |
| |
| TQWidget * | widget () const |
| |
| EventEater * | eventEater () const |
| |
| ObjectTreeItem * | parent () const |
| |
| ObjectTreeList * | children () |
| |
| const TQStringVariantMap * | modifiedProperties () const |
| |
| Container * | container () const |
| |
| void | setWidget (TQWidget *w) |
| |
| void | setParent (ObjectTreeItem *parent) |
| |
|
void | debug (int ident) |
| |
| void | rename (const TQString &name) |
| |
| void | addChild (ObjectTreeItem *it) |
| |
| void | removeChild (ObjectTreeItem *it) |
| |
| void | addModifiedProperty (const TQCString &property, const TQVariant &oldValue) |
| |
| void | storeUnknownProperty (TQDomElement &el) |
| |
| void | addSubproperty (const TQCString &property, const TQVariant &value) |
| |
| TQStringVariantMap * | subproperties () const |
| |
| void | setPixmapName (const TQCString &property, const TQString &name) |
| |
| TQString | pixmapName (const TQCString &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) |
| |
An item representing a widget Holds the properties of a widget (classname, name, parent, children ..).
- Author
- Lucijan Busch lucij.nosp@m.an@k.nosp@m.de.or.nosp@m.g
Definition at line 58 of file objecttree.h.
◆ ObjectTreeItem()
| ObjectTreeItem::ObjectTreeItem |
( |
const TQString & |
className, |
|
|
const TQString & |
name, |
|
|
TQWidget * |
widget, |
|
|
Container * |
parentContainer, |
|
|
Container * |
container = 0 |
|
) |
| |
◆ ~ObjectTreeItem()
| ObjectTreeItem::~ObjectTreeItem |
( |
| ) |
|
|
virtual |
◆ addChild()
◆ addModifiedProperty()
| void ObjectTreeItem::addModifiedProperty |
( |
const TQCString & |
property, |
|
|
const TQVariant & |
oldValue |
|
) |
| |
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 78 of file objecttree.cpp.
◆ addSubproperty()
| void ObjectTreeItem::addSubproperty |
( |
const TQCString & |
property, |
|
|
const TQVariant & |
value |
|
) |
| |
Adds subproperty property value value (a property of subwidget). Remembering it for delayed setting is needed because on loading the subwidget could be not created yet (true e.g. for KexiDBAutoField).
Definition at line 90 of file objecttree.cpp.
◆ children()
◆ className()
| TQString KFormDesigner::ObjectTreeItem::className |
( |
| ) |
const |
|
inline |
◆ container()
| Container * KFormDesigner::ObjectTreeItem::container |
( |
| ) |
const |
|
inline |
◆ eventEater()
| EventEater * KFormDesigner::ObjectTreeItem::eventEater |
( |
| ) |
const |
|
inline |
◆ gridCol()
| int KFormDesigner::ObjectTreeItem::gridCol |
( |
| ) |
const |
|
inline |
◆ gridColSpan()
| int KFormDesigner::ObjectTreeItem::gridColSpan |
( |
| ) |
const |
|
inline |
◆ gridRow()
| int KFormDesigner::ObjectTreeItem::gridRow |
( |
| ) |
const |
|
inline |
◆ gridRowSpan()
| int KFormDesigner::ObjectTreeItem::gridRowSpan |
( |
| ) |
const |
|
inline |
◆ isEnabled()
| bool KFormDesigner::ObjectTreeItem::isEnabled |
( |
| ) |
const |
|
inline |
◆ modifiedProperties()
| const TQStringVariantMap * KFormDesigner::ObjectTreeItem::modifiedProperties |
( |
| ) |
const |
|
inline |
- Returns
- a TQStringVariantMap of all modified properties for this widget. The TQVariant is the old value (ie first value) of the property whose name is the TQString.
Definition at line 73 of file objecttree.h.
◆ name()
| TQString KFormDesigner::ObjectTreeItem::name |
( |
| ) |
const |
|
inline |
◆ parent()
◆ pixmapName()
| TQString ObjectTreeItem::pixmapName |
( |
const TQCString & |
property | ) |
|
◆ removeChild()
◆ rename()
| void ObjectTreeItem::rename |
( |
const TQString & |
name | ) |
|
◆ setEnabled()
| void KFormDesigner::ObjectTreeItem::setEnabled |
( |
bool |
enabled | ) |
|
|
inline |
◆ setGridPos()
| void ObjectTreeItem::setGridPos |
( |
int |
row, |
|
|
int |
col, |
|
|
int |
rowspan, |
|
|
int |
colspan |
|
) |
| |
◆ setParent()
◆ setPixmapName()
| void ObjectTreeItem::setPixmapName |
( |
const TQCString & |
property, |
|
|
const TQString & |
name |
|
) |
| |
◆ setWidget()
| void KFormDesigner::ObjectTreeItem::setWidget |
( |
TQWidget * |
w | ) |
|
|
inline |
◆ spanMultipleCells()
| bool KFormDesigner::ObjectTreeItem::spanMultipleCells |
( |
| ) |
const |
|
inline |
◆ storeUnknownProperty()
◆ subproperties()
| TQStringVariantMap * KFormDesigner::ObjectTreeItem::subproperties |
( |
| ) |
const |
|
inline |
◆ widget()
| TQWidget * KFormDesigner::ObjectTreeItem::widget |
( |
| ) |
const |
|
inline |
◆ FormIO
◆ ObjectTree
◆ m_children
◆ m_className
| TQString KFormDesigner::ObjectTreeItem::m_className |
|
protected |
◆ m_col
| int KFormDesigner::ObjectTreeItem::m_col |
|
protected |
◆ m_colspan
| int KFormDesigner::ObjectTreeItem::m_colspan |
|
protected |
◆ m_container
◆ m_eater
◆ m_enabled
| bool KFormDesigner::ObjectTreeItem::m_enabled |
|
protected |
◆ m_name
| TQString KFormDesigner::ObjectTreeItem::m_name |
|
protected |
◆ m_parent
◆ m_pixmapNames
| TQMap<TQCString, TQString> KFormDesigner::ObjectTreeItem::m_pixmapNames |
|
protected |
◆ m_props
| TQStringVariantMap KFormDesigner::ObjectTreeItem::m_props |
|
protected |
◆ m_row
| int KFormDesigner::ObjectTreeItem::m_row |
|
protected |
◆ m_rowspan
| int KFormDesigner::ObjectTreeItem::m_rowspan |
|
protected |
◆ m_span
| bool KFormDesigner::ObjectTreeItem::m_span |
|
protected |
◆ m_subprops
| TQStringVariantMap* KFormDesigner::ObjectTreeItem::m_subprops |
|
protected |
◆ m_unknownProps
| TQString KFormDesigner::ObjectTreeItem::m_unknownProps |
|
protected |
◆ m_widget
| TQGuardedPtr<TQWidget> KFormDesigner::ObjectTreeItem::m_widget |
|
protected |
The documentation for this class was generated from the following files:
|