QGIS/python/gui/qgstablewidgetbase.sip

57 lines
1.7 KiB
Plaintext
Raw Normal View History

2017-06-08 11:26:03 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgstablewidgetbase.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsTableWidgetBase: QWidget, protected Ui::QgsTableWidgetUiBase
2016-09-07 14:30:10 +02:00
{
2017-06-08 11:26:03 +02:00
%Docstring
Base widget allowing to edit a collection, using a table.
This widget includes buttons to add and remove rows.
Child classes must call init(QAbstractTableModel*) from their constructor.
.. versionadded:: 3.0
%End
2016-09-07 14:30:10 +02:00
%TypeHeaderCode
#include "qgstablewidgetbase.h"
%End
public:
2017-06-08 11:26:03 +02:00
explicit QgsTableWidgetBase( QWidget *parent );
2017-06-08 11:26:03 +02:00
%Docstring
Constructor.
%End
2016-09-07 14:30:10 +02:00
protected:
2017-06-08 11:26:03 +02:00
void init( QAbstractTableModel *model );
2017-06-08 11:26:03 +02:00
%Docstring
Initialize the table with the given model.
Must be called once in the child class' constructor.
%End
2016-09-07 14:30:10 +02:00
signals:
2017-06-08 11:26:03 +02:00
2016-09-07 14:30:10 +02:00
void valueChanged();
2017-06-08 11:26:03 +02:00
%Docstring
Emitted each time a key or a value is changed.
%End
2016-09-07 14:30:10 +02:00
};
2017-06-08 11:26:03 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgstablewidgetbase.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/