Computer Assited Medical Intervention Tool Kit  version 5.0
QtDateTimeEditFactory Class Reference

The QtDateTimeEditFactory class provides QDateTimeEdit widgets for properties created by QtDateTimePropertyManager objects. More...

#include <qteditorfactory.h>

+ Inheritance diagram for QtDateTimeEditFactory:
+ Collaboration diagram for QtDateTimeEditFactory:

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
 
QtDateTimePropertyManagerpropertyManager (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

QtDateTimeEditFactoryPrivated_ptr
 

Additional Inherited Members

- Protected Slots inherited from QtAbstractEditorFactoryBase

Detailed Description

The QtDateTimeEditFactory class provides QDateTimeEdit widgets for properties created by QtDateTimePropertyManager objects.

See also
QtAbstractEditorFactory, QtDateTimePropertyManager

Constructor & Destructor Documentation

◆ QtDateTimeEditFactory()

QtDateTimeEditFactory::QtDateTimeEditFactory ( QObject *  parent = nullptr)

Creates a factory with the given parent.

References d_ptr, and QtDateTimeEditFactoryPrivate::q_ptr.

◆ ~QtDateTimeEditFactory()

QtDateTimeEditFactory::~QtDateTimeEditFactory ( )
override

Destroys this factory, and all the widgets it has created.

References d_ptr, and EditorFactoryPrivate< Editor >::m_editorToProperty.

Member Function Documentation

◆ connectPropertyManager()

void QtDateTimeEditFactory::connectPropertyManager ( QtDateTimePropertyManager manager)
overrideprotectedvirtual

◆ createEditor()

QWidget * QtDateTimeEditFactory::createEditor ( QtDateTimePropertyManager manager,
QtProperty property,
QWidget *  parent 
)
overrideprotectedvirtual

Reimplemented from the QtAbstractEditorFactory class.

Implements QtAbstractEditorFactory< QtDateTimePropertyManager >.

References EditorFactoryPrivate< Editor >::createEditor(), d_ptr, slotSetValue(), and QtDateTimePropertyManager::value().

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void QtDateTimeEditFactory::disconnectPropertyManager ( QtDateTimePropertyManager manager)
overrideprotectedvirtual

◆ Q_PRIVATE_SLOT()

QtDateTimeEditFactory::Q_PRIVATE_SLOT ( d_func()  ,
void   slotPropertyChangedQtProperty *, const QDateTime & 
)
private

◆ slotSetValue()

void QtDateTimeEditFactory::slotSetValue ( const QDateTime &  )
private

Referenced by createEditor().

+ Here is the caller graph for this function:

Member Data Documentation

◆ d_ptr

QtDateTimeEditFactoryPrivate* QtDateTimeEditFactory::d_ptr
private

The documentation for this class was generated from the following files: