The QtCharEditorFactory class provides editor widgets for properties created by QtCharPropertyManager objects. More...
#include <qteditorfactory.h>
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 |
QtCharPropertyManager * | propertyManager (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 | |
QtCharEditorFactoryPrivate * | d_ptr |
Additional Inherited Members | |
Protected Slots inherited from QtAbstractEditorFactoryBase |
The QtCharEditorFactory class provides editor widgets for properties created by QtCharPropertyManager objects.
QtCharEditorFactory::QtCharEditorFactory | ( | QObject * | parent = nullptr | ) |
Creates a factory with the given parent.
References d_ptr, and QtCharEditorFactoryPrivate::q_ptr.
|
override |
Destroys this factory, and all the widgets it has created.
References d_ptr, and EditorFactoryPrivate< Editor >::m_editorToProperty.
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtCharPropertyManager >.
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtCharPropertyManager >.
References EditorFactoryPrivate< Editor >::createEditor(), d_ptr, QtCharEdit::setValue(), slotSetValue(), and QtCharPropertyManager::value().
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtCharPropertyManager >.
|
private |
|
private |
|
private |
Referenced by createEditor(), QtCharEditorFactory(), and ~QtCharEditorFactory().