The QtDoubleSpinBoxFactory class provides QDoubleSpinBox widgets for properties created by QtDoublePropertyManager objects. More...
#include <qteditorfactory.h>
Public Member Functions | |
QtDoubleSpinBoxFactory (QObject *parent=nullptr) | |
~QtDoubleSpinBoxFactory () override | |
Public Member Functions inherited from QtAbstractEditorFactory< QtDoublePropertyManager > | |
void | addPropertyManager (QtDoublePropertyManager *manager) |
QWidget * | createEditor (QtProperty *property, QWidget *parent) override |
QtDoublePropertyManager * | propertyManager (QtProperty *property) const |
QSet< QtDoublePropertyManager * > | propertyManagers () const |
QtAbstractEditorFactory (QObject *parent) | |
void | removePropertyManager (QtDoublePropertyManager *manager) |
Protected Member Functions | |
void | connectPropertyManager (QtDoublePropertyManager *manager) override |
QWidget * | createEditor (QtDoublePropertyManager *manager, QtProperty *property, QWidget *parent) override |
void | disconnectPropertyManager (QtDoublePropertyManager *manager) override |
Protected Member Functions inherited from QtAbstractEditorFactory< QtDoublePropertyManager > | |
virtual void | connectPropertyManager (QtDoublePropertyManager *manager)=0 |
virtual QWidget * | createEditor (QtDoublePropertyManager *manager, QtProperty *property, QWidget *parent)=0 |
virtual void | disconnectPropertyManager (QtDoublePropertyManager *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 QtDoubleSpinBoxFactory class provides QDoubleSpinBox widgets for properties created by QtDoublePropertyManager objects.
QtDoubleSpinBoxFactory::QtDoubleSpinBoxFactory | ( | 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(), QtDoublePropertyManager::decimals(), QtDoublePropertyManager::maximum(), QtDoublePropertyManager::minimum(), QtDoublePropertyManager::singleStep(), and QtDoublePropertyManager::value().
|
overrideprotected |
Reimplemented from the QtAbstractEditorFactory class.