QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | List of all members
QgsEditorWidgetSetup Class Reference

#include <qgseditorwidgetsetup.h>

Public Member Functions

 QgsEditorWidgetSetup ()=default
 Constructor for QgsEditorWidgetSetup. More...
 
 QgsEditorWidgetSetup (const QString &type, const QVariantMap &config)
 Constructor. More...
 
QVariantMap config () const
 
bool isNull () const
 
QString type () const
 

Detailed Description

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

Since
QGIS 3.0

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 48 of file qgseditorwidgetsetup.h.

◆ QgsEditorWidgetSetup() [2/2]

QgsEditorWidgetSetup::QgsEditorWidgetSetup ( )
default

Constructor for QgsEditorWidgetSetup.

Member Function Documentation

◆ config()

QVariantMap QgsEditorWidgetSetup::config ( ) const
inline
Returns
the widget configuration to used

Definition at line 64 of file qgseditorwidgetsetup.h.

◆ isNull()

bool QgsEditorWidgetSetup::isNull ( ) const
inline
Returns
true if there is no widget configured.

Definition at line 69 of file qgseditorwidgetsetup.h.

◆ type()

QString QgsEditorWidgetSetup::type ( ) const
inline
Returns
the widget type to use

Definition at line 59 of file qgseditorwidgetsetup.h.


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