QGIS API Documentation 3.41.0-Master (cea29feecf2)
|
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. | |
Public Member Functions | |
QgsAbstractFieldDomainWidget (QWidget *parent=nullptr) | |
Constructor for QgsAbstractFieldDomainWidget, with the specified parent widget. | |
virtual | ~QgsAbstractFieldDomainWidget () |
virtual QgsFieldDomain * | createFieldDomain (const QString &name, const QString &description, QMetaType::Type fieldType) const =0 |
Creates a new field domain using the properties from the widget. | |
virtual bool | isValid () const =0 |
Returns true if the widget currently represents a valid field domain configuration. | |
virtual void | setFieldDomain (const QgsFieldDomain *domain)=0 |
Sets the current field domain to show properties for in the widget. | |
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 28 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 QgsRangeDomainWidget, QgsGlobDomainWidget, and QgsCodedFieldDomainWidget.
|
pure virtual |
Returns true
if the widget currently represents a valid field domain configuration.
Implemented in QgsRangeDomainWidget, QgsGlobDomainWidget, and QgsCodedFieldDomainWidget.
|
pure virtual |
Sets the current field domain to show properties for in the widget.
Implemented in QgsRangeDomainWidget, QgsGlobDomainWidget, and QgsCodedFieldDomainWidget.