Seamly2D
Code documentation
VPE::VWidgetPropertyPrivate Class Reference

#include <vwidgetproperty_p.h>

Inheritance diagram for VPE::VWidgetPropertyPrivate:
Collaboration diagram for VPE::VWidgetPropertyPrivate:

Public Member Functions

 VWidgetPropertyPrivate (const QString &name, QVariant::Type type, QWidget *widget=nullptr)
 Constructor passing name and type. More...
 
 VWidgetPropertyPrivate ()
 Constructor. More...
 
virtual ~VWidgetPropertyPrivate () Q_DECL_OVERRIDE
 Destructor. More...
 
- Public Member Functions inherited from VPE::VPropertyPrivate
 VPropertyPrivate (const QString &name, QVariant::Type type)
 Constructor passing name and type. More...
 
 VPropertyPrivate ()
 Constructor. More...
 
virtual ~VPropertyPrivate ()
 

Public Attributes

QPointer< QWidget > Widget
 The widget to show. More...
 
- Public Attributes inherited from VPE::VPropertyPrivate
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 38 of file vwidgetproperty_p.h.

Constructor & Destructor Documentation

◆ VWidgetPropertyPrivate() [1/2]

VPE::VWidgetPropertyPrivate::VWidgetPropertyPrivate ( const QString &  name,
QVariant::Type  type,
QWidget *  widget = nullptr 
)
inline

Constructor passing name and type.

Definition at line 45 of file vwidgetproperty_p.h.

◆ VWidgetPropertyPrivate() [2/2]

VPE::VWidgetPropertyPrivate::VWidgetPropertyPrivate ( )
inline

Constructor.

Definition at line 49 of file vwidgetproperty_p.h.

◆ ~VWidgetPropertyPrivate()

virtual VPE::VWidgetPropertyPrivate::~VWidgetPropertyPrivate ( )
inlinevirtual

Destructor.

Definition at line 53 of file vwidgetproperty_p.h.

Member Data Documentation

◆ Widget

QPointer<QWidget> VPE::VWidgetPropertyPrivate::Widget

The widget to show.

Definition at line 42 of file vwidgetproperty_p.h.

Referenced by VPE::VWidgetProperty::setWidget().


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