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 > | |
virtual void | connectPropertyManager (QtBoolPropertyManager *manager)=0 |
virtual QWidget * | createEditor (QtBoolPropertyManager *manager, QtProperty *property, QWidget *parent)=0 |
virtual void | disconnectPropertyManager (QtBoolPropertyManager *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 QtCheckBoxFactory class provides QCheckBox widgets for properties created by QtBoolPropertyManager objects.
QtCheckBoxFactory::QtCheckBoxFactory | ( | 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(), QtBoolEdit::setChecked(), and QtBoolPropertyManager::value().
|
overrideprotected |
Reimplemented from the QtAbstractEditorFactory class.