|
#include <ArmarXGui/gui-plugins/ScenarioManager/gui/OptionalPropertyFactory.h>
Public Member Functions | |
OptionalVariantFactory (QObject *parent=0) | |
void | setElementName (const QString &name) |
~OptionalVariantFactory () override | |
Public Member Functions inherited from QtVariantEditorFactory | |
QtVariantEditorFactory (QObject *parent=0) | |
~QtVariantEditorFactory () override | |
Public Member Functions inherited from QtAbstractEditorFactory< QtVariantPropertyManager > | |
void | addPropertyManager (QtVariantPropertyManager *manager) |
QWidget * | createEditor (QtProperty *property, QWidget *parent) override |
QtVariantPropertyManager * | propertyManager (QtProperty *property) const |
QSet< QtVariantPropertyManager * > | propertyManagers () const |
QtAbstractEditorFactory (QObject *parent) | |
void | removePropertyManager (QtVariantPropertyManager *manager) |
Protected Member Functions | |
void | connectPropertyManager (QtVariantPropertyManager *manager) override |
QWidget * | createEditor (QtVariantPropertyManager *manager, QtProperty *property, QWidget *parent) override |
void | disconnectPropertyManager (QtVariantPropertyManager *manager) override |
Protected Member Functions inherited from QtVariantEditorFactory | |
void | connectPropertyManager (QtVariantPropertyManager *manager) override |
QWidget * | createEditor (QtVariantPropertyManager *manager, QtProperty *property, QWidget *parent) override |
void | disconnectPropertyManager (QtVariantPropertyManager *manager) override |
Protected Member Functions inherited from QtAbstractEditorFactory< QtVariantPropertyManager > | |
void | managerDestroyed (QObject *manager) override |
Protected Member Functions inherited from QtAbstractEditorFactoryBase | |
QtAbstractEditorFactoryBase (QObject *parent=0) | |
Additional Inherited Members | |
Protected Slots inherited from QtAbstractEditorFactoryBase |
Definition at line 29 of file OptionalPropertyFactory.h.
|
inline |
Definition at line 33 of file OptionalPropertyFactory.h.
|
override |
Definition at line 30 of file OptionalPropertyFactory.cpp.
|
overrideprotectedvirtual |
Connects this factory to the given manager's signals. The PropertyManager type is a template argument class, and represents the chosen QtAbstractPropertyManager subclass.
This function is used internally by the addPropertyManager() function, and makes it possible to update an editing widget when the associated property's data changes. This is typically done in custom slots responding to the signals emitted by the property's manager, e.g. QtIntPropertyManager::valueChanged() and QtIntPropertyManager::rangeChanged().
Implements QtAbstractEditorFactory< QtVariantPropertyManager >.
Definition at line 45 of file OptionalPropertyFactory.cpp.
|
overrideprotectedvirtual |
Creates an editing widget with the given parent for the specified property created by the given manager. The PropertyManager type is a template argument class, and represents the chosen QtAbstractPropertyManager subclass.
This function must be implemented in derived classes: It is recommended to store a pointer to the widget and map it to the given property, since the widget must be updated whenever the associated property's data changes. This is typically done in custom slots responding to the signals emitted by the property's manager, e.g. QtIntPropertyManager::valueChanged() and QtIntPropertyManager::rangeChanged().
Implements QtAbstractEditorFactory< QtVariantPropertyManager >.
Definition at line 54 of file OptionalPropertyFactory.cpp.
|
overrideprotectedvirtual |
Disconnects this factory from the given manager's signals. The PropertyManager type is a template argument class, and represents the chosen QtAbstractPropertyManager subclass.
This function is used internally by the removePropertyManager() function.
Implements QtAbstractEditorFactory< QtVariantPropertyManager >.
Definition at line 88 of file OptionalPropertyFactory.cpp.
void setElementName | ( | const QString & | name | ) |
Definition at line 40 of file OptionalPropertyFactory.cpp.