Eneboo - Documentación para desarrolladores
|
#include <propertyeditor.h>
Métodos públicos | |
PropertyPaletteItem (PropertyList *l, PropertyItem *after, PropertyItem *prop, const QString &propName) | |
~PropertyPaletteItem () | |
virtual void | showEditor () |
virtual void | hideEditor () |
virtual void | setValue (const QVariant &v) |
virtual bool | hasCustomContents () const |
virtual void | drawCustomContents (QPainter *p, const QRect &r) |
PropertyPaletteItem::PropertyPaletteItem | ( | PropertyList * | l, |
PropertyItem * | after, | ||
PropertyItem * | prop, | ||
const QString & | propName | ||
) |
PropertyPaletteItem::~PropertyPaletteItem | ( | ) |
Reimplementado de PropertyItem.
bool PropertyPaletteItem::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.
void PropertyPaletteItem::hideEditor | ( | ) | [virtual] |
Subclasses have to hide the editor of the item here
Reimplementado de PropertyItem.
void PropertyPaletteItem::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 PropertyPaletteItem::showEditor | ( | ) | [virtual] |
Subclasses have to show the editor of the item here
Reimplementado de PropertyItem.