The QtTimeEditFactory class provides QTimeEdit widgets for properties created by QtTimePropertyManager objects. More...
#include <qteditorfactory.h>
Public Member Functions | |
QtTimeEditFactory (QObject *parent=nullptr) | |
~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=nullptr) | |
Private Member Functions | |
Q_PRIVATE_SLOT (d_func(), void slotPropertyChanged(QtProperty *, const QTime &)) Q_PRIVATE_SLOT(d_func() | |
void | slotSetValue (const QTime &)) Q_PRIVATE_SLOT(d_func() |
Private Attributes | |
QtTimeEditFactoryPrivate * | d_ptr |
Additional Inherited Members | |
Protected Slots inherited from QtAbstractEditorFactoryBase |
The QtTimeEditFactory class provides QTimeEdit widgets for properties created by QtTimePropertyManager objects.
QtTimeEditFactory::QtTimeEditFactory | ( | QObject * | parent = nullptr | ) |
Creates a factory with the given parent.
References d_ptr, and QtTimeEditFactoryPrivate::q_ptr.
|
override |
Destroys this factory, and all the widgets it has created.
References d_ptr, and EditorFactoryPrivate< Editor >::m_editorToProperty.
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtTimePropertyManager >.
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtTimePropertyManager >.
References EditorFactoryPrivate< Editor >::createEditor(), d_ptr, slotSetValue(), and QtTimePropertyManager::value().
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtTimePropertyManager >.
|
private |
|
private |
|
private |
Referenced by createEditor(), QtTimeEditFactory(), and ~QtTimeEditFactory().