QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsEditorWidgetSetup Class Reference

Holder for the widget type and its configuration for a field. More...

#include <qgseditorwidgetsetup.h>

Public Member Functions

 QgsEditorWidgetSetup ()=default
 QgsEditorWidgetSetup (const QString &type, const QVariantMap &config)
 Constructor.
QVariantMap config () const
 Returns the widget configuration.
bool isNull () const
 Returns true if there is no widget configured.
bool operator== (const QgsEditorWidgetSetup &other) const
QString type () const
 Returns the widget type to use.

Detailed Description

Holder for the widget type and its configuration for a field.

Definition at line 28 of file qgseditorwidgetsetup.h.

Constructor & Destructor Documentation

◆ QgsEditorWidgetSetup() [1/2]

QgsEditorWidgetSetup::QgsEditorWidgetSetup ( const QString & type,
const QVariantMap & config )
inline

Constructor.

Definition at line 35 of file qgseditorwidgetsetup.h.

◆ QgsEditorWidgetSetup() [2/2]

QgsEditorWidgetSetup::QgsEditorWidgetSetup ( )
default

Member Function Documentation

◆ config()

QVariantMap QgsEditorWidgetSetup::config ( ) const
inline

Returns the widget configuration.

Definition at line 50 of file qgseditorwidgetsetup.h.

◆ isNull()

bool QgsEditorWidgetSetup::isNull ( ) const
inline

Returns true if there is no widget configured.

Definition at line 55 of file qgseditorwidgetsetup.h.

◆ operator==()

bool QgsEditorWidgetSetup::operator== ( const QgsEditorWidgetSetup & other) const
inline

Definition at line 58 of file qgseditorwidgetsetup.h.

◆ type()

QString QgsEditorWidgetSetup::type ( ) const
inline

Returns the widget type to use.

Definition at line 45 of file qgseditorwidgetsetup.h.


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