Computer Assisted Medical Intervention Tool Kit  version 5.2
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 >
virtual void connectPropertyManager (QtDateTimePropertyManager *manager)=0
 
virtual QWidget * createEditor (QtDateTimePropertyManager *manager, QtProperty *property, QWidget *parent)=0
 
virtual void disconnectPropertyManager (QtDateTimePropertyManager *manager)=0
 
void managerDestroyed (QObject *manager) override
 
- Protected Member Functions inherited from QtAbstractEditorFactoryBase
 QtAbstractEditorFactoryBase (QObject *parent=nullptr)
 

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.

◆ ~QtDateTimeEditFactory()

QtDateTimeEditFactory::~QtDateTimeEditFactory ( )
override

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

References EditorFactoryPrivate< Editor >::m_editorToProperty.

Member Function Documentation

◆ connectPropertyManager()

void QtDateTimeEditFactory::connectPropertyManager ( QtDateTimePropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.

◆ createEditor()

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

Reimplemented from the QtAbstractEditorFactory class.

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

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void QtDateTimeEditFactory::disconnectPropertyManager ( QtDateTimePropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.


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