|
The QtTimeEditFactory class provides QTimeEdit widgets for properties created by QtTimePropertyManager objects. More...
#include <ArmarXGui/libraries/qtpropertybrowser/src/qteditorfactory.h>
Public Member Functions | |
QtTimeEditFactory (QObject *parent=0) | |
~QtTimeEditFactory () override | |
Public Member Functions inherited from QtAbstractEditorFactory< QtTimePropertyManager > | |
void | addPropertyManager (QtTimePropertyManager *manager) |
QWidget * | createEditor (QtProperty *property, QWidget *parent) override |
QtTimePropertyManager * | propertyManager (QtProperty *property) const |
QSet< QtTimePropertyManager * > | propertyManagers () const |
QtAbstractEditorFactory (QObject *parent) | |
void | removePropertyManager (QtTimePropertyManager *manager) |
Protected Member Functions | |
void | connectPropertyManager (QtTimePropertyManager *manager) override |
QWidget * | createEditor (QtTimePropertyManager *manager, QtProperty *property, QWidget *parent) override |
void | disconnectPropertyManager (QtTimePropertyManager *manager) override |
Protected Member Functions inherited from QtAbstractEditorFactory< QtTimePropertyManager > | |
void | managerDestroyed (QObject *manager) override |
Protected Member Functions inherited from QtAbstractEditorFactoryBase | |
QtAbstractEditorFactoryBase (QObject *parent=0) | |
Additional Inherited Members | |
Protected Slots inherited from QtAbstractEditorFactoryBase |
The QtTimeEditFactory class provides QTimeEdit widgets for properties created by QtTimePropertyManager objects.
Definition at line 221 of file qteditorfactory.h.
QtTimeEditFactory | ( | QObject * | parent = 0 | ) |
Creates a factory with the given parent.
Definition at line 1581 of file qteditorfactory.cpp.
|
override |
Destroys this factory, and all the widgets it has created.
Definition at line 1592 of file qteditorfactory.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< QtTimePropertyManager >.
Definition at line 1603 of file qteditorfactory.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< QtTimePropertyManager >.
Definition at line 1614 of file qteditorfactory.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< QtTimePropertyManager >.
Definition at line 1632 of file qteditorfactory.cpp.