Computer Assisted Medical Intervention Tool Kit  version 5.2
QtEnumEditorFactory Class Reference

The QtEnumEditorFactory class provides QComboBox widgets for properties created by QtEnumPropertyManager objects. More...

#include <qteditorfactory.h>

+ Inheritance diagram for QtEnumEditorFactory:
+ Collaboration diagram for QtEnumEditorFactory:

Public Member Functions

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

Protected Member Functions

void connectPropertyManager (QtEnumPropertyManager *manager) override
 
QWidget * createEditor (QtEnumPropertyManager *manager, QtProperty *property, QWidget *parent) override
 
void disconnectPropertyManager (QtEnumPropertyManager *manager) override
 
- Protected Member Functions inherited from QtAbstractEditorFactory< QtEnumPropertyManager >
virtual void connectPropertyManager (QtEnumPropertyManager *manager)=0
 
virtual QWidget * createEditor (QtEnumPropertyManager *manager, QtProperty *property, QWidget *parent)=0
 
virtual void disconnectPropertyManager (QtEnumPropertyManager *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 QtEnumEditorFactory class provides QComboBox widgets for properties created by QtEnumPropertyManager objects.

See also
QtAbstractEditorFactory, QtEnumPropertyManager

Constructor & Destructor Documentation

◆ QtEnumEditorFactory()

QtEnumEditorFactory::QtEnumEditorFactory ( QObject *  parent = nullptr)

Creates a factory with the given parent.

◆ ~QtEnumEditorFactory()

QtEnumEditorFactory::~QtEnumEditorFactory ( )
override

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

References EditorFactoryPrivate< Editor >::m_editorToProperty.

Member Function Documentation

◆ connectPropertyManager()

void QtEnumEditorFactory::connectPropertyManager ( QtEnumPropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.

◆ createEditor()

QWidget * QtEnumEditorFactory::createEditor ( QtEnumPropertyManager manager,
QtProperty property,
QWidget *  parent 
)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.

References EditorFactoryPrivate< Editor >::createEditor(), QtEnumPropertyManager::enumIcons(), QtEnumPropertyManager::enumNames(), and QtEnumPropertyManager::value().

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void QtEnumEditorFactory::disconnectPropertyManager ( QtEnumPropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.


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