Computer Assited Medical Intervention Tool Kit
version 4.1
|
The QtFontEditorFactory class provides font editing for properties created by QtFontPropertyManager objects. More...
#include <qteditorfactory.h>
Inherits QtAbstractEditorFactory< QtFontPropertyManager >.
Public Member Functions | |
QtFontEditorFactory (QObject *parent=nullptr) | |
~QtFontEditorFactory () override | |
Public Member Functions inherited from QtAbstractEditorFactory< QtFontPropertyManager > | |
void | addPropertyManager (QtFontPropertyManager *manager) |
QWidget * | createEditor (QtProperty *property, QWidget *parent) |
QtFontPropertyManager * | propertyManager (QtProperty *property) const |
QSet< QtFontPropertyManager *> | propertyManagers () const |
QtAbstractEditorFactory (QObject *parent) | |
void | removePropertyManager (QtFontPropertyManager *manager) |
Protected Member Functions | |
void | connectPropertyManager (QtFontPropertyManager *manager) override |
QWidget * | createEditor (QtFontPropertyManager *manager, QtProperty *property, QWidget *parent) override |
void | disconnectPropertyManager (QtFontPropertyManager *manager) override |
Protected Member Functions inherited from QtAbstractEditorFactory< QtFontPropertyManager > | |
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 QFont &)) Q_PRIVATE_SLOT(d_func() | |
void | slotEditorDestroyed (QObject *)) Q_PRIVATE_SLOT(d_func() |
Private Attributes | |
QtFontEditorFactoryPrivate * | d_ptr |
Additional Inherited Members | |
Protected Slots inherited from QtAbstractEditorFactoryBase |
The QtFontEditorFactory class provides font editing for properties created by QtFontPropertyManager objects.
QtFontEditorFactory::QtFontEditorFactory | ( | QObject * | parent = nullptr | ) |
Creates a factory with the given parent.
References d_ptr, and QtFontEditorFactoryPrivate::q_ptr.
|
override |
Destroys this factory, and all the widgets it has created.
References d_ptr, and EditorFactoryPrivate< Editor >::m_editorToProperty.
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtFontPropertyManager >.
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtFontPropertyManager >.
References EditorFactoryPrivate< Editor >::createEditor(), d_ptr, QtFontEditWidget::setValue(), slotEditorDestroyed(), and QtFontPropertyManager::value().
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtFontPropertyManager >.
|
private |
|
private |
Referenced by createEditor().
|
private |
Referenced by createEditor(), QtFontEditorFactory(), and ~QtFontEditorFactory().