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

The QtColorEditorFactory class provides color editing for properties created by QtColorPropertyManager objects. More...

#include <qteditorfactory.h>

Inherits QtAbstractEditorFactory< QtColorPropertyManager >.

Public Member Functions

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

Protected Member Functions

void connectPropertyManager (QtColorPropertyManager *manager) override
 
QWidget * createEditor (QtColorPropertyManager *manager, QtProperty *property, QWidget *parent) override
 
void disconnectPropertyManager (QtColorPropertyManager *manager) override
 
- Protected Member Functions inherited from QtAbstractEditorFactory< QtColorPropertyManager >
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 QColor &)) Q_PRIVATE_SLOT(d_func()
 
void slotEditorDestroyed (QObject *)) Q_PRIVATE_SLOT(d_func()
 

Private Attributes

QtColorEditorFactoryPrivated_ptr
 

Additional Inherited Members

- Protected Slots inherited from QtAbstractEditorFactoryBase

Detailed Description

The QtColorEditorFactory class provides color editing for properties created by QtColorPropertyManager objects.

See also
QtAbstractEditorFactory, QtColorPropertyManager

Constructor & Destructor Documentation

◆ QtColorEditorFactory()

QtColorEditorFactory::QtColorEditorFactory ( QObject *  parent = nullptr)

Creates a factory with the given parent.

References d_ptr, and QtColorEditorFactoryPrivate::q_ptr.

◆ ~QtColorEditorFactory()

QtColorEditorFactory::~QtColorEditorFactory ( )
override

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

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

Member Function Documentation

◆ connectPropertyManager()

void QtColorEditorFactory::connectPropertyManager ( QtColorPropertyManager manager)
overrideprotectedvirtual

◆ createEditor()

QWidget * QtColorEditorFactory::createEditor ( QtColorPropertyManager manager,
QtProperty property,
QWidget *  parent 
)
overrideprotectedvirtual

◆ disconnectPropertyManager()

void QtColorEditorFactory::disconnectPropertyManager ( QtColorPropertyManager manager)
overrideprotectedvirtual

◆ Q_PRIVATE_SLOT()

QtColorEditorFactory::Q_PRIVATE_SLOT ( d_func()  ,
void   slotPropertyChangedQtProperty *, const QColor & 
)
private

◆ slotEditorDestroyed()

void QtColorEditorFactory::slotEditorDestroyed ( QObject *  )
private

Referenced by createEditor().

Member Data Documentation

◆ d_ptr

QtColorEditorFactoryPrivate* QtColorEditorFactory::d_ptr
private

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