QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
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.
 
QgsFieldDomaincreateFieldDomain () const
 Creates a new field domain using the properties from the dialog.
 
void setFieldDomain (const QgsFieldDomain *domain)
 Sets the current field domain to show properties for in the dialog.
 

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 444 of file qgsfielddomainwidget.cpp.

Member Function Documentation

◆ accept

void QgsFieldDomainDialog::accept ( )
overrideslot

Definition at line 475 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 470 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 465 of file qgsfielddomainwidget.cpp.


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