QGIS/python/gui/qgsattributetypeloaddialog.sip

62 lines
1.9 KiB
Plaintext
Raw Normal View History

2017-05-23 14:36:52 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsattributetypeloaddialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsAttributeTypeLoadDialog: QDialog
{
2017-05-23 14:36:52 +02:00
%TypeHeaderCode
2017-05-23 14:36:52 +02:00
#include "qgsattributetypeloaddialog.h"
%End
public:
QgsAttributeTypeLoadDialog( QgsVectorLayer *vl );
2017-05-23 14:36:52 +02:00
virtual void accept();
%Docstring
2017-12-15 10:36:55 -04:00
Overloaded accept method which will write the feature field
values, then delegate to QDialog.accept()
2017-05-23 14:36:52 +02:00
%End
void setVectorLayer( QgsVectorLayer *layer );
2017-05-23 14:36:52 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Sets predefined vector layer for selection of data
:param layer: Vector layer which is to be set as predefined one
2017-05-23 14:36:52 +02:00
%End
QMap<QString, QVariant> &valueMap();
2017-05-23 14:36:52 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Getter to value map which is currently active
:return: value map of vlues selected from layer
:rtype: QMap<str, QVariant>
2017-05-23 14:36:52 +02:00
%End
bool insertNull();
2017-05-23 14:36:52 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns true if the "Add NULL value" checkbox has been checked.
:return: true if the "Add NULL value" checkbox has been checked.
:rtype: bool
2017-05-23 14:36:52 +02:00
%End
};
2017-05-23 14:36:52 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsattributetypeloaddialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/