QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Abstract base class for widgets which configure the extended properties of a QgsFieldDomain subclass. More...
#include <qgsfielddomainwidget.h>
Signals | |
void | changed () |
Emitted whenever the field domain configuration in the widget changes. More... | |
Public Member Functions | |
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... | |
Abstract base class for widgets which configure the extended properties of a QgsFieldDomain subclass.
Definition at line 42 of file qgsfielddomainwidget.h.
QgsAbstractFieldDomainWidget::QgsAbstractFieldDomainWidget | ( | QWidget * | parent = nullptr | ) |
Constructor for QgsAbstractFieldDomainWidget, with the specified parent widget.
Definition at line 27 of file qgsfielddomainwidget.cpp.
|
virtualdefault |
|
signal |
Emitted whenever the field domain configuration in the widget changes.
|
pure virtual |
Creates a new field domain using the properties from the widget.
Caller takes ownership of the returned object.
Implemented in QgsCodedFieldDomainWidget, QgsGlobDomainWidget, and QgsRangeDomainWidget.
|
pure virtual |
Returns true
if the widget currently represents a valid field domain configuration.
Implemented in QgsCodedFieldDomainWidget, QgsGlobDomainWidget, and QgsRangeDomainWidget.
|
pure virtual |
Sets the current field domain to show properties for in the widget.
Implemented in QgsCodedFieldDomainWidget, QgsGlobDomainWidget, and QgsRangeDomainWidget.