|
QGIS API Documentation 3.99.0-Master (21b3aa880ba)
|
A widget for configuration of the extended properties of a QgsRangeFieldDomain. More...
#include <qgsfielddomainwidget.h>

Public Member Functions | |
| QgsRangeDomainWidget (QWidget *parent=nullptr) | |
| Constructor for QgsRangeDomainWidget, with the specified parent widget. | |
| QgsFieldDomain * | createFieldDomain (const QString &name, const QString &description, QMetaType::Type fieldType) const override |
| Creates a new field domain using the properties from the widget. | |
| bool | isValid () const override |
Returns true if the widget currently represents a valid field domain configuration. | |
| void | setFieldDomain (const QgsFieldDomain *domain) override |
| Sets the current field domain to show properties for in the widget. | |
| Public Member Functions inherited from QgsAbstractFieldDomainWidget | |
| QgsAbstractFieldDomainWidget (QWidget *parent=nullptr) | |
| Constructor for QgsAbstractFieldDomainWidget, with the specified parent widget. | |
| ~QgsAbstractFieldDomainWidget () override | |
Additional Inherited Members | |
| Signals inherited from QgsAbstractFieldDomainWidget | |
| void | changed () |
| Emitted whenever the field domain configuration in the widget changes. | |
A widget for configuration of the extended properties of a QgsRangeFieldDomain.
Definition at line 95 of file qgsfielddomainwidget.h.
| QgsRangeDomainWidget::QgsRangeDomainWidget | ( | QWidget * | parent = nullptr | ) |
Constructor for QgsRangeDomainWidget, with the specified parent widget.
Definition at line 43 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 88 of file qgsfielddomainwidget.cpp.
|
overridevirtual |
Returns true if the widget currently represents a valid field domain configuration.
Implements QgsAbstractFieldDomainWidget.
Definition at line 93 of file qgsfielddomainwidget.cpp.
|
overridevirtual |
Sets the current field domain to show properties for in the widget.
Implements QgsAbstractFieldDomainWidget.
Definition at line 69 of file qgsfielddomainwidget.cpp.