The QtLineEditFactory class provides QLineEdit widgets for properties created by QtStringPropertyManager objects. More...
#include <qteditorfactory.h>
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 |
QtStringPropertyManager * | propertyManager (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) override |
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 QRegularExpression &)) Q_PRIVATE_SLOT(d_func() |
void void void | slotSetValue (const QString &)) Q_PRIVATE_SLOT(d_func() |
Private Attributes | |
QtLineEditFactoryPrivate * | d_ptr |
Additional Inherited Members | |
Protected Slots inherited from QtAbstractEditorFactoryBase |
The QtLineEditFactory class provides QLineEdit widgets for properties created by QtStringPropertyManager objects.
QtLineEditFactory::QtLineEditFactory | ( | QObject * | parent = nullptr | ) |
Creates a factory with the given parent.
References d_ptr, and QtLineEditFactoryPrivate::q_ptr.
|
override |
Destroys this factory, and all the widgets it has created.
References d_ptr, and EditorFactoryPrivate< Editor >::m_editorToProperty.
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtStringPropertyManager >.
References slotEchoModeChanged(), and slotRegExpChanged().
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtStringPropertyManager >.
References EditorFactoryPrivate< Editor >::createEditor(), d_ptr, QtStringPropertyManager::echoMode(), QtStringPropertyManager::regExp(), slotSetValue(), and QtStringPropertyManager::value().
|
overrideprotectedvirtual |
Reimplemented from the QtAbstractEditorFactory class.
Implements QtAbstractEditorFactory< QtStringPropertyManager >.
References slotEchoModeChanged(), and slotRegExpChanged().
|
private |
|
private |
Referenced by connectPropertyManager(), and disconnectPropertyManager().
|
private |
Referenced by connectPropertyManager(), and disconnectPropertyManager().
|
private |
|
private |
Referenced by createEditor(), QtLineEditFactory(), and ~QtLineEditFactory().