#include <vproperty_p.h>
Public Member Functions | |
VPropertyPrivate (const QString &name, QVariant::Type type) | |
Constructor passing name and type. More... | |
VPropertyPrivate () | |
Constructor. More... | |
virtual | ~VPropertyPrivate () |
Public Attributes | |
QVariant | VariantValue |
The property's value. This does not have to be used by subclasses, but it makes sense in cases where QVariant supports the data type. Also, this can be used as cache, so that when the data() function gets called by the model, the data does not have to be converted in a QVariant every time. More... | |
QString | Name |
Property name. More... | |
QString | Description |
Description. More... | |
bool | IsEmpty |
Specifies whether the property is empty or not. More... | |
QVariant::Type | PropertyVariantType |
Stores the property type. More... | |
bool | updateParent |
Stores whether the views have to update the parent of this property if it changes. More... | |
bool | UpdateChildren |
Stores whether the views have to update the children of this property if it changes. More... | |
VProperty * | Parent |
The parent property. More... | |
QWidget * | editor |
Property | type |
QList< VProperty * > | Children |
List of child properties. More... | |
Definition at line 33 of file vproperty_p.h.
|
inline |
Constructor passing name and type.
Definition at line 71 of file vproperty_p.h.
References VPE::Simple.
|
inline |
|
virtual |
Definition at line 419 of file vproperty.cpp.
List of child properties.
Definition at line 68 of file vproperty_p.h.
Referenced by VFormulaProperty::SetFormula().
QString VPE::VPropertyPrivate::Description |
Description.
Definition at line 46 of file vproperty_p.h.
QWidget* VPE::VPropertyPrivate::editor |
Definition at line 63 of file vproperty_p.h.
Referenced by VPE::DoubleSpinboxProperty::createEditor(), VPE::LineWeightProperty::createEditor(), VPE::VEnumProperty::createEditor(), VPE::VLineColorProperty::createEditor(), VPE::LineTypeProperty::createEditor(), VPE::SpinboxProperty::createEditor(), and VPE::VObjectProperty::createEditor().
bool VPE::VPropertyPrivate::IsEmpty |
Specifies whether the property is empty or not.
Definition at line 49 of file vproperty_p.h.
QString VPE::VPropertyPrivate::Name |
Property name.
Definition at line 43 of file vproperty_p.h.
VProperty* VPE::VPropertyPrivate::Parent |
The parent property.
Definition at line 61 of file vproperty_p.h.
QVariant::Type VPE::VPropertyPrivate::PropertyVariantType |
Stores the property type.
Definition at line 52 of file vproperty_p.h.
Referenced by VPE::DoubleSpinboxProperty::DoubleSpinboxProperty().
Property VPE::VPropertyPrivate::type |
Definition at line 65 of file vproperty_p.h.
Referenced by VFormulaProperty::VFormulaProperty().
bool VPE::VPropertyPrivate::UpdateChildren |
Stores whether the views have to update the children of this property if it changes.
Definition at line 58 of file vproperty_p.h.
bool VPE::VPropertyPrivate::updateParent |
Stores whether the views have to update the parent of this property if it changes.
Definition at line 55 of file vproperty_p.h.
QVariant VPE::VPropertyPrivate::VariantValue |
The property's value. This does not have to be used by subclasses, but it makes sense in cases where QVariant supports the data type. Also, this can be used as cache, so that when the data() function gets called by the model, the data does not have to be converted in a QVariant every time.
Definition at line 40 of file vproperty_p.h.
Referenced by VPE::LineWeightProperty::data(), VPE::VEnumProperty::data(), VPE::VLineColorProperty::data(), VPE::LineTypeProperty::data(), VPE::VObjectProperty::data(), VPE::DoubleSpinboxProperty::DoubleSpinboxProperty(), VPE::LineTypeProperty::LineTypeProperty(), VPE::LineWeightProperty::LineWeightProperty(), VPE::PlainTextProperty::PlainTextProperty(), VPE::LineWeightProperty::setValue(), VPE::VEnumProperty::setValue(), VPE::VLineColorProperty::setValue(), VPE::LineTypeProperty::setValue(), VPE::VObjectProperty::setValue(), VPE::SpinboxProperty::SpinboxProperty(), VPE::VBoolProperty::VBoolProperty(), VPE::VEnumProperty::VEnumProperty(), VPE::VLabelProperty::VLabelProperty(), VPE::VLineColorProperty::VLineColorProperty(), VPE::VObjectProperty::VObjectProperty(), VPE::VPointFProperty::VPointFProperty(), and VPE::VStringProperty::VStringProperty().