The QtEnumEditorFactory class provides QComboBox widgets for properties created by QtEnumPropertyManager objects. More...
#include <qteditorfactory.h>
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 |
QtEnumPropertyManager * | propertyManager (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 |
The QtEnumEditorFactory class provides QComboBox widgets for properties created by QtEnumPropertyManager objects.
QtEnumEditorFactory::QtEnumEditorFactory | ( | QObject * | parent = nullptr | ) |
Creates a factory with the given parent.
|
override |
Destroys this factory, and all the widgets it has created.
References EditorFactoryPrivate< Editor >::m_editorToProperty.
|
overrideprotected |
Reimplemented from the QtAbstractEditorFactory class.
|
overrideprotected |
Reimplemented from the QtAbstractEditorFactory class.
References EditorFactoryPrivate< Editor >::createEditor(), QtEnumPropertyManager::enumIcons(), QtEnumPropertyManager::enumNames(), and QtEnumPropertyManager::value().
|
overrideprotected |
Reimplemented from the QtAbstractEditorFactory class.