AbstractProperty Class Reference

#include <property_data.h>

Inheritance diagram for AbstractProperty:

Inheritance graph
[legend]
Collaboration diagram for AbstractProperty:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AbstractProperty (const char *name, const QString &label, PropertyData *propertyData, const QVariant &value)
 ~AbstractProperty ()
QWidget * createEditor (QWidget *)
void updateEditor (QWidget *)
const char * name ()
QString label () const
QVariant value () const
QString valueToString () const
QString status () const
int children ()
void addChild (IProperty *child)
void clearChildren ()
IPropertychild (int index) const
IPropertychild (const QString &) const
int indexOf (IProperty *child)
IPropertyparent ()
void setParent (IProperty *parent)
void setFake (bool fake)
void setValue (const QVariant &value)
bool isFake ()

Protected Member Functions

PropertyDatapropertyData () const

Protected Attributes

const char * m_name
QString m_label
QVariant m_value
QList< IProperty * > m_children

Private Attributes

IPropertym_parent
PropertyDatam_propertyData
bool m_fake

Constructor & Destructor Documentation

AbstractProperty::AbstractProperty ( const char *  name,
const QString &  label,
PropertyData propertyData,
const QVariant &  value 
) [inline]

AbstractProperty::~AbstractProperty (  )  [inline]


Member Function Documentation

void AbstractProperty::addChild ( IProperty child  )  [inline, virtual]

Implements IProperty.

IProperty * AbstractProperty::child ( const QString &   )  const [virtual]

Implements IProperty.

IProperty* AbstractProperty::child ( int  index  )  const [inline, virtual]

Implements IProperty.

int AbstractProperty::children (  )  [inline, virtual]

Implements IProperty.

void AbstractProperty::clearChildren (  )  [inline, virtual]

Implements IProperty.

QWidget* AbstractProperty::createEditor ( QWidget *   )  [inline, virtual]

Implements IProperty.

Reimplemented in IntProperty, DoubleProperty, BoolProperty, StringProperty, ListProperty, PixmapProperty, FamilyProperty, and EnumProperty.

int AbstractProperty::indexOf ( IProperty child  )  [inline, virtual]

Implements IProperty.

bool AbstractProperty::isFake (  )  [inline, virtual]

Implements IProperty.

QString AbstractProperty::label (  )  const [inline, virtual]

Implements IProperty.

const char* AbstractProperty::name (  )  [inline, virtual]

Implements IProperty.

IProperty* AbstractProperty::parent (  )  [inline, virtual]

Implements IProperty.

PropertyData* AbstractProperty::propertyData (  )  const [inline, protected]

void AbstractProperty::setFake ( bool  fake  )  [inline, virtual]

Implements IProperty.

void AbstractProperty::setParent ( IProperty parent  )  [inline, virtual]

Implements IProperty.

void AbstractProperty::setValue ( const QVariant &  value  )  [inline, virtual]

Implements IProperty.

Reimplemented in ListProperty, PixmapProperty, and EnumProperty.

QString AbstractProperty::status (  )  const [virtual]

Implements IProperty.

Reimplemented in ListProperty, PixmapProperty, FamilyProperty, and EnumProperty.

void AbstractProperty::updateEditor ( QWidget *   )  [inline, virtual]

Implements IProperty.

Reimplemented in IntProperty, DoubleProperty, BoolProperty, StringProperty, ListProperty, PixmapProperty, FamilyProperty, and EnumProperty.

QVariant AbstractProperty::value (  )  const [inline, virtual]

Implements IProperty.

Reimplemented in ListProperty, PixmapProperty, EnumProperty, PointProperty, SizeProperty, RectProperty, LineProperty, PolygonProperty, PenProperty, BrushProperty, FontProperty, and MatrixProperty.

QString AbstractProperty::valueToString (  )  const [inline, virtual]

Implements IProperty.

Reimplemented in ListProperty, PixmapProperty, and EnumProperty.


Member Data Documentation

QList<IProperty*> AbstractProperty::m_children [protected]

bool AbstractProperty::m_fake [private]

QString AbstractProperty::m_label [protected]

const char* AbstractProperty::m_name [protected]

IProperty* AbstractProperty::m_parent [private]

PropertyData* AbstractProperty::m_propertyData [private]

QVariant AbstractProperty::m_value [protected]


The documentation for this class was generated from the following files:
Generated on Thu Apr 5 13:12:01 2007 for LCDBuilder by  doxygen 1.4.7