QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
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 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: