2017-05-23 14:45:44 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgskeyvaluewidget.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsKeyValueWidget: QgsTableWidgetBase
|
2016-09-07 09:20:34 +02:00
|
|
|
{
|
2017-05-23 14:45:44 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Widget allowing to edit a QVariantMap, using a table.
|
|
|
|
|
2017-05-23 14:45:44 +02:00
|
|
|
.. versionadded:: 3.0
|
|
|
|
%End
|
|
|
|
|
2016-09-07 09:20:34 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgskeyvaluewidget.h"
|
|
|
|
%End
|
|
|
|
public:
|
2017-05-23 14:45:44 +02:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
explicit QgsKeyValueWidget( QWidget *parent /TransferThis/ = 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 09:20:34 +02:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
void setMap( const QVariantMap &map );
|
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 09:20:34 +02:00
|
|
|
|
|
|
|
QVariantMap map() const;
|
2017-05-23 14:45:44 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Get the edit value.
|
|
|
|
|
|
|
|
:return: the QVariantMap
|
2017-05-23 14:45:44 +02:00
|
|
|
%End
|
2016-09-07 09:20:34 +02:00
|
|
|
|
|
|
|
};
|
2017-05-23 14:45:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgskeyvaluewidget.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|