Eneboo - Documentación para desarrolladores
Métodos públicos
Referencia de la Clase PropertyColorItem

#include <propertyeditor.h>

Diagrama de herencias de PropertyColorItem
QObject PropertyItem Qt Qt QListViewItem Qt Qt

Lista de todos los miembros.

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)

Documentación del constructor y destructor

PropertyColorItem::PropertyColorItem ( PropertyList l,
PropertyItem after,
PropertyItem prop,
const QString propName,
bool  children 
)
PropertyColorItem::~PropertyColorItem ( )

Documentación de las funciones miembro

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.

void PropertyColorItem::drawCustomContents ( QPainter p,
const QRect r 
) [virtual]
Ver también:
hasCustomContents()

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.


La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'