Computer Assited Medical Intervention Tool Kit
version 4.1
|
The QtCursorEditorFactory class provides QComboBox widgets for properties created by QtCursorPropertyManager objects. More...
#include <qteditorfactory.h>
Inherits QtAbstractEditorFactory< QtCursorPropertyManager >.
Public Member Functions | |
QtCursorEditorFactory (QObject *parent=nullptr) | |
~QtCursorEditorFactory () override | |
Public Member Functions inherited from QtAbstractEditorFactory< QtCursorPropertyManager > | |
void | addPropertyManager (QtCursorPropertyManager *manager) |
QWidget * | createEditor (QtProperty *property, QWidget *parent) |
QtCursorPropertyManager * | propertyManager (QtProperty *property) const |
QSet< QtCursorPropertyManager *> | propertyManagers () const |
QtAbstractEditorFactory (QObject *parent) | |
void | removePropertyManager (QtCursorPropertyManager *manager) |
Protected Member Functions | |
void | connectPropertyManager (QtCursorPropertyManager *manager) override |
QWidget * | createEditor (QtCursorPropertyManager *manager, QtProperty *property, QWidget *parent) override |
void | disconnectPropertyManager (QtCursorPropertyManager *manager) override |
Protected Member Functions inherited from QtAbstractEditorFactory< QtCursorPropertyManager > | |
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 *, const QCursor &)) Q_PRIVATE_SLOT(d_func() | |
void | slotEnumChanged (QtProperty *, int)) Q_PRIVATE_SLOT(d_func() |
Private Attributes | |
QtCursorEditorFactoryPrivate * | d_ptr |
Additional Inherited Members | |
Protected Slots inherited from QtAbstractEditorFactoryBase |
The QtCursorEditorFactory class provides QComboBox widgets for properties created by QtCursorPropertyManager objects.
QtCursorEditorFactory::QtCursorEditorFactory | ( | QObject * | parent = nullptr | ) |
Creates a factory with the given parent.
References QtAbstractEditorFactory< PropertyManager >::addPropertyManager(), d_ptr, QtCursorEditorFactoryPrivate::m_enumEditorFactory, QtCursorEditorFactoryPrivate::m_enumPropertyManager, QtCursorEditorFactoryPrivate::q_ptr, and slotEnumChanged().
|
override |
Destroys this factory, and all the widgets it has created.
References d_ptr.
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtCursorPropertyManager >.
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtCursorPropertyManager >.
References QtAbstractPropertyManager::addProperty(), QtAbstractEditorFactoryBase::createEditor(), d_ptr, QtCursorEditorFactoryPrivate::m_editorToEnum, QtCursorEditorFactoryPrivate::m_enumEditorFactory, QtCursorEditorFactoryPrivate::m_enumPropertyManager, QtCursorEditorFactoryPrivate::m_enumToEditors, QtCursorEditorFactoryPrivate::m_enumToProperty, QtCursorEditorFactoryPrivate::m_propertyToEnum, QtProperty::propertyName(), QtEnumPropertyManager::setEnumIcons(), QtEnumPropertyManager::setEnumNames(), QtEnumPropertyManager::setValue(), and QtCursorPropertyManager::value().
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtCursorPropertyManager >.
|
private |
|
private |
Referenced by QtCursorEditorFactory().
|
private |
Referenced by createEditor(), QtCursorEditorFactory(), and ~QtCursorEditorFactory().