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

#include <qgskeyvaluewidget.h>

Inheritance diagram for QgsKeyValueWidget:
Inheritance graph

Public Member Functions

 QgsKeyValueWidget (QWidget *parent=nullptr)
 Constructor. More...
QVariantMap map () const
 Gets the edit value. More...
void setMap (const QVariantMap &map)
 Set the initial value of the widget. More...
- Public Member Functions inherited from QgsTableWidgetBase
 QgsTableWidgetBase (QWidget *parent)
 Constructor. More...


QVariantMap map

Additional Inherited Members

- Signals inherited from QgsTableWidgetBase
void valueChanged ()
 Emitted each time a key or a value is changed. More...
- Protected Member Functions inherited from QgsTableWidgetBase
void init (QAbstractTableModel *model)
 Initialize the table with the given model. More...

Detailed Description

Widget allowing to edit a QVariantMap, using a table.

QGIS 3.0

Definition at line 66 of file qgskeyvaluewidget.h.

Constructor & Destructor Documentation

◆ QgsKeyValueWidget()

QgsKeyValueWidget::QgsKeyValueWidget ( QWidget *  parent = nullptr)


Definition at line 18 of file qgskeyvaluewidget.cpp.

Member Function Documentation

◆ map()

QVariantMap QgsKeyValueWidget::map ( ) const

Gets the edit value.

the QVariantMap

Definition at line 99 of file qgskeyvaluewidget.h.

◆ setMap()

void QgsKeyValueWidget::setMap ( const QVariantMap &  map)

Set the initial value of the widget.

Definition at line 25 of file qgskeyvaluewidget.cpp.

Property Documentation

◆ map

QVariantMap QgsKeyValueWidget::map

Definition at line 82 of file qgskeyvaluewidget.h.

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