QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
QgsAttributeTypeLoadDialog Class Reference

#include <qgsattributetypeloaddialog.h>

Public Member Functions

 QgsAttributeTypeLoadDialog (QgsVectorLayer *vl)
 ~QgsAttributeTypeLoadDialog ()
void accept () override
 Overloaded accept method which will write the feature field values, then delegate to QDialog::accept()
bool insertNull ()
 Returns true if the "Add NULL value" checkbox has been checked.
void setVectorLayer (QgsVectorLayer *layer)
 Sets predefined vector layer for selection of data.
QMap< QString, QVariant > & valueMap ()
 Getter to value map which is currently active.

Detailed Description

Definition at line 31 of file qgsattributetypeloaddialog.h.

Constructor & Destructor Documentation

QgsAttributeTypeLoadDialog::QgsAttributeTypeLoadDialog ( QgsVectorLayer vl)

Definition at line 37 of file qgsattributetypeloaddialog.cpp.

QgsAttributeTypeLoadDialog::~QgsAttributeTypeLoadDialog ( )

Definition at line 54 of file qgsattributetypeloaddialog.cpp.

Member Function Documentation

void QgsAttributeTypeLoadDialog::accept ( )
override

Overloaded accept method which will write the feature field values, then delegate to QDialog::accept()

Definition at line 200 of file qgsattributetypeloaddialog.cpp.

bool QgsAttributeTypeLoadDialog::insertNull ( )

Returns true if the "Add NULL value" checkbox has been checked.

Returns
true if the "Add NULL value" checkbox has been checked.

Definition at line 168 of file qgsattributetypeloaddialog.cpp.

void QgsAttributeTypeLoadDialog::setVectorLayer ( QgsVectorLayer layer)

Sets predefined vector layer for selection of data.

Parameters
layerVector layer which is to be set as predefined one

Definition at line 59 of file qgsattributetypeloaddialog.cpp.

QMap< QString, QVariant > & QgsAttributeTypeLoadDialog::valueMap ( )

Getter to value map which is currently active.

Returns
value map of vlues selected from layer

Definition at line 163 of file qgsattributetypeloaddialog.cpp.


The documentation for this class was generated from the following files: