QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Public Slots | Public Member Functions | List of all members
QgsFieldDomainDialog Class Reference

A dialog for configuration of the properties of a QgsFieldDomain. More...

#include <qgsfielddomainwidget.h>

Inheritance diagram for QgsFieldDomainDialog:
Inheritance graph
[legend]

Public Slots

void accept () override
 

Public Member Functions

 QgsFieldDomainDialog (Qgis::FieldDomainType type, QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags())
 Constructor for QgsFieldDomainDialog for the given domain type, with the specified parent widget and window flags. More...
 
QgsFieldDomaincreateFieldDomain () const
 Creates a new field domain using the properties from the dialog. More...
 
void setFieldDomain (const QgsFieldDomain *domain)
 Sets the current field domain to show properties for in the dialog. More...
 

Detailed Description

A dialog for configuration of the properties of a QgsFieldDomain.

Since
QGIS 3.26

Definition at line 276 of file qgsfielddomainwidget.h.

Constructor & Destructor Documentation

◆ QgsFieldDomainDialog()

QgsFieldDomainDialog::QgsFieldDomainDialog ( Qgis::FieldDomainType  type,
QWidget *  parent = nullptr,
Qt::WindowFlags  flags = Qt::WindowFlags() 
)
explicit

Constructor for QgsFieldDomainDialog for the given domain type, with the specified parent widget and window flags.

Definition at line 443 of file qgsfielddomainwidget.cpp.

Member Function Documentation

◆ accept

void QgsFieldDomainDialog::accept ( )
overrideslot

Definition at line 474 of file qgsfielddomainwidget.cpp.

◆ createFieldDomain()

QgsFieldDomain * QgsFieldDomainDialog::createFieldDomain ( ) const

Creates a new field domain using the properties from the dialog.

Caller takes ownership of the returned object.

See also
setFieldDomain()

Definition at line 469 of file qgsfielddomainwidget.cpp.

◆ setFieldDomain()

void QgsFieldDomainDialog::setFieldDomain ( const QgsFieldDomain domain)

Sets the current field domain to show properties for in the dialog.

See also
createFieldDomain()

Definition at line 464 of file qgsfielddomainwidget.cpp.


The documentation for this class was generated from the following files: