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