mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			598 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			598 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/** \ingroup gui
 | 
						|
 * Base widget allowing to edit a collection, using a table.
 | 
						|
 * @note added in QGIS 3.0
 | 
						|
 */
 | 
						|
class QgsTableWidgetBase: public QWidget
 | 
						|
{
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgstablewidgetbase.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
    /**
 | 
						|
     * Constructor.
 | 
						|
     */
 | 
						|
    explicit QgsTableWidgetBase( QWidget* parent );
 | 
						|
 | 
						|
  protected:
 | 
						|
    /**
 | 
						|
     * Initialize the table with the given model.
 | 
						|
     * Must be called once in the child class' constructor.
 | 
						|
     */
 | 
						|
    void init( QAbstractTableModel* model );
 | 
						|
 | 
						|
  signals:
 | 
						|
    /**
 | 
						|
     * Emitted each time a key or a value is changed.
 | 
						|
     */
 | 
						|
    void valueChanged();
 | 
						|
};
 |