Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
QtDoubleSpinBoxFactory Class Reference

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

#include <qteditorfactory.h>

Inherits QtAbstractEditorFactory< QtDoublePropertyManager >.

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)
 
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 >
void managerDestroyed (QObject *manager)
 
- Protected Member Functions inherited from QtAbstractEditorFactoryBase
 QtAbstractEditorFactoryBase (QObject *parent=nullptr)
 

Private Member Functions

 Q_PRIVATE_SLOT (d_func(), void slotPropertyChanged(QtProperty *, double)) Q_PRIVATE_SLOT(d_func()
 
void void void slotDecimalsChanged (QtProperty *, int)) Q_PRIVATE_SLOT(d_func()
 
void slotRangeChanged (QtProperty *, double, double)) Q_PRIVATE_SLOT(d_func()
 
void void void void slotSetValue (double)) Q_PRIVATE_SLOT(d_func()
 
void void slotSingleStepChanged (QtProperty *, double)) Q_PRIVATE_SLOT(d_func()
 

Private Attributes

QtDoubleSpinBoxFactoryPrivated_ptr
 

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.

References d_ptr, and QtDoubleSpinBoxFactoryPrivate::q_ptr.

◆ ~QtDoubleSpinBoxFactory()

QtDoubleSpinBoxFactory::~QtDoubleSpinBoxFactory ( )
override

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

References d_ptr, and EditorFactoryPrivate< Editor >::m_editorToProperty.

Member Function Documentation

◆ connectPropertyManager()

void QtDoubleSpinBoxFactory::connectPropertyManager ( QtDoublePropertyManager manager)
overrideprotectedvirtual

◆ createEditor()

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

◆ disconnectPropertyManager()

void QtDoubleSpinBoxFactory::disconnectPropertyManager ( QtDoublePropertyManager manager)
overrideprotectedvirtual

◆ Q_PRIVATE_SLOT()

QtDoubleSpinBoxFactory::Q_PRIVATE_SLOT ( d_func()  ,
void   slotPropertyChangedQtProperty *, double 
)
private

◆ slotDecimalsChanged()

void void void QtDoubleSpinBoxFactory::slotDecimalsChanged ( QtProperty ,
int   
)
private

◆ slotRangeChanged()

void QtDoubleSpinBoxFactory::slotRangeChanged ( QtProperty ,
double  ,
double   
)
private

◆ slotSetValue()

void void void void QtDoubleSpinBoxFactory::slotSetValue ( double  )
private

Referenced by createEditor().

◆ slotSingleStepChanged()

void void QtDoubleSpinBoxFactory::slotSingleStepChanged ( QtProperty ,
double   
)
private

Member Data Documentation

◆ d_ptr

QtDoubleSpinBoxFactoryPrivate* QtDoubleSpinBoxFactory::d_ptr
private

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