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

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

#include <qteditorfactory.h>

Inherits QtAbstractEditorFactory< QtStringPropertyManager >.

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)
 
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 >
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 QString &)) Q_PRIVATE_SLOT(d_func()
 
void void slotEchoModeChanged (QtProperty *, int)) Q_PRIVATE_SLOT(d_func()
 
void slotRegExpChanged (QtProperty *, const QRegExp &)) Q_PRIVATE_SLOT(d_func()
 
void void void slotSetValue (const QString &)) Q_PRIVATE_SLOT(d_func()
 

Private Attributes

QtLineEditFactoryPrivated_ptr
 

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.

References d_ptr, and QtLineEditFactoryPrivate::q_ptr.

◆ ~QtLineEditFactory()

QtLineEditFactory::~QtLineEditFactory ( )
override

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

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

Member Function Documentation

◆ connectPropertyManager()

void QtLineEditFactory::connectPropertyManager ( QtStringPropertyManager manager)
overrideprotectedvirtual

◆ createEditor()

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

◆ disconnectPropertyManager()

void QtLineEditFactory::disconnectPropertyManager ( QtStringPropertyManager manager)
overrideprotectedvirtual

◆ Q_PRIVATE_SLOT()

QtLineEditFactory::Q_PRIVATE_SLOT ( d_func()  ,
void   slotPropertyChangedQtProperty *, const QString & 
)
private

◆ slotEchoModeChanged()

void void QtLineEditFactory::slotEchoModeChanged ( QtProperty ,
int   
)
private

◆ slotRegExpChanged()

void QtLineEditFactory::slotRegExpChanged ( QtProperty ,
const QRegExp &   
)
private

◆ slotSetValue()

void void void QtLineEditFactory::slotSetValue ( const QString &  )
private

Referenced by createEditor().

Member Data Documentation

◆ d_ptr

QtLineEditFactoryPrivate* QtLineEditFactory::d_ptr
private

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