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

Manage properties variants values. More...

#include <AbstractPropertiesBrowser.h>

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

Public Member Functions

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

Protected Member Functions

virtual void addPropertyItem (QtProperty *property, const QString &id)
 
virtual QVariant checkComplexType (QtVariantProperty *property)
 
virtual void createManager ()=0
 

Protected Attributes

bool m_changeProperty
 
QMap< QString, QtProperty * > m_idToProperty
 
QMap< QtProperty *, QString > m_propertyToId
 

Detailed Description

Manage properties variants values.

Definition at line 63 of file AbstractPropertiesBrowser.h.

Constructor & Destructor Documentation

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

Definition at line 46 of file AbstractPropertiesBrowser.cpp.

te::layout::AbstractPropertiesBrowser::~AbstractPropertiesBrowser ( )
virtual

Definition at line 53 of file AbstractPropertiesBrowser.cpp.

Member Function Documentation

virtual QtProperty* te::layout::AbstractPropertiesBrowser::addProperty ( Property  property)
pure virtual
void te::layout::AbstractPropertiesBrowser::addPropertyItem ( QtProperty *  property,
const QString &  id 
)
protectedvirtual

Definition at line 58 of file AbstractPropertiesBrowser.cpp.

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

Definition at line 111 of file AbstractPropertiesBrowser.cpp.

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

Definition at line 64 of file AbstractPropertiesBrowser.cpp.

virtual void te::layout::AbstractPropertiesBrowser::createManager ( )
protectedpure virtual
QtProperty * te::layout::AbstractPropertiesBrowser::findProperty ( std::string  name)
virtual

Definition at line 98 of file AbstractPropertiesBrowser.cpp.

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

Definition at line 70 of file AbstractPropertiesBrowser.cpp.

virtual EnumType* te::layout::AbstractPropertiesBrowser::getLayoutType ( QVariant::Type  type,
std::string  name = "" 
)
pure virtual
virtual Property te::layout::AbstractPropertiesBrowser::getProperty ( std::string  name)
pure virtual
virtual int te::layout::AbstractPropertiesBrowser::getVariantType ( EnumType dataType)
pure virtual
bool te::layout::AbstractPropertiesBrowser::removeProperty ( QtProperty *  prop)
virtual

Definition at line 130 of file AbstractPropertiesBrowser.cpp.

virtual bool te::layout::AbstractPropertiesBrowser::updateProperty ( Property  property)
pure virtual

Member Data Documentation

bool te::layout::AbstractPropertiesBrowser::m_changeProperty
protected

Definition at line 97 of file AbstractPropertiesBrowser.h.

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

Definition at line 99 of file AbstractPropertiesBrowser.h.

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

Definition at line 98 of file AbstractPropertiesBrowser.h.


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