All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::layout::VariantPropertiesBrowser Class Reference

Manage properties variants values. More...

#include <VariantPropertiesBrowser.h>

Inheritance diagram for te::layout::VariantPropertiesBrowser:
te::layout::AbstractPropertiesBrowser

Public Member Functions

virtual QtVariantProperty * addProperty (Property property)
 
virtual bool changeQtVariantPropertyValue (QtVariantProperty *vproperty, Property property)
 
virtual void clearAll ()
 
virtual QtProperty * findProperty (std::string name)
 
virtual QVariant findPropertyValue (std::string name)
 
virtual EnumTypegetLayoutType (QVariant::Type type, std::string name="")
 
virtual Property getProperty (std::string name)
 
QtVariantEditorFactory * getVariantEditorFactory ()
 
QtVariantPropertyManager * getVariantPropertyManager ()
 
virtual int getVariantType (EnumType *dataType)
 
virtual bool removeProperty (QtProperty *prop)
 
virtual bool updateProperty (Property property)
 
 VariantPropertiesBrowser (QObject *parent=0)
 
virtual ~VariantPropertiesBrowser ()
 

Protected Member Functions

virtual void addAttribute (QtVariantProperty *vproperty, Property property)
 
virtual void addPropertyItem (QtProperty *property, const QString &id)
 
virtual QVariant checkComplexType (QtVariantProperty *property)
 
virtual void createManager ()
 

Protected Attributes

bool m_changeProperty
 
QMap< QString, QtProperty * > m_idToProperty
 
QMap< QtProperty *, QString > m_propertyToId
 
QtVariantEditorFactory * m_variantPropertyEditorFactory
 
QtVariantPropertyManager * m_variantPropertyEditorManager
 

Detailed Description

Manage properties variants values.

Definition at line 57 of file VariantPropertiesBrowser.h.

Constructor & Destructor Documentation

te::layout::VariantPropertiesBrowser::VariantPropertiesBrowser ( QObject *  parent = 0)

Definition at line 38 of file VariantPropertiesBrowser.cpp.

References createManager().

te::layout::VariantPropertiesBrowser::~VariantPropertiesBrowser ( )
virtual

Definition at line 46 of file VariantPropertiesBrowser.cpp.

Member Function Documentation

void te::layout::VariantPropertiesBrowser::addAttribute ( QtVariantProperty *  vproperty,
Property  property 
)
protectedvirtual

Definition at line 97 of file VariantPropertiesBrowser.cpp.

References te::layout::Variant::toString().

QtVariantProperty * te::layout::VariantPropertiesBrowser::addProperty ( Property  property)
virtual
void te::layout::AbstractPropertiesBrowser::addPropertyItem ( QtProperty *  property,
const QString &  id 
)
protectedvirtualinherited

Definition at line 58 of file AbstractPropertiesBrowser.cpp.

QVariant te::layout::AbstractPropertiesBrowser::checkComplexType ( QtVariantProperty *  property)
protectedvirtualinherited

Definition at line 111 of file AbstractPropertiesBrowser.cpp.

void te::layout::AbstractPropertiesBrowser::clearAll ( )
virtualinherited

Definition at line 64 of file AbstractPropertiesBrowser.cpp.

void te::layout::VariantPropertiesBrowser::createManager ( )
protectedvirtual
QtProperty * te::layout::AbstractPropertiesBrowser::findProperty ( std::string  name)
virtualinherited

Definition at line 98 of file AbstractPropertiesBrowser.cpp.

QVariant te::layout::AbstractPropertiesBrowser::findPropertyValue ( std::string  name)
virtualinherited

Definition at line 70 of file AbstractPropertiesBrowser.cpp.

QtVariantEditorFactory * te::layout::VariantPropertiesBrowser::getVariantEditorFactory ( )

Definition at line 379 of file VariantPropertiesBrowser.cpp.

QtVariantPropertyManager * te::layout::VariantPropertiesBrowser::getVariantPropertyManager ( )

Definition at line 384 of file VariantPropertiesBrowser.cpp.

bool te::layout::AbstractPropertiesBrowser::removeProperty ( QtProperty *  prop)
virtualinherited

Definition at line 130 of file AbstractPropertiesBrowser.cpp.

bool te::layout::VariantPropertiesBrowser::updateProperty ( Property  property)
virtual

Member Data Documentation

bool te::layout::AbstractPropertiesBrowser::m_changeProperty
protectedinherited

Definition at line 97 of file AbstractPropertiesBrowser.h.

QMap<QString, QtProperty*> te::layout::AbstractPropertiesBrowser::m_idToProperty
protectedinherited

Definition at line 99 of file AbstractPropertiesBrowser.h.

QMap<QtProperty*, QString> te::layout::AbstractPropertiesBrowser::m_propertyToId
protectedinherited

Definition at line 98 of file AbstractPropertiesBrowser.h.

QtVariantEditorFactory* te::layout::VariantPropertiesBrowser::m_variantPropertyEditorFactory
protected

Definition at line 90 of file VariantPropertiesBrowser.h.

QtVariantPropertyManager* te::layout::VariantPropertiesBrowser::m_variantPropertyEditorManager
protected

Definition at line 89 of file VariantPropertiesBrowser.h.


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