Computer Assited Medical Intervention Tool Kit  version 5.0
QtScrollBarFactory Class Reference

The QtScrollBarFactory class provides QScrollBar widgets for properties created by QtIntPropertyManager objects. More...

#include <qteditorfactory.h>

+ Inheritance diagram for QtScrollBarFactory:
+ Collaboration diagram for QtScrollBarFactory:

Public Member Functions

 QtScrollBarFactory (QObject *parent=nullptr)
 
 ~QtScrollBarFactory () 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

QtScrollBarFactoryPrivated_ptr
 

Additional Inherited Members

- Protected Slots inherited from QtAbstractEditorFactoryBase

Detailed Description

The QtScrollBarFactory class provides QScrollBar widgets for properties created by QtIntPropertyManager objects.

See also
QtAbstractEditorFactory, QtIntPropertyManager

Constructor & Destructor Documentation

◆ QtScrollBarFactory()

QtScrollBarFactory::QtScrollBarFactory ( QObject *  parent = nullptr)

Creates a factory with the given parent.

References d_ptr, and QtScrollBarFactoryPrivate::q_ptr.

◆ ~QtScrollBarFactory()

QtScrollBarFactory::~QtScrollBarFactory ( )
override

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

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

Member Function Documentation

◆ connectPropertyManager()

void QtScrollBarFactory::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 * QtScrollBarFactory::createEditor ( QtIntPropertyManager manager,
QtProperty property,
QWidget *  parent 
)
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().

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void QtScrollBarFactory::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()

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

◆ slotRangeChanged()

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

Referenced by connectPropertyManager(), and disconnectPropertyManager().

+ Here is the caller graph for this function:

◆ slotSetValue()

void void void QtScrollBarFactory::slotSetValue ( int  )
private

Referenced by createEditor().

+ Here is the caller graph for this function:

◆ slotSingleStepChanged()

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

Referenced by connectPropertyManager(), and disconnectPropertyManager().

+ Here is the caller graph for this function:

Member Data Documentation

◆ d_ptr

QtScrollBarFactoryPrivate* QtScrollBarFactory::d_ptr
private

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