Eneboo - Documentación para desarrolladores
|
#include <propertyeditor.h>
Métodos públicos | |
PropertyColorItem (PropertyList *l, PropertyItem *after, PropertyItem *prop, const QString &propName, bool children) | |
~PropertyColorItem () | |
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 bool | hasCustomContents () const |
virtual void | drawCustomContents (QPainter *p, const QRect &r) |
PropertyColorItem::PropertyColorItem | ( | PropertyList * | l, |
PropertyItem * | after, | ||
PropertyItem * | prop, | ||
const QString & | propName, | ||
bool | children | ||
) |
PropertyColorItem::~PropertyColorItem | ( | ) |
void PropertyColorItem::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 PropertyColorItem::createChildren | ( | ) | [virtual] |
If a subclass is a expandable item, this is called when the child items should be created.
Reimplementado de PropertyItem.
Reimplementado de PropertyItem.
bool PropertyColorItem::hasCustomContents | ( | ) | const [virtual] |
If the contents of the item is not displayable with a text, but you want to draw it yourself (using drawCustomContents()), return TRUE here.
Reimplementado de PropertyItem.
bool PropertyColorItem::hasSubItems | ( | ) | const [virtual] |
Subclasses which are expandable items have to return TRUE here. Default is FALSE.
Reimplementado de PropertyItem.
void PropertyColorItem::hideEditor | ( | ) | [virtual] |
Subclasses have to hide the editor of the item here
Reimplementado de PropertyItem.
void PropertyColorItem::initChildren | ( | ) | [virtual] |
If a subclass is a expandable item, this is called when the child items should be initialized.
Reimplementado de PropertyItem.
void PropertyColorItem::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 PropertyColorItem::showEditor | ( | ) | [virtual] |
Subclasses have to show the editor of the item here
Reimplementado de PropertyItem.