Computer Assisted Medical Intervention Tool Kit  version 5.2
QtCheckBoxFactory Class Reference

The QtCheckBoxFactory class provides QCheckBox widgets for properties created by QtBoolPropertyManager objects. More...

#include <qteditorfactory.h>

+ Inheritance diagram for QtCheckBoxFactory:
+ Collaboration diagram for QtCheckBoxFactory:

Public Member Functions

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

Protected Member Functions

void connectPropertyManager (QtBoolPropertyManager *manager) override
 
QWidget * createEditor (QtBoolPropertyManager *manager, QtProperty *property, QWidget *parent) override
 
void disconnectPropertyManager (QtBoolPropertyManager *manager) override
 
- Protected Member Functions inherited from QtAbstractEditorFactory< QtBoolPropertyManager >
virtual void connectPropertyManager (QtBoolPropertyManager *manager)=0
 
virtual QWidget * createEditor (QtBoolPropertyManager *manager, QtProperty *property, QWidget *parent)=0
 
virtual void disconnectPropertyManager (QtBoolPropertyManager *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 QtCheckBoxFactory class provides QCheckBox widgets for properties created by QtBoolPropertyManager objects.

See also
QtAbstractEditorFactory, QtBoolPropertyManager

Constructor & Destructor Documentation

◆ QtCheckBoxFactory()

QtCheckBoxFactory::QtCheckBoxFactory ( QObject *  parent = nullptr)

Creates a factory with the given parent.

◆ ~QtCheckBoxFactory()

QtCheckBoxFactory::~QtCheckBoxFactory ( )
override

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

References EditorFactoryPrivate< Editor >::m_editorToProperty.

Member Function Documentation

◆ connectPropertyManager()

void QtCheckBoxFactory::connectPropertyManager ( QtBoolPropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.

◆ createEditor()

QWidget * QtCheckBoxFactory::createEditor ( QtBoolPropertyManager manager,
QtProperty property,
QWidget *  parent 
)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.

References EditorFactoryPrivate< Editor >::createEditor(), QtBoolEdit::setChecked(), and QtBoolPropertyManager::value().

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void QtCheckBoxFactory::disconnectPropertyManager ( QtBoolPropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.


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