QGIS/python/gui/qgstablewidgetbase.sip

29 lines
598 B
Plaintext
Raw Normal View History

2016-09-07 14:30:10 +02:00
/** \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 );
2016-09-07 14:30:10 +02:00
protected:
/**
* Initialize the table with the given model.
2016-09-07 14:30:10 +02:00
* Must be called once in the child class' constructor.
*/
void init( QAbstractTableModel *model );
2016-09-07 14:30:10 +02:00
signals:
/**
* Emitted each time a key or a value is changed.
*/
void valueChanged();
};