Computer Assited Medical Intervention Tool Kit  version 5.0
QtCharEditorFactory Class Reference

The QtCharEditorFactory class provides editor widgets for properties created by QtCharPropertyManager objects. More...

#include <qteditorfactory.h>

+ Inheritance diagram for QtCharEditorFactory:
+ Collaboration diagram for QtCharEditorFactory:

Public Member Functions

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

Protected Member Functions

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

Private Attributes

QtCharEditorFactoryPrivated_ptr
 

Additional Inherited Members

- Protected Slots inherited from QtAbstractEditorFactoryBase

Detailed Description

The QtCharEditorFactory class provides editor widgets for properties created by QtCharPropertyManager objects.

See also
QtAbstractEditorFactory

Constructor & Destructor Documentation

◆ QtCharEditorFactory()

QtCharEditorFactory::QtCharEditorFactory ( QObject *  parent = nullptr)

Creates a factory with the given parent.

References d_ptr, and QtCharEditorFactoryPrivate::q_ptr.

◆ ~QtCharEditorFactory()

QtCharEditorFactory::~QtCharEditorFactory ( )
override

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

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

Member Function Documentation

◆ connectPropertyManager()

void QtCharEditorFactory::connectPropertyManager ( QtCharPropertyManager manager)
overrideprotectedvirtual

◆ createEditor()

QWidget * QtCharEditorFactory::createEditor ( QtCharPropertyManager manager,
QtProperty property,
QWidget *  parent 
)
overrideprotectedvirtual

Reimplemented from the QtAbstractEditorFactory class.

Implements QtAbstractEditorFactory< QtCharPropertyManager >.

References EditorFactoryPrivate< Editor >::createEditor(), d_ptr, QtCharEdit::setValue(), slotSetValue(), and QtCharPropertyManager::value().

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void QtCharEditorFactory::disconnectPropertyManager ( QtCharPropertyManager manager)
overrideprotectedvirtual

◆ Q_PRIVATE_SLOT()

QtCharEditorFactory::Q_PRIVATE_SLOT ( d_func()  ,
void   slotPropertyChangedQtProperty *, const QChar & 
)
private

◆ slotSetValue()

void QtCharEditorFactory::slotSetValue ( const QChar &  )
private

Referenced by createEditor().

+ Here is the caller graph for this function:

Member Data Documentation

◆ d_ptr

QtCharEditorFactoryPrivate* QtCharEditorFactory::d_ptr
private

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