The QtCursorEditorFactory class provides QComboBox widgets for properties created by QtCursorPropertyManager objects. More...
#include <qteditorfactory.h>
Public Member Functions | |
QtCursorEditorFactory (QObject *parent=nullptr) | |
~QtCursorEditorFactory () override | |
Public Member Functions inherited from QtAbstractEditorFactory< QtCursorPropertyManager > | |
void | addPropertyManager (QtCursorPropertyManager *manager) |
QWidget * | createEditor (QtProperty *property, QWidget *parent) override |
QtCursorPropertyManager * | propertyManager (QtProperty *property) const |
QSet< QtCursorPropertyManager * > | propertyManagers () const |
QtAbstractEditorFactory (QObject *parent) | |
void | removePropertyManager (QtCursorPropertyManager *manager) |
Protected Member Functions | |
void | connectPropertyManager (QtCursorPropertyManager *manager) override |
QWidget * | createEditor (QtCursorPropertyManager *manager, QtProperty *property, QWidget *parent) override |
void | disconnectPropertyManager (QtCursorPropertyManager *manager) override |
Protected Member Functions inherited from QtAbstractEditorFactory< QtCursorPropertyManager > | |
virtual void | connectPropertyManager (QtCursorPropertyManager *manager)=0 |
virtual QWidget * | createEditor (QtCursorPropertyManager *manager, QtProperty *property, QWidget *parent)=0 |
virtual void | disconnectPropertyManager (QtCursorPropertyManager *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 QtCursorEditorFactory class provides QComboBox widgets for properties created by QtCursorPropertyManager objects.
QtCursorEditorFactory::QtCursorEditorFactory | ( | QObject * | parent = nullptr | ) |
Creates a factory with the given parent.
References QtAbstractEditorFactory< PropertyManager >::addPropertyManager(), QtCursorEditorFactoryPrivate::m_enumEditorFactory, and QtCursorEditorFactoryPrivate::m_enumPropertyManager.
|
override |
Destroys this factory, and all the widgets it has created.
|
overrideprotected |
Reimplemented from the QtAbstractEditorFactory class.
|
overrideprotected |
Reimplemented from the QtAbstractEditorFactory class.
References QtAbstractPropertyManager::addProperty(), QtAbstractEditorFactoryBase::createEditor(), QtCursorEditorFactoryPrivate::m_editorToEnum, QtCursorEditorFactoryPrivate::m_enumEditorFactory, QtCursorEditorFactoryPrivate::m_enumPropertyManager, QtCursorEditorFactoryPrivate::m_enumToEditors, QtCursorEditorFactoryPrivate::m_enumToProperty, QtCursorEditorFactoryPrivate::m_propertyToEnum, QtProperty::propertyName(), QtEnumPropertyManager::setEnumIcons(), QtEnumPropertyManager::setEnumNames(), QtEnumPropertyManager::setValue(), and QtCursorPropertyManager::value().
|
overrideprotected |
Reimplemented from the QtAbstractEditorFactory class.