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

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

#include <qteditorfactory.h>

Inherits QtAbstractEditorFactory< QtCharPropertyManager >.

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

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

Member Data Documentation

◆ d_ptr

QtCharEditorFactoryPrivate* QtCharEditorFactory::d_ptr
private

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