|
Public Member Functions | |
DecoratedDoubleSpinBoxFactory (QObject *parent=0) | |
~DecoratedDoubleSpinBoxFactory () | |
Public Member Functions inherited from QtAbstractEditorFactory< DecoratedDoublePropertyManager > | |
void | addPropertyManager (DecoratedDoublePropertyManager *manager) |
QWidget * | createEditor (QtProperty *property, QWidget *parent) override |
DecoratedDoublePropertyManager * | propertyManager (QtProperty *property) const |
QSet< DecoratedDoublePropertyManager * > | propertyManagers () const |
QtAbstractEditorFactory (QObject *parent) | |
void | removePropertyManager (DecoratedDoublePropertyManager *manager) |
Protected Member Functions | |
void | connectPropertyManager (DecoratedDoublePropertyManager *manager) |
QWidget * | createEditor (DecoratedDoublePropertyManager *manager, QtProperty *property, QWidget *parent) |
void | disconnectPropertyManager (DecoratedDoublePropertyManager *manager) |
Protected Member Functions inherited from QtAbstractEditorFactory< DecoratedDoublePropertyManager > | |
void | managerDestroyed (QObject *manager) override |
Protected Member Functions inherited from QtAbstractEditorFactoryBase | |
QtAbstractEditorFactoryBase (QObject *parent=0) | |
Additional Inherited Members | |
Protected Slots inherited from QtAbstractEditorFactoryBase |
DecoratedDoubleSpinBoxFactory | ( | QObject * | parent = 0 | ) |
|
protectedvirtual |
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< DecoratedDoublePropertyManager >.
Definition at line 210 of file main.cpp.
|
protectedvirtual |
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< DecoratedDoublePropertyManager >.
Definition at line 217 of file main.cpp.
|
protectedvirtual |
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< DecoratedDoublePropertyManager >.
Definition at line 244 of file main.cpp.