Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
QtDateTimeEditFactory Class Reference

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

#include <qteditorfactory.h>

Inherits QtAbstractEditorFactory< QtDateTimePropertyManager >.

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)
 
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)
 
- 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

◆ 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().

Member Data Documentation

◆ d_ptr

QtDateTimeEditFactoryPrivate* QtDateTimeEditFactory::d_ptr
private

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