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