Computer Assited Medical Intervention Tool Kit
version 4.1
|
The QtSliderFactory class provides QSlider widgets for properties created by QtIntPropertyManager objects. More...
#include <qteditorfactory.h>
Inherits QtAbstractEditorFactory< QtIntPropertyManager >.
Public Member Functions | |
QtSliderFactory (QObject *parent=nullptr) | |
~QtSliderFactory () override | |
Public Member Functions inherited from QtAbstractEditorFactory< QtIntPropertyManager > | |
void | addPropertyManager (QtIntPropertyManager *manager) |
QWidget * | createEditor (QtProperty *property, QWidget *parent) |
QtIntPropertyManager * | propertyManager (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) |
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 | |
QtSliderFactoryPrivate * | d_ptr |
Additional Inherited Members | |
Protected Slots inherited from QtAbstractEditorFactoryBase |
The QtSliderFactory class provides QSlider widgets for properties created by QtIntPropertyManager objects.
QtSliderFactory::QtSliderFactory | ( | QObject * | parent = nullptr | ) |
Creates a factory with the given parent.
References d_ptr, and QtSliderFactoryPrivate::q_ptr.
|
override |
Destroys this factory, and all the widgets it has created.
References d_ptr, and EditorFactoryPrivate< Editor >::m_editorToProperty.
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtIntPropertyManager >.
References slotRangeChanged(), and slotSingleStepChanged().
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtIntPropertyManager >.
References d_ptr, EditorFactoryPrivate< Editor >::initializeEditor(), QtIntPropertyManager::maximum(), QtIntPropertyManager::minimum(), QtIntPropertyManager::singleStep(), slotSetValue(), and QtIntPropertyManager::value().
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtIntPropertyManager >.
References slotRangeChanged(), and slotSingleStepChanged().
|
private |
|
private |
Referenced by connectPropertyManager(), and disconnectPropertyManager().
|
private |
Referenced by createEditor().
|
private |
Referenced by connectPropertyManager(), and disconnectPropertyManager().
|
private |
Referenced by createEditor(), QtSliderFactory(), and ~QtSliderFactory().