Seamly2D
Code documentation
VPE::VPropertyPrivate Class Reference

#include <vproperty_p.h>

Inheritance diagram for VPE::VPropertyPrivate:
Collaboration diagram for VPE::VPropertyPrivate:

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...
 
VPropertyParent
 The parent property. More...
 
QWidget * editor
 
Property type
 
QList< VProperty * > Children
 List of child properties. More...
 

Detailed Description

Definition at line 33 of file vproperty_p.h.

Constructor & Destructor Documentation

◆ VPropertyPrivate() [1/2]

VPE::VPropertyPrivate::VPropertyPrivate ( const QString &  name,
QVariant::Type  type 
)
inline

Constructor passing name and type.

Definition at line 71 of file vproperty_p.h.

References VPE::Simple.

◆ VPropertyPrivate() [2/2]

VPE::VPropertyPrivate::VPropertyPrivate ( )
inline

Constructor.

Definition at line 86 of file vproperty_p.h.

References VPE::Simple.

◆ ~VPropertyPrivate()

VPE::VPropertyPrivate::~VPropertyPrivate ( )
virtual

Definition at line 419 of file vproperty.cpp.

Member Data Documentation

◆ Children

QList<VProperty*> VPE::VPropertyPrivate::Children

List of child properties.

Definition at line 68 of file vproperty_p.h.

Referenced by VFormulaProperty::SetFormula().

◆ Description

QString VPE::VPropertyPrivate::Description

Description.

Definition at line 46 of file vproperty_p.h.

◆ editor

◆ IsEmpty

bool VPE::VPropertyPrivate::IsEmpty

Specifies whether the property is empty or not.

Definition at line 49 of file vproperty_p.h.

◆ Name

QString VPE::VPropertyPrivate::Name

Property name.

Definition at line 43 of file vproperty_p.h.

◆ Parent

VProperty* VPE::VPropertyPrivate::Parent

The parent property.

Definition at line 61 of file vproperty_p.h.

◆ PropertyVariantType

QVariant::Type VPE::VPropertyPrivate::PropertyVariantType

Stores the property type.

Definition at line 52 of file vproperty_p.h.

Referenced by VPE::DoubleSpinboxProperty::DoubleSpinboxProperty().

◆ type

Property VPE::VPropertyPrivate::type

Definition at line 65 of file vproperty_p.h.

Referenced by VFormulaProperty::VFormulaProperty().

◆ UpdateChildren

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.

◆ updateParent

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.

◆ VariantValue


The documentation for this class was generated from the following files: