QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Member Functions | List of all members
QgsEditorWidgetSetup Class Reference

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

#include <qgseditorwidgetsetup.h>

Public Member Functions

 QgsEditorWidgetSetup (const QString &type, const QVariantMap &config)
 Constructor. More...
 
 QgsEditorWidgetSetup ()=default
 Constructor for QgsEditorWidgetSetup. 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::QgsEditorWidgetSetup ( const QString &  type,
const QVariantMap &  config 
)
inline

Constructor.

Definition at line 35 of file qgseditorwidgetsetup.h.

QgsEditorWidgetSetup::QgsEditorWidgetSetup ( )
default

Constructor for QgsEditorWidgetSetup.

Member Function Documentation

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

Definition at line 51 of file qgseditorwidgetsetup.h.

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

Definition at line 56 of file qgseditorwidgetsetup.h.

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

Definition at line 46 of file qgseditorwidgetsetup.h.


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