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