#include <property_data.h>
Inheritance diagram for AbstractProperty:


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 () |
| IProperty * | child (int index) const |
| IProperty * | child (const QString &) const |
| int | indexOf (IProperty *child) |
| IProperty * | parent () |
| void | setParent (IProperty *parent) |
| void | setFake (bool fake) |
| void | setValue (const QVariant &value) |
| bool | isFake () |
Protected Member Functions | |
| PropertyData * | propertyData () const |
Protected Attributes | |
| const char * | m_name |
| QString | m_label |
| QVariant | m_value |
| QList< IProperty * > | m_children |
Private Attributes | |
| IProperty * | m_parent |
| PropertyData * | m_propertyData |
| bool | m_fake |
| AbstractProperty::AbstractProperty | ( | const char * | name, | |
| const QString & | label, | |||
| PropertyData * | propertyData, | |||
| const QVariant & | value | |||
| ) | [inline] |
| AbstractProperty::~AbstractProperty | ( | ) | [inline] |
| 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.
| bool AbstractProperty::isFake | ( | ) | [inline, virtual] |
Implements IProperty.
| QString AbstractProperty::label | ( | ) | const [inline, virtual] |
Implements IProperty.
| const char* AbstractProperty::name | ( | ) | [inline, virtual] |
Implements IProperty.
| PropertyData* AbstractProperty::propertyData | ( | ) | const [inline, protected] |
| void AbstractProperty::setFake | ( | bool | fake | ) | [inline, virtual] |
Implements IProperty.
| void AbstractProperty::setValue | ( | const QVariant & | value | ) | [inline, virtual] |
| 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] |
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] |
1.4.7