Computer Assited Medical Intervention Tool Kit  version 5.0
QtSpinBoxFactory Class Reference

The description of this class will come soon ! More...

#include <qteditorfactory.h>

+ Inheritance diagram for QtSpinBoxFactory:
+ Collaboration diagram for QtSpinBoxFactory:

Public Member Functions

 QtSpinBoxFactory (QObject *parent=nullptr)
 
 ~QtSpinBoxFactory () override
 
- Public Member Functions inherited from QtAbstractEditorFactory< QtIntPropertyManager >
void addPropertyManager (QtIntPropertyManager *manager)
 
QWidget * createEditor (QtProperty *property, QWidget *parent) override
 
QtIntPropertyManagerpropertyManager (QtProperty *property) const
 
QSet< QtIntPropertyManager * > propertyManagers () const
 
 QtAbstractEditorFactory (QObject *parent)
 
void removePropertyManager (QtIntPropertyManager *manager)
 

Protected Member Functions

void connectPropertyManager (QtIntPropertyManager *manager) override
 
QWidget * createEditor (QtIntPropertyManager *manager, QtProperty *property, QWidget *parent) override
 
void disconnectPropertyManager (QtIntPropertyManager *manager) override
 
- Protected Member Functions inherited from QtAbstractEditorFactory< QtIntPropertyManager >
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 *, int)) Q_PRIVATE_SLOT(d_func()
 
void slotRangeChanged (QtProperty *, int, int)) Q_PRIVATE_SLOT(d_func()
 
void void void slotSetValue (int)) Q_PRIVATE_SLOT(d_func()
 
void void slotSingleStepChanged (QtProperty *, int)) Q_PRIVATE_SLOT(d_func()
 

Private Attributes

QtSpinBoxFactoryPrivated_ptr
 

Additional Inherited Members

- Protected Slots inherited from QtAbstractEditorFactoryBase

Detailed Description

The description of this class will come soon !

The QtSpinBoxFactory class provides QSpinBox widgets for properties created by QtIntPropertyManager objects.

See also
QtAbstractEditorFactory, QtIntPropertyManager

Constructor & Destructor Documentation

◆ QtSpinBoxFactory()

QtSpinBoxFactory::QtSpinBoxFactory ( QObject *  parent = nullptr)

Creates a factory with the given parent.

References d_ptr, and QtSpinBoxFactoryPrivate::q_ptr.

◆ ~QtSpinBoxFactory()

QtSpinBoxFactory::~QtSpinBoxFactory ( )
override

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

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

Member Function Documentation

◆ connectPropertyManager()

void QtSpinBoxFactory::connectPropertyManager ( QtIntPropertyManager manager)
overrideprotectedvirtual

Reimplemented from the QtAbstractEditorFactory class.

Implements QtAbstractEditorFactory< QtIntPropertyManager >.

References slotRangeChanged(), and slotSingleStepChanged().

+ Here is the call graph for this function:

◆ createEditor()

QWidget * QtSpinBoxFactory::createEditor ( QtIntPropertyManager manager,
QtProperty property,
QWidget *  parent 
)
overrideprotectedvirtual

Reimplemented from the QtAbstractEditorFactory class.

Implements QtAbstractEditorFactory< QtIntPropertyManager >.

References EditorFactoryPrivate< Editor >::createEditor(), d_ptr, QtIntPropertyManager::maximum(), QtIntPropertyManager::minimum(), QtIntPropertyManager::singleStep(), slotSetValue(), and QtIntPropertyManager::value().

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void QtSpinBoxFactory::disconnectPropertyManager ( QtIntPropertyManager manager)
overrideprotectedvirtual

Reimplemented from the QtAbstractEditorFactory class.

Implements QtAbstractEditorFactory< QtIntPropertyManager >.

References slotRangeChanged(), and slotSingleStepChanged().

+ Here is the call graph for this function:

◆ Q_PRIVATE_SLOT()

QtSpinBoxFactory::Q_PRIVATE_SLOT ( d_func()  ,
void   slotPropertyChangedQtProperty *, int 
)
private

◆ slotRangeChanged()

void QtSpinBoxFactory::slotRangeChanged ( QtProperty ,
int  ,
int   
)
private

Referenced by connectPropertyManager(), and disconnectPropertyManager().

+ Here is the caller graph for this function:

◆ slotSetValue()

void void void QtSpinBoxFactory::slotSetValue ( int  )
private

Referenced by createEditor().

+ Here is the caller graph for this function:

◆ slotSingleStepChanged()

void void QtSpinBoxFactory::slotSingleStepChanged ( QtProperty ,
int   
)
private

Referenced by connectPropertyManager(), and disconnectPropertyManager().

+ Here is the caller graph for this function:

Member Data Documentation

◆ d_ptr

QtSpinBoxFactoryPrivate* QtSpinBoxFactory::d_ptr
private

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