Computer Assisted Medical Intervention Tool Kit  version 5.2
QtDoubleSpinBoxFactory Class Reference

The QtDoubleSpinBoxFactory class provides QDoubleSpinBox widgets for properties created by QtDoublePropertyManager objects. More...

#include <qteditorfactory.h>

+ Inheritance diagram for QtDoubleSpinBoxFactory:
+ Collaboration diagram for QtDoubleSpinBoxFactory:

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
 
QtDoublePropertyManagerpropertyManager (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

Detailed Description

The QtDoubleSpinBoxFactory class provides QDoubleSpinBox widgets for properties created by QtDoublePropertyManager objects.

See also
QtAbstractEditorFactory, QtDoublePropertyManager

Constructor & Destructor Documentation

◆ QtDoubleSpinBoxFactory()

QtDoubleSpinBoxFactory::QtDoubleSpinBoxFactory ( QObject *  parent = nullptr)

Creates a factory with the given parent.

◆ ~QtDoubleSpinBoxFactory()

QtDoubleSpinBoxFactory::~QtDoubleSpinBoxFactory ( )
override

Destroys this factory, and all the widgets it has created.

References EditorFactoryPrivate< Editor >::m_editorToProperty.

Member Function Documentation

◆ connectPropertyManager()

void QtDoubleSpinBoxFactory::connectPropertyManager ( QtDoublePropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.

◆ createEditor()

QWidget * QtDoubleSpinBoxFactory::createEditor ( QtDoublePropertyManager manager,
QtProperty property,
QWidget *  parent 
)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.

References EditorFactoryPrivate< Editor >::createEditor(), QtDoublePropertyManager::decimals(), QtDoublePropertyManager::maximum(), QtDoublePropertyManager::minimum(), QtDoublePropertyManager::singleStep(), and QtDoublePropertyManager::value().

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void QtDoubleSpinBoxFactory::disconnectPropertyManager ( QtDoublePropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.


The documentation for this class was generated from the following files: