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

#include <qgslistwidget.h>

Inheritance diagram for QgsListWidget:
Inheritance graph

Public Member Functions

 QgsListWidget (QVariant::Type subType, QWidget *parent=nullptr)
 Constructor. More...
QVariantList list () const
 Gets the edit value. More...
void setList (const QVariantList &list)
 Set the initial value of the widget. More...
bool valid () const
 Check the content is valid. More...
- Public Member Functions inherited from QgsTableWidgetBase
 QgsTableWidgetBase (QWidget *parent)
 Constructor. More...


QVariantList list

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 QVariantList, using a table.

QGIS 3.0

Definition at line 66 of file qgslistwidget.h.

Constructor & Destructor Documentation

◆ QgsListWidget()

QgsListWidget::QgsListWidget ( QVariant::Type  subType,
QWidget *  parent = nullptr 


Definition at line 18 of file qgslistwidget.cpp.

Member Function Documentation

◆ list()

QVariantList QgsListWidget::list ( ) const

Gets the edit value.

the QVariantList

Definition at line 99 of file qgslistwidget.h.

◆ setList()

void QgsListWidget::setList ( const QVariantList &  list)

Set the initial value of the widget.

Definition at line 26 of file qgslistwidget.cpp.

◆ valid()

bool QgsListWidget::valid ( ) const

Check the content is valid.

true if valid

Definition at line 105 of file qgslistwidget.h.

Property Documentation

◆ list

QVariantList QgsListWidget::list

Definition at line 82 of file qgslistwidget.h.

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