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

#include <PropertyBrowser.h>

Inheritance diagram for te::layout::PropertyBrowser:
te::layout::ObjectInspectorPropertyBrowser te::layout::PropertiesItemPropertyBrowser

Signals

void changePropertyValue (QtProperty *property, QList< QtBrowserItem * > items)
 
void changePropertyValue (Property property)
 

Public Member Functions

virtual bool addProperty (Property property)
 
virtual void clearAll ()
 
virtual LayoutPropertyDataType getLayoutType (QVariant::Type type, std::string name="")
 
virtual PropertiesgetProperties ()
 
virtual Property getProperty (std::string name)
 
QtTreePropertyBrowser * getPropertyEditor ()
 
virtual std::string getPropGridSettingsName ()
 
QtVariantPropertyManager * getVariantPropertyManager ()
 
virtual QVariant::Type getVariantType (LayoutPropertyDataType dataType)
 
 PropertyBrowser (QObject *parent=0)
 
virtual bool removeProperty (Property property)
 
virtual void setHasGridWindows (bool hasWindows=false)
 
virtual ~PropertyBrowser ()
 

Protected Member Functions

virtual void addAttribute (QtVariantProperty *vproperty, Property property)
 
virtual void addPropertyItem (QtProperty *property, const QString &id)
 
virtual void blockOpenGridWindows (bool block)
 
virtual void changeVisibility (QList< QtBrowserItem * > items, bool visible)
 
virtual QVariant checkComplexType (QtVariantProperty *property)
 
virtual void createManager ()
 
virtual QtProperty * findProperty (std::string name)
 
virtual QVariant findPropertyValue (std::string name)
 
virtual void updateExpandState ()
 

Protected Attributes

bool m_hasGridWindows
 
QMap< QString, bool > m_idToExpanded
 
QMap< QString, QtProperty * > m_idToProperty
 
QtTreePropertyBrowser * m_propertyEditor
 
QMap< QtProperty *, QString > m_propertyToId
 
std::string m_propGridSettingsName
 
QtStringPropertyManager * m_strDlgManager
 
QtVariantPropertyManager * m_variantPropertyEditorManager
 

Private Slots

void onChangeFilter (const QString &filter)
 
virtual void onSetDlg (QWidget *parent, QtProperty *prop)=0
 
void propertyEditorValueChanged (QtProperty *property, const QVariant &value)
 

Detailed Description

Definition at line 55 of file PropertyBrowser.h.

Constructor & Destructor Documentation

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

Definition at line 43 of file PropertyBrowser.cpp.

References createManager().

te::layout::PropertyBrowser::~PropertyBrowser ( )
virtual

Definition at line 53 of file PropertyBrowser.cpp.

Member Function Documentation

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

Definition at line 233 of file PropertyBrowser.cpp.

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

void te::layout::PropertyBrowser::addPropertyItem ( QtProperty *  property,
const QString &  id 
)
protectedvirtual

Definition at line 130 of file PropertyBrowser.cpp.

void te::layout::PropertyBrowser::blockOpenGridWindows ( bool  block)
protectedvirtual

Definition at line 488 of file PropertyBrowser.cpp.

void te::layout::PropertyBrowser::changePropertyValue ( QtProperty *  property,
QList< QtBrowserItem * >  items 
)
signal
void te::layout::PropertyBrowser::changePropertyValue ( Property  property)
signal
void te::layout::PropertyBrowser::changeVisibility ( QList< QtBrowserItem * >  items,
bool  visible 
)
protectedvirtual

Definition at line 160 of file PropertyBrowser.cpp.

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

Definition at line 352 of file PropertyBrowser.cpp.

void te::layout::PropertyBrowser::createManager ( )
protectedvirtual

Definition at line 74 of file PropertyBrowser.cpp.

Referenced by PropertyBrowser().

QtProperty * te::layout::PropertyBrowser::findProperty ( std::string  name)
protectedvirtual

Definition at line 346 of file PropertyBrowser.cpp.

QVariant te::layout::PropertyBrowser::findPropertyValue ( std::string  name)
protectedvirtual

Definition at line 324 of file PropertyBrowser.cpp.

te::layout::Properties * te::layout::PropertyBrowser::getProperties ( )
virtual

Definition at line 372 of file PropertyBrowser.cpp.

References te::layout::Properties::addProperty().

QtTreePropertyBrowser * te::layout::PropertyBrowser::getPropertyEditor ( )
std::string te::layout::PropertyBrowser::getPropGridSettingsName ( )
virtual

Definition at line 477 of file PropertyBrowser.cpp.

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

Definition at line 176 of file PropertyBrowser.cpp.

void te::layout::PropertyBrowser::onChangeFilter ( const QString &  filter)
privateslot

Definition at line 139 of file PropertyBrowser.cpp.

virtual void te::layout::PropertyBrowser::onSetDlg ( QWidget *  parent,
QtProperty *  prop 
)
privatepure virtualslot
void te::layout::PropertyBrowser::propertyEditorValueChanged ( QtProperty *  property,
const QVariant &  value 
)
privateslot

Definition at line 97 of file PropertyBrowser.cpp.

bool te::layout::PropertyBrowser::removeProperty ( Property  property)
virtual

Definition at line 247 of file PropertyBrowser.cpp.

void te::layout::PropertyBrowser::setHasGridWindows ( bool  hasWindows = false)
virtual

Definition at line 482 of file PropertyBrowser.cpp.

void te::layout::PropertyBrowser::updateExpandState ( )
protectedvirtual

Definition at line 106 of file PropertyBrowser.cpp.

Member Data Documentation

bool te::layout::PropertyBrowser::m_hasGridWindows
protected

Definition at line 119 of file PropertyBrowser.h.

QMap<QString, bool> te::layout::PropertyBrowser::m_idToExpanded
protected

Definition at line 115 of file PropertyBrowser.h.

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

Definition at line 114 of file PropertyBrowser.h.

QtTreePropertyBrowser* te::layout::PropertyBrowser::m_propertyEditor
protected

Definition at line 110 of file PropertyBrowser.h.

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

Definition at line 113 of file PropertyBrowser.h.

std::string te::layout::PropertyBrowser::m_propGridSettingsName
protected

Definition at line 118 of file PropertyBrowser.h.

QtStringPropertyManager* te::layout::PropertyBrowser::m_strDlgManager
protected

Definition at line 112 of file PropertyBrowser.h.

QtVariantPropertyManager* te::layout::PropertyBrowser::m_variantPropertyEditorManager
protected

Definition at line 111 of file PropertyBrowser.h.


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