Eneboo - Documentación para desarrolladores
|
#include <propertyeditor.h>
Métodos públicos | |
PropertyTextItem (PropertyList *l, PropertyItem *after, PropertyItem *prop, const QString &propName, bool comment, bool multiLine, bool ascii=FALSE, bool a=FALSE) | |
~PropertyTextItem () | |
virtual void | createChildren () |
virtual void | initChildren () |
virtual void | showEditor () |
virtual void | hideEditor () |
virtual void | setValue (const QVariant &v) |
virtual bool | hasSubItems () const |
virtual void | childValueChanged (PropertyItem *child) |
virtual void | setChanged (bool b, bool updateDb=TRUE) |
PropertyTextItem::PropertyTextItem | ( | PropertyList * | l, |
PropertyItem * | after, | ||
PropertyItem * | prop, | ||
const QString & | propName, | ||
bool | comment, | ||
bool | multiLine, | ||
bool | ascii = FALSE , |
||
bool | a = FALSE |
||
) |
PropertyTextItem::~PropertyTextItem | ( | ) |
void PropertyTextItem::childValueChanged | ( | PropertyItem * | child | ) | [virtual] |
If a subclass is a expandable item reimplement this as this is always called if a child item changed its value. So update the display of the item here then.
Reimplementado de PropertyItem.
void PropertyTextItem::createChildren | ( | ) | [virtual] |
If a subclass is a expandable item, this is called when the child items should be created.
Reimplementado de PropertyItem.
bool PropertyTextItem::hasSubItems | ( | ) | const [virtual] |
Subclasses which are expandable items have to return TRUE here. Default is FALSE.
Reimplementado de PropertyItem.
void PropertyTextItem::hideEditor | ( | ) | [virtual] |
Subclasses have to hide the editor of the item here
Reimplementado de PropertyItem.
void PropertyTextItem::initChildren | ( | ) | [virtual] |
If a subclass is a expandable item, this is called when the child items should be initialized.
Reimplementado de PropertyItem.
Reimplementado de PropertyItem.
void PropertyTextItem::setValue | ( | const QVariant & | v | ) | [virtual] |
This is called to init the value of the item. Reimplement in subclasses to init the editor
Reimplementado de PropertyItem.
void PropertyTextItem::showEditor | ( | ) | [virtual] |
Subclasses have to show the editor of the item here
Reimplementado de PropertyItem.