Widget allowing to edit a QVariantList, using a table.  
 More...
#include <qgslistwidget.h>
|  | 
| void | valueChanged () | 
|  | Emitted each time a key or a value is changed.  More... 
 | 
|  | 
| void | init (QAbstractTableModel *model) | 
|  | Initialize the table with the given model.  More... 
 | 
|  | 
Widget allowing to edit a QVariantList, using a table. 
- Since
- QGIS 3.0 
Definition at line 66 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 86 of file qgslistwidget.h.
 
 
◆ setList()
      
        
          | void QgsListWidget::setList | ( | const QVariantList & | list | ) |  | 
      
 
 
◆ valid()
  
  | 
        
          | bool QgsListWidget::valid | ( |  | ) | const |  | inline | 
 
Check the content is valid. 
- Returns
- trueif valid
Definition at line 92 of file qgslistwidget.h.
 
 
◆ list
  
  | 
        
          | QVariantList QgsListWidget::list |  | readwrite | 
 
 
The documentation for this class was generated from the following files: