Computer Assisted Medical Intervention Tool Kit  version 5.2
QtDateEditFactory Class Reference

The QtDateEditFactory class provides QDateEdit widgets for properties created by QtDatePropertyManager objects. More...

#include <qteditorfactory.h>

+ Inheritance diagram for QtDateEditFactory:
+ Collaboration diagram for QtDateEditFactory:

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) override
 
QtDatePropertyManagerpropertyManager (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 >
virtual void connectPropertyManager (QtDatePropertyManager *manager)=0
 
virtual QWidget * createEditor (QtDatePropertyManager *manager, QtProperty *property, QWidget *parent)=0
 
virtual void disconnectPropertyManager (QtDatePropertyManager *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 QtDateEditFactory class provides QDateEdit widgets for properties created by QtDatePropertyManager objects.

See also
QtAbstractEditorFactory, QtDatePropertyManager

Constructor & Destructor Documentation

◆ QtDateEditFactory()

QtDateEditFactory::QtDateEditFactory ( QObject *  parent = nullptr)

Creates a factory with the given parent.

◆ ~QtDateEditFactory()

QtDateEditFactory::~QtDateEditFactory ( )
override

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

References EditorFactoryPrivate< Editor >::m_editorToProperty.

Member Function Documentation

◆ connectPropertyManager()

void QtDateEditFactory::connectPropertyManager ( QtDatePropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.

◆ createEditor()

QWidget * QtDateEditFactory::createEditor ( QtDatePropertyManager manager,
QtProperty property,
QWidget *  parent 
)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.

References EditorFactoryPrivate< Editor >::createEditor(), QtDatePropertyManager::maximum(), QtDatePropertyManager::minimum(), and QtDatePropertyManager::value().

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void QtDateEditFactory::disconnectPropertyManager ( QtDatePropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.


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