Widget allowing to edit a QVariantMap, using a table.
More...
#include <qgskeyvaluewidget.h>
|
void | setReadOnly (bool readOnly) override |
|
virtual void | setReadOnly (bool readOnly) |
| Sets whether the widget should be shown in a read-only state.
|
|
|
| QgsKeyValueWidget (QWidget *parent=nullptr) |
| Constructor.
|
|
QVariantMap | map () const |
| Gets the edit value.
|
|
void | setMap (const QVariantMap &map) |
| Set the initial value of the widget.
|
|
| QgsTableWidgetBase (QWidget *parent) |
| Constructor.
|
|
bool | isReadOnly () const |
| Returns true if the widget is shown in a read-only state.
|
|
|
void | valueChanged () |
| Emitted each time a key or a value is changed.
|
|
void | init (QAbstractTableModel *model) |
| Initialize the table with the given model.
|
|
Widget allowing to edit a QVariantMap, using a table.
Definition at line 64 of file qgskeyvaluewidget.h.
◆ QgsKeyValueWidget()
QgsKeyValueWidget::QgsKeyValueWidget |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ map()
QVariantMap QgsKeyValueWidget::map |
( |
| ) |
const |
|
inline |
◆ setMap()
void QgsKeyValueWidget::setMap |
( |
const QVariantMap & |
map | ) |
|
◆ setReadOnly
void QgsKeyValueWidget::setReadOnly |
( |
bool |
readOnly | ) |
|
|
overrideslot |
◆ map
QVariantMap QgsKeyValueWidget::map |
|
readwrite |
The documentation for this class was generated from the following files: