mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
57 lines
1.7 KiB
Plaintext
57 lines
1.7 KiB
Plaintext
/************************************************************************
|
|
* 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
|
|
{
|
|
%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
|
|
|
|
%TypeHeaderCode
|
|
#include "qgstablewidgetbase.h"
|
|
%End
|
|
public:
|
|
|
|
explicit QgsTableWidgetBase( QWidget *parent );
|
|
%Docstring
|
|
Constructor.
|
|
%End
|
|
|
|
protected:
|
|
|
|
void init( QAbstractTableModel *model );
|
|
%Docstring
|
|
Initialize the table with the given model.
|
|
Must be called once in the child class' constructor.
|
|
%End
|
|
|
|
signals:
|
|
|
|
void valueChanged();
|
|
%Docstring
|
|
Emitted each time a key or a value is changed.
|
|
%End
|
|
|
|
};
|
|
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgstablewidgetbase.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|