QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
A widget for configuration of the extended properties of a QgsGlobFieldDomain. More...
#include <qgsfielddomainwidget.h>
Public Member Functions | |
QgsGlobDomainWidget (QWidget *parent=nullptr) | |
Constructor for QgsGlobDomainWidget, with the specified parent widget. More... | |
QgsFieldDomain * | createFieldDomain (const QString &name, const QString &description, QVariant::Type fieldType) const override |
Creates a new field domain using the properties from the widget. More... | |
bool | isValid () const override |
Returns true if the widget currently represents a valid field domain configuration. More... | |
void | setFieldDomain (const QgsFieldDomain *domain) override |
Sets the current field domain to show properties for in the widget. More... | |
Public Member Functions inherited from QgsAbstractFieldDomainWidget | |
QgsAbstractFieldDomainWidget (QWidget *parent=nullptr) | |
Constructor for QgsAbstractFieldDomainWidget, with the specified parent widget. More... | |
virtual | ~QgsAbstractFieldDomainWidget () |
virtual QgsFieldDomain * | createFieldDomain (const QString &name, const QString &description, QVariant::Type fieldType) const =0 |
Creates a new field domain using the properties from the widget. More... | |
virtual bool | isValid () const =0 |
Returns true if the widget currently represents a valid field domain configuration. More... | |
virtual void | setFieldDomain (const QgsFieldDomain *domain)=0 |
Sets the current field domain to show properties for in the widget. More... | |
Additional Inherited Members | |
Signals inherited from QgsAbstractFieldDomainWidget | |
void | changed () |
Emitted whenever the field domain configuration in the widget changes. More... | |
A widget for configuration of the extended properties of a QgsGlobFieldDomain.
Definition at line 120 of file qgsfielddomainwidget.h.
QgsGlobDomainWidget::QgsGlobDomainWidget | ( | QWidget * | parent = nullptr | ) |
Constructor for QgsGlobDomainWidget, with the specified parent widget.
Definition at line 96 of file qgsfielddomainwidget.cpp.
|
overridevirtual |
Creates a new field domain using the properties from the widget.
Caller takes ownership of the returned object.
Implements QgsAbstractFieldDomainWidget.
Definition at line 113 of file qgsfielddomainwidget.cpp.
|
overridevirtual |
Returns true
if the widget currently represents a valid field domain configuration.
Implements QgsAbstractFieldDomainWidget.
Definition at line 118 of file qgsfielddomainwidget.cpp.
|
overridevirtual |
Sets the current field domain to show properties for in the widget.
Implements QgsAbstractFieldDomainWidget.
Definition at line 104 of file qgsfielddomainwidget.cpp.