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

Manage properties dialogs values. More...

#include <DialogPropertiesBrowser.h>

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

Signals

void changeDlgProperty (Property property)
 

Public Member Functions

virtual QtProperty * addProperty (Property property)
 
virtual bool changeQtPropertyValue (QtProperty *pproperty, Property property)
 
virtual bool checkDlgType (Property prop)
 
virtual void clearAll ()
 
virtual void closeAllWindows ()
 
 DialogPropertiesBrowser (QObject *parent=0)
 
 DialogPropertiesBrowser (QtDlgEditorFactory *factory, QtStringPropertyManager *manager, QObject *parent=0)
 
virtual Property findDlgProperty (std::string name)
 
virtual Property findDlgProperty (EnumType *dataType)
 
virtual QtProperty * findProperty (std::string name)
 
virtual QVariant findPropertyValue (std::string name)
 
QtDlgEditorFactory * getDlgEditorFactory ()
 
std::map< std::string, PropertygetDlgProps ()
 
virtual EnumTypegetLayoutType (QVariant::Type type, std::string name="")
 
virtual Property getProperty (std::string name)
 
QtStringPropertyManager * getStringPropertyManager ()
 
virtual int getVariantType (EnumType *dataType)
 
virtual bool removeProperty (QtProperty *prop)
 
virtual bool updateProperty (Property property)
 
virtual ~DialogPropertiesBrowser ()
 

Protected Slots

virtual void onSetDlg (QWidget *parent, QtProperty *prop)
 
virtual void onShowGridSettingsDlg ()
 
virtual void onShowImageDlg ()
 
virtual void onShowTextGridSettingsDlg ()
 
virtual void updateOutside (Property prop)
 

Protected Member Functions

virtual void addPropertyItem (QtProperty *property, const QString &id)
 
virtual void changeValueQtPropertyDlg (std::string name, QVariant variant)
 
virtual QVariant checkComplexType (QtVariantProperty *property)
 
virtual void createManager ()
 
virtual QWidget * createOutside (EnumType *enumType)
 

Protected Attributes

bool m_changeProperty
 
Property m_currentPropertyClicked
 
QtDlgEditorFactory * m_dlgEditorFactory
 
std::map< std::string, Propertym_dlgProps
 
QMap< QString, QtProperty * > m_idToProperty
 
QMap< QtProperty *, QString > m_propertyToId
 
QtStringPropertyManager * m_strDlgManager
 

Detailed Description

Manage properties dialogs values.

Definition at line 64 of file DialogPropertiesBrowser.h.

Constructor & Destructor Documentation

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

Definition at line 51 of file DialogPropertiesBrowser.cpp.

References createManager().

te::layout::DialogPropertiesBrowser::DialogPropertiesBrowser ( QtDlgEditorFactory *  factory,
QtStringPropertyManager *  manager,
QObject *  parent = 0 
)

Definition at line 59 of file DialogPropertiesBrowser.cpp.

References m_dlgEditorFactory, and onSetDlg().

te::layout::DialogPropertiesBrowser::~DialogPropertiesBrowser ( )
virtual

Definition at line 70 of file DialogPropertiesBrowser.cpp.

Member Function Documentation

void te::layout::AbstractPropertiesBrowser::addPropertyItem ( QtProperty *  property,
const QString &  id 
)
protectedvirtualinherited

Definition at line 58 of file AbstractPropertiesBrowser.cpp.

void te::layout::DialogPropertiesBrowser::changeDlgProperty ( Property  property)
signal
bool te::layout::DialogPropertiesBrowser::changeQtPropertyValue ( QtProperty *  pproperty,
Property  property 
)
virtual

Definition at line 141 of file DialogPropertiesBrowser.cpp.

void te::layout::DialogPropertiesBrowser::changeValueQtPropertyDlg ( std::string  name,
QVariant  variant 
)
protectedvirtual

Definition at line 239 of file DialogPropertiesBrowser.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::DialogPropertiesBrowser::closeAllWindows ( )
virtual

Definition at line 465 of file DialogPropertiesBrowser.cpp.

void te::layout::DialogPropertiesBrowser::createManager ( )
protectedvirtual
QWidget * te::layout::DialogPropertiesBrowser::createOutside ( EnumType enumType)
protectedvirtual
te::layout::Property te::layout::DialogPropertiesBrowser::findDlgProperty ( std::string  name)
virtual

Definition at line 201 of file DialogPropertiesBrowser.cpp.

te::layout::Property te::layout::DialogPropertiesBrowser::findDlgProperty ( EnumType dataType)
virtual

Definition at line 220 of file DialogPropertiesBrowser.cpp.

References te::layout::Property::getType().

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.

QtDlgEditorFactory * te::layout::DialogPropertiesBrowser::getDlgEditorFactory ( )

Definition at line 136 of file DialogPropertiesBrowser.cpp.

std::map< std::string, te::layout::Property > te::layout::DialogPropertiesBrowser::getDlgProps ( )

Definition at line 460 of file DialogPropertiesBrowser.cpp.

QtStringPropertyManager * te::layout::DialogPropertiesBrowser::getStringPropertyManager ( )

Definition at line 131 of file DialogPropertiesBrowser.cpp.

void te::layout::DialogPropertiesBrowser::onShowTextGridSettingsDlg ( )
protectedvirtualslot

Definition at line 338 of file DialogPropertiesBrowser.cpp.

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

Definition at line 130 of file AbstractPropertiesBrowser.cpp.

void te::layout::DialogPropertiesBrowser::updateOutside ( Property  prop)
protectedvirtualslot

Definition at line 495 of file DialogPropertiesBrowser.cpp.

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

Member Data Documentation

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

Definition at line 97 of file AbstractPropertiesBrowser.h.

Property te::layout::DialogPropertiesBrowser::m_currentPropertyClicked
protected

Definition at line 136 of file DialogPropertiesBrowser.h.

QtDlgEditorFactory* te::layout::DialogPropertiesBrowser::m_dlgEditorFactory
protected

Definition at line 134 of file DialogPropertiesBrowser.h.

Referenced by DialogPropertiesBrowser().

std::map<std::string, Property> te::layout::DialogPropertiesBrowser::m_dlgProps
protected

Definition at line 135 of file DialogPropertiesBrowser.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.

QtStringPropertyManager* te::layout::DialogPropertiesBrowser::m_strDlgManager
protected

Definition at line 133 of file DialogPropertiesBrowser.h.


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