QgsKeyValueWidget class

Widget allowing to edit a QVariantMap, using a table.

Base classes

class QgsTableWidgetBase
Base widget allowing to edit a collection, using a table.

Constructors, destructors, conversion operators

QgsKeyValueWidget(QWidget* parent = nullptr) explicit
Constructor.

Public functions

auto map() const -> QVariantMap
Gets the edit value.
void setMap(const QVariantMap& map)
Set the initial value of the widget.

Function documentation

QVariantMap QgsKeyValueWidget::map() const

Gets the edit value.

Returns the QVariantMap