QGIS/python/gui/qgslistwidget.sip.in

61 lines
1.6 KiB
Plaintext
Raw Normal View History

2017-05-23 14:45:44 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgslistwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsListWidget: QgsTableWidgetBase
2016-09-07 14:30:10 +02:00
{
2017-05-23 14:45:44 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Widget allowing to edit a QVariantList, using a table.
2017-05-23 14:45:44 +02:00
.. versionadded:: 3.0
%End
2016-09-07 14:30:10 +02:00
%TypeHeaderCode
#include "qgslistwidget.h"
%End
public:
2017-05-23 14:45:44 +02:00
explicit QgsListWidget( QVariant::Type subType, QWidget *parent = 0 );
2017-05-23 14:45:44 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Constructor.
2017-05-23 14:45:44 +02:00
%End
2016-09-07 14:30:10 +02:00
void setList( const QVariantList &list );
2017-05-23 14:45:44 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Set the initial value of the widget.
2017-05-23 14:45:44 +02:00
%End
2016-09-07 14:30:10 +02:00
QVariantList list() const;
2017-05-23 14:45:44 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Get the edit value.
:return: the QVariantList
2017-05-23 14:45:44 +02:00
%End
2016-09-07 14:30:10 +02:00
bool valid() const;
2017-05-23 14:45:44 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Check the content is valid
:return: true if valid
2017-05-23 14:45:44 +02:00
%End
2016-09-07 14:30:10 +02:00
};
2017-05-23 14:45:44 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgslistwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/