Base widget allowing editing a collection, using a table.  
 More...
#include <qgstablewidgetbase.h>
 | 
| virtual void  | setReadOnly (bool readOnly) | 
|   | Sets whether the widget should be 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.  
  | 
|   | 
Base widget allowing editing a collection, using a table. 
This widget includes buttons to add and remove rows. Child classes must call init(QAbstractTableModel*) from their constructor. 
Definition at line 32 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 27 of file qgstablewidgetbase.cpp.
 
 
◆ isReadOnly()
  
  
      
        
          | bool QgsTableWidgetBase::isReadOnly  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ setReadOnly
  
  
      
        
          | void QgsTableWidgetBase::setReadOnly  | 
          ( | 
          bool  | 
          readOnly | ) | 
           | 
         
       
   | 
  
virtualslot   | 
  
 
 
◆ 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: