Computer Assisted Medical Intervention Tool Kit  version 5.2
QtSliderFactory Class Reference

The QtSliderFactory class provides QSlider widgets for properties created by QtIntPropertyManager objects. More...

#include <qteditorfactory.h>

+ Inheritance diagram for QtSliderFactory:
+ Collaboration diagram for QtSliderFactory:

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) 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 >
virtual void connectPropertyManager (QtIntPropertyManager *manager)=0
 
virtual QWidget * createEditor (QtIntPropertyManager *manager, QtProperty *property, QWidget *parent)=0
 
virtual void disconnectPropertyManager (QtIntPropertyManager *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 QtSliderFactory class provides QSlider widgets for properties created by QtIntPropertyManager objects.

See also
QtAbstractEditorFactory, QtIntPropertyManager

Constructor & Destructor Documentation

◆ QtSliderFactory()

QtSliderFactory::QtSliderFactory ( QObject *  parent = nullptr)

Creates a factory with the given parent.

◆ ~QtSliderFactory()

QtSliderFactory::~QtSliderFactory ( )
override

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

References EditorFactoryPrivate< Editor >::m_editorToProperty.

Member Function Documentation

◆ connectPropertyManager()

void QtSliderFactory::connectPropertyManager ( QtIntPropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.

◆ createEditor()

QWidget * QtSliderFactory::createEditor ( QtIntPropertyManager manager,
QtProperty property,
QWidget *  parent 
)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.

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

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void QtSliderFactory::disconnectPropertyManager ( QtIntPropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.


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