Computer Assited Medical Intervention Tool Kit  version 5.0
QtKeySequenceEditorFactory Class Reference

The QtKeySequenceEditorFactory class provides editor widgets for properties created by QtKeySequencePropertyManager objects. More...

#include <qteditorfactory.h>

+ Inheritance diagram for QtKeySequenceEditorFactory:
+ Collaboration diagram for QtKeySequenceEditorFactory:

Public Member Functions

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

Protected Member Functions

void connectPropertyManager (QtKeySequencePropertyManager *manager) override
 
QWidget * createEditor (QtKeySequencePropertyManager *manager, QtProperty *property, QWidget *parent) override
 
void disconnectPropertyManager (QtKeySequencePropertyManager *manager) override
 
- Protected Member Functions inherited from QtAbstractEditorFactory< QtKeySequencePropertyManager >
void managerDestroyed (QObject *manager) override
 
- Protected Member Functions inherited from QtAbstractEditorFactoryBase
 QtAbstractEditorFactoryBase (QObject *parent=nullptr)
 

Private Member Functions

 Q_PRIVATE_SLOT (d_func(), void slotPropertyChanged(QtProperty *, const QKeySequence &)) Q_PRIVATE_SLOT(d_func()
 
void slotSetValue (const QKeySequence &)) Q_PRIVATE_SLOT(d_func()
 

Private Attributes

QtKeySequenceEditorFactoryPrivated_ptr
 

Additional Inherited Members

- Protected Slots inherited from QtAbstractEditorFactoryBase

Detailed Description

The QtKeySequenceEditorFactory class provides editor widgets for properties created by QtKeySequencePropertyManager objects.

See also
QtAbstractEditorFactory

Constructor & Destructor Documentation

◆ QtKeySequenceEditorFactory()

QtKeySequenceEditorFactory::QtKeySequenceEditorFactory ( QObject *  parent = nullptr)

Creates a factory with the given parent.

References d_ptr, and QtKeySequenceEditorFactoryPrivate::q_ptr.

◆ ~QtKeySequenceEditorFactory()

QtKeySequenceEditorFactory::~QtKeySequenceEditorFactory ( )
override

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

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

Member Function Documentation

◆ connectPropertyManager()

void QtKeySequenceEditorFactory::connectPropertyManager ( QtKeySequencePropertyManager manager)
overrideprotectedvirtual

◆ createEditor()

QWidget * QtKeySequenceEditorFactory::createEditor ( QtKeySequencePropertyManager manager,
QtProperty property,
QWidget *  parent 
)
overrideprotectedvirtual

Reimplemented from the QtAbstractEditorFactory class.

Implements QtAbstractEditorFactory< QtKeySequencePropertyManager >.

References EditorFactoryPrivate< Editor >::createEditor(), d_ptr, QtKeySequenceEdit::setKeySequence(), slotSetValue(), and QtKeySequencePropertyManager::value().

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void QtKeySequenceEditorFactory::disconnectPropertyManager ( QtKeySequencePropertyManager manager)
overrideprotectedvirtual

◆ Q_PRIVATE_SLOT()

QtKeySequenceEditorFactory::Q_PRIVATE_SLOT ( d_func()  ,
void   slotPropertyChangedQtProperty *, const QKeySequence & 
)
private

◆ slotSetValue()

void QtKeySequenceEditorFactory::slotSetValue ( const QKeySequence &  )
private

Referenced by createEditor().

+ Here is the caller graph for this function:

Member Data Documentation

◆ d_ptr


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