Computer Assited Medical Intervention Tool Kit
version 4.1
|
The QtDateEditFactory class provides QDateEdit widgets for properties created by QtDatePropertyManager objects. More...
#include <qteditorfactory.h>
Inherits QtAbstractEditorFactory< QtDatePropertyManager >.
Public Member Functions | |
QtDateEditFactory (QObject *parent=nullptr) | |
~QtDateEditFactory () override | |
Public Member Functions inherited from QtAbstractEditorFactory< QtDatePropertyManager > | |
void | addPropertyManager (QtDatePropertyManager *manager) |
QWidget * | createEditor (QtProperty *property, QWidget *parent) |
QtDatePropertyManager * | propertyManager (QtProperty *property) const |
QSet< QtDatePropertyManager *> | propertyManagers () const |
QtAbstractEditorFactory (QObject *parent) | |
void | removePropertyManager (QtDatePropertyManager *manager) |
Protected Member Functions | |
void | connectPropertyManager (QtDatePropertyManager *manager) override |
QWidget * | createEditor (QtDatePropertyManager *manager, QtProperty *property, QWidget *parent) override |
void | disconnectPropertyManager (QtDatePropertyManager *manager) override |
Protected Member Functions inherited from QtAbstractEditorFactory< QtDatePropertyManager > | |
void | managerDestroyed (QObject *manager) |
Protected Member Functions inherited from QtAbstractEditorFactoryBase | |
QtAbstractEditorFactoryBase (QObject *parent=nullptr) | |
Private Member Functions | |
Q_PRIVATE_SLOT (d_func(), void slotPropertyChanged(QtProperty *, const QDate &)) Q_PRIVATE_SLOT(d_func() | |
void | slotRangeChanged (QtProperty *, const QDate &, const QDate &)) Q_PRIVATE_SLOT(d_func() |
void void | slotSetValue (const QDate &)) Q_PRIVATE_SLOT(d_func() |
Private Attributes | |
QtDateEditFactoryPrivate * | d_ptr |
Additional Inherited Members | |
Protected Slots inherited from QtAbstractEditorFactoryBase |
The QtDateEditFactory class provides QDateEdit widgets for properties created by QtDatePropertyManager objects.
QtDateEditFactory::QtDateEditFactory | ( | QObject * | parent = nullptr | ) |
Creates a factory with the given parent.
References d_ptr, and QtDateEditFactoryPrivate::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< QtDatePropertyManager >.
References slotRangeChanged().
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtDatePropertyManager >.
References EditorFactoryPrivate< Editor >::createEditor(), d_ptr, QtDatePropertyManager::maximum(), QtDatePropertyManager::minimum(), slotSetValue(), and QtDatePropertyManager::value().
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtDatePropertyManager >.
References slotRangeChanged().
|
private |
|
private |
Referenced by connectPropertyManager(), and disconnectPropertyManager().
|
private |
Referenced by createEditor().
|
private |
Referenced by createEditor(), QtDateEditFactory(), and ~QtDateEditFactory().