The QtDateTimeEditFactory class provides QDateTimeEdit widgets for properties created by QtDateTimePropertyManager objects. More...
#include <qteditorfactory.h>
Public Member Functions | |
QtDateTimeEditFactory (QObject *parent=nullptr) | |
~QtDateTimeEditFactory () override | |
Public Member Functions inherited from QtAbstractEditorFactory< QtDateTimePropertyManager > | |
void | addPropertyManager (QtDateTimePropertyManager *manager) |
QWidget * | createEditor (QtProperty *property, QWidget *parent) override |
QtDateTimePropertyManager * | propertyManager (QtProperty *property) const |
QSet< QtDateTimePropertyManager * > | propertyManagers () const |
QtAbstractEditorFactory (QObject *parent) | |
void | removePropertyManager (QtDateTimePropertyManager *manager) |
Protected Member Functions | |
void | connectPropertyManager (QtDateTimePropertyManager *manager) override |
QWidget * | createEditor (QtDateTimePropertyManager *manager, QtProperty *property, QWidget *parent) override |
void | disconnectPropertyManager (QtDateTimePropertyManager *manager) override |
Protected Member Functions inherited from QtAbstractEditorFactory< QtDateTimePropertyManager > | |
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 QDateTime &)) Q_PRIVATE_SLOT(d_func() | |
void | slotSetValue (const QDateTime &)) Q_PRIVATE_SLOT(d_func() |
Private Attributes | |
QtDateTimeEditFactoryPrivate * | d_ptr |
Additional Inherited Members | |
Protected Slots inherited from QtAbstractEditorFactoryBase |
The QtDateTimeEditFactory class provides QDateTimeEdit widgets for properties created by QtDateTimePropertyManager objects.
QtDateTimeEditFactory::QtDateTimeEditFactory | ( | QObject * | parent = nullptr | ) |
Creates a factory with the given parent.
References d_ptr, and QtDateTimeEditFactoryPrivate::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< QtDateTimePropertyManager >.
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtDateTimePropertyManager >.
References EditorFactoryPrivate< Editor >::createEditor(), d_ptr, slotSetValue(), and QtDateTimePropertyManager::value().
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtDateTimePropertyManager >.
|
private |
|
private |
|
private |
Referenced by createEditor(), QtDateTimeEditFactory(), and ~QtDateTimeEditFactory().