Widget allowing editing a QVariantList, using a table.  
 More...
#include <qgslistwidget.h>
 | 
| void  | setReadOnly (bool readOnly) override | 
|   | 
| virtual void  | setReadOnly (bool readOnly) | 
|   | Sets whether the widget should be shown in a read-only state.  
  | 
|   | 
 | 
|   | QgsListWidget (QMetaType::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.  
  | 
|   | 
| 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 editing a QVariantList, using a table. 
Definition at line 65 of file qgslistwidget.h.
 
◆ QgsListWidget()
  
  
      
        
          | QgsListWidget::QgsListWidget  | 
          ( | 
          QMetaType::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 | ) | 
           | 
        
      
 
 
◆ setReadOnly
  
  
      
        
          | void QgsListWidget::setReadOnly  | 
          ( | 
          bool  | 
          readOnly | ) | 
           | 
         
       
   | 
  
overrideslot   | 
  
 
 
◆ 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: