The QtColorEditorFactory class provides color editing for properties created by QtColorPropertyManager objects. More...
#include <qteditorfactory.h>
Public Member Functions | |
QtColorEditorFactory (QObject *parent=nullptr) | |
~QtColorEditorFactory () override | |
Public Member Functions inherited from QtAbstractEditorFactory< QtColorPropertyManager > | |
void | addPropertyManager (QtColorPropertyManager *manager) |
QWidget * | createEditor (QtProperty *property, QWidget *parent) override |
QtColorPropertyManager * | propertyManager (QtProperty *property) const |
QSet< QtColorPropertyManager * > | propertyManagers () const |
QtAbstractEditorFactory (QObject *parent) | |
void | removePropertyManager (QtColorPropertyManager *manager) |
Protected Member Functions | |
void | connectPropertyManager (QtColorPropertyManager *manager) override |
QWidget * | createEditor (QtColorPropertyManager *manager, QtProperty *property, QWidget *parent) override |
void | disconnectPropertyManager (QtColorPropertyManager *manager) override |
Protected Member Functions inherited from QtAbstractEditorFactory< QtColorPropertyManager > | |
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 QColor &)) Q_PRIVATE_SLOT(d_func() | |
void | slotEditorDestroyed (QObject *)) Q_PRIVATE_SLOT(d_func() |
Private Attributes | |
QtColorEditorFactoryPrivate * | d_ptr |
Additional Inherited Members | |
Protected Slots inherited from QtAbstractEditorFactoryBase |
The QtColorEditorFactory class provides color editing for properties created by QtColorPropertyManager objects.
QtColorEditorFactory::QtColorEditorFactory | ( | QObject * | parent = nullptr | ) |
Creates a factory with the given parent.
References d_ptr, and QtColorEditorFactoryPrivate::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< QtColorPropertyManager >.
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtColorPropertyManager >.
References EditorFactoryPrivate< Editor >::createEditor(), d_ptr, QtColorEditWidget::setValue(), slotEditorDestroyed(), and QtColorPropertyManager::value().
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtColorPropertyManager >.
|
private |
|
private |
|
private |
Referenced by createEditor(), QtColorEditorFactory(), and ~QtColorEditorFactory().