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

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

#include <qteditorfactory.h>

Inherits QtAbstractEditorFactory< QtIntPropertyManager >.

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)
 
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)
 
- 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

◆ createEditor()

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

◆ disconnectPropertyManager()

void QtScrollBarFactory::disconnectPropertyManager ( QtIntPropertyManager manager)
overrideprotectedvirtual

◆ Q_PRIVATE_SLOT()

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

◆ slotRangeChanged()

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

◆ slotSetValue()

void void void QtScrollBarFactory::slotSetValue ( int  )
private

Referenced by createEditor().

◆ slotSingleStepChanged()

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

Member Data Documentation

◆ d_ptr

QtScrollBarFactoryPrivate* QtScrollBarFactory::d_ptr
private

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