Manage properties dialogs values. More...
#include <DialogPropertiesBrowser.h>
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, Property > | getDlgProps () |
virtual EnumType * | getLayoutType (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, Property > | m_dlgProps |
QMap< QString, QtProperty * > | m_idToProperty |
QMap< QtProperty *, QString > | m_propertyToId |
QtStringPropertyManager * | m_strDlgManager |
Manage properties dialogs values.
Definition at line 64 of file DialogPropertiesBrowser.h.
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().
|
virtual |
Definition at line 70 of file DialogPropertiesBrowser.cpp.
|
virtual |
Implements te::layout::AbstractPropertiesBrowser.
Definition at line 160 of file DialogPropertiesBrowser.cpp.
References te::layout::Enums::getEnumDataType(), te::common::Singleton< Enums >::getInstance(), te::layout::Property::getName(), te::layout::Property::getValue(), and te::layout::Variant::toString().
|
protectedvirtualinherited |
Definition at line 58 of file AbstractPropertiesBrowser.cpp.
|
signal |
Referenced by te::layout::MenuBuilder::MenuBuilder().
|
virtual |
Definition at line 141 of file DialogPropertiesBrowser.cpp.
|
protectedvirtual |
Definition at line 239 of file DialogPropertiesBrowser.cpp.
|
protectedvirtualinherited |
Definition at line 111 of file AbstractPropertiesBrowser.cpp.
|
virtual |
Definition at line 185 of file DialogPropertiesBrowser.cpp.
References te::layout::EnumDataType::getDataTypeGridSettings(), te::layout::EnumDataType::getDataTypeImage(), te::layout::EnumDataType::getDataTypeTextGridSettings(), te::layout::Enums::getEnumDataType(), te::common::Singleton< Enums >::getInstance(), and te::layout::Property::getType().
|
virtualinherited |
Definition at line 64 of file AbstractPropertiesBrowser.cpp.
|
virtual |
Definition at line 465 of file DialogPropertiesBrowser.cpp.
|
protectedvirtual |
Implements te::layout::AbstractPropertiesBrowser.
Definition at line 89 of file DialogPropertiesBrowser.cpp.
Referenced by DialogPropertiesBrowser().
|
protectedvirtual |
Definition at line 470 of file DialogPropertiesBrowser.cpp.
References te::layout::BuildGraphicsOutside::createOuside(), te::layout::Context::getAbstractBuildGraphicsOutside(), and te::common::Singleton< Context >::getInstance().
|
virtual |
Definition at line 201 of file DialogPropertiesBrowser.cpp.
|
virtual |
Definition at line 220 of file DialogPropertiesBrowser.cpp.
References te::layout::Property::getType().
|
virtualinherited |
Definition at line 98 of file AbstractPropertiesBrowser.cpp.
|
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.
|
virtual |
Implements te::layout::AbstractPropertiesBrowser.
Definition at line 374 of file DialogPropertiesBrowser.cpp.
References te::layout::EnumDataType::getDataTypeGridSettings(), te::layout::EnumDataType::getDataTypeImage(), te::layout::EnumDataType::getDataTypeNone(), te::layout::EnumDataType::getDataTypeString(), te::layout::Enums::getEnumDataType(), te::common::Singleton< Enums >::getInstance(), te::layout::Property::getType(), te::layout::Property::getValue(), te::layout::Variant::isNull(), and te::layout::Property::setValue().
|
virtual |
Implements te::layout::AbstractPropertiesBrowser.
Definition at line 343 of file DialogPropertiesBrowser.cpp.
References te::layout::EnumDataType::getDataTypeGridSettings(), te::layout::EnumDataType::getDataTypeImage(), te::layout::Enums::getEnumDataType(), te::common::Singleton< Enums >::getInstance(), te::layout::Property::getType(), te::layout::Property::setName(), and te::layout::Property::setValue().
QtStringPropertyManager * te::layout::DialogPropertiesBrowser::getStringPropertyManager | ( | ) |
Definition at line 131 of file DialogPropertiesBrowser.cpp.
|
virtual |
Implements te::layout::AbstractPropertiesBrowser.
Definition at line 416 of file DialogPropertiesBrowser.cpp.
References te::layout::EnumDataType::getDataTypeGridSettings(), te::layout::EnumDataType::getDataTypeImage(), te::layout::Enums::getEnumDataType(), and te::common::Singleton< Enums >::getInstance().
|
protectedvirtualslot |
Definition at line 99 of file DialogPropertiesBrowser.cpp.
References te::layout::EnumDataType::getDataTypeGridSettings(), te::layout::EnumDataType::getDataTypeImage(), te::layout::EnumDataType::getDataTypeNone(), te::layout::EnumDataType::getDataTypeTextGridSettings(), te::layout::Enums::getEnumDataType(), te::common::Singleton< Enums >::getInstance(), and te::layout::Property::getType().
Referenced by DialogPropertiesBrowser().
|
protectedvirtualslot |
Definition at line 256 of file DialogPropertiesBrowser.cpp.
References te::layout::Enums::getEnumObjectType(), te::layout::ItemUtils::getGridMapProperties(), te::layout::EnumObjectType::getGridSettings(), te::common::Singleton< Enums >::getInstance(), te::common::Singleton< Context >::getInstance(), te::layout::Context::getItemUtils(), te::layout::OutsideObserver::getModel(), and te::layout::GridSettingsModel::setProperties().
|
protectedvirtualslot |
|
protectedvirtualslot |
Definition at line 338 of file DialogPropertiesBrowser.cpp.
|
virtualinherited |
Definition at line 130 of file AbstractPropertiesBrowser.cpp.
|
protectedvirtualslot |
Definition at line 495 of file DialogPropertiesBrowser.cpp.
|
virtual |
Implements te::layout::AbstractPropertiesBrowser.
Definition at line 443 of file DialogPropertiesBrowser.cpp.
|
protectedinherited |
Definition at line 97 of file AbstractPropertiesBrowser.h.
|
protected |
Definition at line 136 of file DialogPropertiesBrowser.h.
|
protected |
Definition at line 134 of file DialogPropertiesBrowser.h.
Referenced by DialogPropertiesBrowser().
|
protected |
Definition at line 135 of file DialogPropertiesBrowser.h.
|
protectedinherited |
Definition at line 99 of file AbstractPropertiesBrowser.h.
|
protectedinherited |
Definition at line 98 of file AbstractPropertiesBrowser.h.
|
protected |
Definition at line 133 of file DialogPropertiesBrowser.h.