Base widget allowing to edit a collection, using a table.
More...
#include <qgstablewidgetbase.h>
|
void | valueChanged () |
| Emitted each time a key or a value is changed.
|
|
|
void | init (QAbstractTableModel *model) |
| Initialize the table with the given model.
|
|
Base widget allowing to edit a collection, using a table.
This widget includes buttons to add and remove rows. Child classes must call init(QAbstractTableModel*) from their constructor.
- Since
- QGIS 3.0
Definition at line 33 of file qgstablewidgetbase.h.
◆ QgsTableWidgetBase()
QgsTableWidgetBase::QgsTableWidgetBase |
( |
QWidget * |
parent | ) |
|
|
explicit |
◆ init()
void QgsTableWidgetBase::init |
( |
QAbstractTableModel * |
model | ) |
|
|
protected |
Initialize the table with the given model.
Must be called once in the child class' constructor.
Definition at line 26 of file qgstablewidgetbase.cpp.
◆ valueChanged
void QgsTableWidgetBase::valueChanged |
( |
| ) |
|
|
signal |
Emitted each time a key or a value is changed.
◆ TestQgsKeyValueWidget
friend class TestQgsKeyValueWidget |
|
friend |
◆ TestQgsListWidget
friend class TestQgsListWidget |
|
friend |
The documentation for this class was generated from the following files: