mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
36 lines
911 B
Plaintext
36 lines
911 B
Plaintext
class QgsAttributeTypeLoadDialog : QDialog
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsattributetypeloaddialog.h>
|
|
%End
|
|
public:
|
|
QgsAttributeTypeLoadDialog( QgsVectorLayer *vl );
|
|
~QgsAttributeTypeLoadDialog();
|
|
|
|
/**
|
|
* Overloaded accept method which will write the feature field
|
|
* values, then delegate to QDialog::accept()
|
|
*/
|
|
void accept();
|
|
|
|
/**
|
|
* Sets predefined vector layer for selection of data
|
|
* @param layer Vector layer which is to be set as predefined one
|
|
*/
|
|
void setVectorLayer( QgsVectorLayer *layer );
|
|
|
|
/**
|
|
* Getter to value map which is currently active
|
|
* @return value map of vlues selected from layer
|
|
*/
|
|
QMap<QString, QVariant> &valueMap();
|
|
|
|
/**
|
|
* Returns true if the "Add NULL value" checkbox has been checked.
|
|
*
|
|
* @return true if the "Add NULL value" checkbox has been checked.
|
|
*/
|
|
bool insertNull();
|
|
|
|
};
|