QGIS/python/gui/qgstablewidgetbase.sip.in

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
2017-12-15 10:36:55 -04:00
Base widget allowing to edit a collection, using a table.
2017-06-08 11:26:03 +02:00
2017-12-15 10:36:55 -04:00
This widget includes buttons to add and remove rows.
Child classes must call init(QAbstractTableModel*) from their constructor.
2017-06-08 11:26:03 +02:00
.. 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
2017-12-15 10:36:55 -04:00
Constructor.
2017-06-08 11:26:03 +02:00
%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
2017-12-15 10:36:55 -04:00
Initialize the table with the given model.
Must be called once in the child class' constructor.
2017-06-08 11:26:03 +02:00
%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
2017-12-15 10:36:55 -04:00
Emitted each time a key or a value is changed.
2017-06-08 11:26:03 +02:00
%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 *
************************************************************************/