Widget allowing to edit a QVariantList, using a table.
More...
#include <qgslistwidget.h>
|
| | QgsListWidget (QVariant::Type subType, QWidget *parent=nullptr) |
| | Constructor.
|
| |
| QVariantList | list () const |
| | Gets the edit value.
|
| |
| void | setList (const QVariantList &list) |
| | Set the initial value of the widget.
|
| |
| bool | valid () const |
| | Check the content is valid.
|
| |
| | QgsTableWidgetBase (QWidget *parent) |
| | Constructor.
|
| |
|
| 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 QVariantList, using a table.
Definition at line 64 of file qgslistwidget.h.
◆ QgsListWidget()
| QgsListWidget::QgsListWidget |
( |
QVariant::Type |
subType, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ list()
| QVariantList QgsListWidget::list |
( |
| ) |
const |
|
inline |
Gets the edit value.
- Returns
- the QVariantList
Definition at line 84 of file qgslistwidget.h.
◆ setList()
| void QgsListWidget::setList |
( |
const QVariantList & |
list | ) |
|
◆ valid()
| bool QgsListWidget::valid |
( |
| ) |
const |
|
inline |
Check the content is valid.
- Returns
true if valid
Definition at line 90 of file qgslistwidget.h.
◆ list
| QVariantList QgsListWidget::list |
|
readwrite |
The documentation for this class was generated from the following files: