Computer Assisted Medical Intervention Tool Kit  version 5.2
QtLineEditFactory Class Reference

The QtLineEditFactory class provides QLineEdit widgets for properties created by QtStringPropertyManager objects. More...

#include <qteditorfactory.h>

+ Inheritance diagram for QtLineEditFactory:
+ Collaboration diagram for QtLineEditFactory:

Public Member Functions

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

Protected Member Functions

void connectPropertyManager (QtStringPropertyManager *manager) override
 
QWidget * createEditor (QtStringPropertyManager *manager, QtProperty *property, QWidget *parent) override
 
void disconnectPropertyManager (QtStringPropertyManager *manager) override
 
- Protected Member Functions inherited from QtAbstractEditorFactory< QtStringPropertyManager >
virtual void connectPropertyManager (QtStringPropertyManager *manager)=0
 
virtual QWidget * createEditor (QtStringPropertyManager *manager, QtProperty *property, QWidget *parent)=0
 
virtual void disconnectPropertyManager (QtStringPropertyManager *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 QtLineEditFactory class provides QLineEdit widgets for properties created by QtStringPropertyManager objects.

See also
QtAbstractEditorFactory, QtStringPropertyManager

Constructor & Destructor Documentation

◆ QtLineEditFactory()

QtLineEditFactory::QtLineEditFactory ( QObject *  parent = nullptr)

Creates a factory with the given parent.

◆ ~QtLineEditFactory()

QtLineEditFactory::~QtLineEditFactory ( )
override

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

References EditorFactoryPrivate< Editor >::m_editorToProperty.

Member Function Documentation

◆ connectPropertyManager()

void QtLineEditFactory::connectPropertyManager ( QtStringPropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.

◆ createEditor()

QWidget * QtLineEditFactory::createEditor ( QtStringPropertyManager manager,
QtProperty property,
QWidget *  parent 
)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.

References EditorFactoryPrivate< Editor >::createEditor(), QtStringPropertyManager::echoMode(), QtStringPropertyManager::regExp(), and QtStringPropertyManager::value().

+ Here is the call graph for this function:

◆ disconnectPropertyManager()

void QtLineEditFactory::disconnectPropertyManager ( QtStringPropertyManager manager)
overrideprotected

Reimplemented from the QtAbstractEditorFactory class.


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