Computer Assisted Medical Intervention Tool Kit  version 5.2
QtColorEditorFactory Class Reference

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

#include <qteditorfactory.h>

+ Inheritance diagram for QtColorEditorFactory:
+ Collaboration diagram for QtColorEditorFactory:

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) override
 
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 >
virtual void connectPropertyManager (QtColorPropertyManager *manager)=0
 
virtual QWidget * createEditor (QtColorPropertyManager *manager, QtProperty *property, QWidget *parent)=0
 
virtual void disconnectPropertyManager (QtColorPropertyManager *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 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.

◆ ~QtColorEditorFactory()

QtColorEditorFactory::~QtColorEditorFactory ( )
override

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

References EditorFactoryPrivate< Editor >::m_editorToProperty.

Member Function Documentation

◆ connectPropertyManager()

void QtColorEditorFactory::connectPropertyManager ( QtColorPropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.

◆ createEditor()

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

Reimplemented from the QtAbstractEditorFactory class.

References EditorFactoryPrivate< Editor >::createEditor(), QtColorEditWidget::setValue(), and QtColorPropertyManager::value().

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void QtColorEditorFactory::disconnectPropertyManager ( QtColorPropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.


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