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

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

QtFontEditorFactoryPrivated_ptr
 

Additional Inherited Members

- Protected Slots inherited from QtAbstractEditorFactoryBase

Detailed Description

The QtFontEditorFactory class provides font editing for properties created by QtFontPropertyManager objects.

See also
QtAbstractEditorFactory, QtFontPropertyManager

Constructor & Destructor Documentation

◆ QtFontEditorFactory()

QtFontEditorFactory::QtFontEditorFactory ( QObject *  parent = nullptr)

Creates a factory with the given parent.

References d_ptr, and QtFontEditorFactoryPrivate::q_ptr.

◆ ~QtFontEditorFactory()

QtFontEditorFactory::~QtFontEditorFactory ( )
override

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

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

Member Function Documentation

◆ connectPropertyManager()

void QtFontEditorFactory::connectPropertyManager ( QtFontPropertyManager manager)
overrideprotectedvirtual

◆ createEditor()

QWidget * QtFontEditorFactory::createEditor ( QtFontPropertyManager manager,
QtProperty property,
QWidget *  parent 
)
overrideprotectedvirtual

◆ disconnectPropertyManager()

void QtFontEditorFactory::disconnectPropertyManager ( QtFontPropertyManager manager)
overrideprotectedvirtual

◆ Q_PRIVATE_SLOT()

QtFontEditorFactory::Q_PRIVATE_SLOT ( d_func()  ,
void   slotPropertyChangedQtProperty *, const QFont & 
)
private

◆ slotEditorDestroyed()

void QtFontEditorFactory::slotEditorDestroyed ( QObject *  )
private

Referenced by createEditor().

Member Data Documentation

◆ d_ptr

QtFontEditorFactoryPrivate* QtFontEditorFactory::d_ptr
private

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