QGIS/python/gui/auto_generated/qgslistwidget.sip.in
2025-04-01 09:44:00 +10:00

63 lines
1.7 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgslistwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsListWidget : QgsTableWidgetBase
{
%Docstring(signature="appended")
Widget allowing editing a QVariantList, using a table.
%End
%TypeHeaderCode
#include "qgslistwidget.h"
%End
public:
explicit QgsListWidget( QMetaType::Type subType, QWidget *parent = 0 );
%Docstring
Constructor.
%End
void setList( const QVariantList &list );
%Docstring
Set the initial value of the widget.
%End
QVariantList list() const;
%Docstring
Gets the edit value.
:return: the QVariantList
%End
bool valid() const;
%Docstring
Check the content is valid
:return: ``True`` if valid
%End
public slots:
virtual void setReadOnly( bool readOnly );
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgslistwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/