mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
63 lines
1.7 KiB
Plaintext
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 *
|
|
************************************************************************/
|