/************************************************************************ * This file has been generated automatically from * * * * src/gui/qgstablewidgetbase.h * * * * Do not edit manually ! Edit header and run scripts/sipify.py again * ************************************************************************/ class QgsTableWidgetBase : QWidget, protected Ui::QgsTableWidgetUiBase { %Docstring(signature="appended") Base widget allowing editing a collection, using a table. This widget includes buttons to add and remove rows. Child classes must call init(QAbstractTableModel*) from their constructor. %End %TypeHeaderCode #include "qgstablewidgetbase.h" %End public: explicit QgsTableWidgetBase( QWidget *parent ); %Docstring Constructor. %End bool isReadOnly() const; %Docstring Returns ``True`` if the widget is shown in a read-only state. .. seealso:: :py:func:`setReadOnly` .. versionadded:: 3.38 %End public slots: virtual void setReadOnly( bool readOnly ); %Docstring Sets whether the widget should be shown in a read-only state. .. seealso:: :py:func:`isReadOnly` .. versionadded:: 3.38 %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.py again * ************************************************************************/