Computer Assited Medical Intervention Tool Kit  version 5.0
QtTimeEditFactory Class Reference

The QtTimeEditFactory class provides QTimeEdit widgets for properties created by QtTimePropertyManager objects. More...

#include <qteditorfactory.h>

+ Inheritance diagram for QtTimeEditFactory:
+ Collaboration diagram for QtTimeEditFactory:

Public Member Functions

 QtTimeEditFactory (QObject *parent=nullptr)
 
 ~QtTimeEditFactory () override
 
- Public Member Functions inherited from QtAbstractEditorFactory< QtTimePropertyManager >
void addPropertyManager (QtTimePropertyManager *manager)
 
QWidget * createEditor (QtProperty *property, QWidget *parent) override
 
QtTimePropertyManagerpropertyManager (QtProperty *property) const
 
QSet< QtTimePropertyManager * > propertyManagers () const
 
 QtAbstractEditorFactory (QObject *parent)
 
void removePropertyManager (QtTimePropertyManager *manager)
 

Protected Member Functions

void connectPropertyManager (QtTimePropertyManager *manager) override
 
QWidget * createEditor (QtTimePropertyManager *manager, QtProperty *property, QWidget *parent) override
 
void disconnectPropertyManager (QtTimePropertyManager *manager) override
 
- Protected Member Functions inherited from QtAbstractEditorFactory< QtTimePropertyManager >
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 QTime &)) Q_PRIVATE_SLOT(d_func()
 
void slotSetValue (const QTime &)) Q_PRIVATE_SLOT(d_func()
 

Private Attributes

QtTimeEditFactoryPrivated_ptr
 

Additional Inherited Members

- Protected Slots inherited from QtAbstractEditorFactoryBase

Detailed Description

The QtTimeEditFactory class provides QTimeEdit widgets for properties created by QtTimePropertyManager objects.

See also
QtAbstractEditorFactory, QtTimePropertyManager

Constructor & Destructor Documentation

◆ QtTimeEditFactory()

QtTimeEditFactory::QtTimeEditFactory ( QObject *  parent = nullptr)

Creates a factory with the given parent.

References d_ptr, and QtTimeEditFactoryPrivate::q_ptr.

◆ ~QtTimeEditFactory()

QtTimeEditFactory::~QtTimeEditFactory ( )
override

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

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

Member Function Documentation

◆ connectPropertyManager()

void QtTimeEditFactory::connectPropertyManager ( QtTimePropertyManager manager)
overrideprotectedvirtual

◆ createEditor()

QWidget * QtTimeEditFactory::createEditor ( QtTimePropertyManager manager,
QtProperty property,
QWidget *  parent 
)
overrideprotectedvirtual

Reimplemented from the QtAbstractEditorFactory class.

Implements QtAbstractEditorFactory< QtTimePropertyManager >.

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

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void QtTimeEditFactory::disconnectPropertyManager ( QtTimePropertyManager manager)
overrideprotectedvirtual

◆ Q_PRIVATE_SLOT()

QtTimeEditFactory::Q_PRIVATE_SLOT ( d_func()  ,
void   slotPropertyChangedQtProperty *, const QTime & 
)
private

◆ slotSetValue()

void QtTimeEditFactory::slotSetValue ( const QTime &  )
private

Referenced by createEditor().

+ Here is the caller graph for this function:

Member Data Documentation

◆ d_ptr

QtTimeEditFactoryPrivate* QtTimeEditFactory::d_ptr
private

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