18 #ifndef QGSVECTORLAYERSAVEASDIALOG_H
19 #define QGSVECTORLAYERSAVEASDIALOG_H
21 #include "ui_qgsvectorlayersaveasdialogbase.h"
48 DestinationCrs = 1 << 2,
51 SelectedOnly = 1 << 5,
52 GeometryType = 1 << 6,
73 QString format()
const;
78 QString encoding()
const;
83 QString filename()
const;
88 QString layername()
const;
94 QStringList datasourceOptions()
const;
100 QStringList layerOptions()
const;
107 Q_DECL_DEPRECATED
long crs()
const;
127 bool addToCanvas()
const;
135 void setAddToCanvas(
bool checked );
143 int symbologyExport()
const;
149 double scale()
const;
160 bool hasFilterExtent()
const;
171 void setOnlySelected(
bool onlySelected );
176 bool onlySelected()
const;
190 bool automaticGeometryType()
const;
196 bool forceMulti()
const;
201 void setForceMulti(
bool checked );
207 bool includeZ()
const;
212 void setIncludeZ(
bool checked );
219 void mFormatComboBox_currentIndexChanged(
int idx );
222 void mSymbologyExportComboBox_currentIndexChanged(
const QString &text );
223 void mGeometryTypeComboBox_currentIndexChanged(
int index );
224 void accept()
override;
225 void mSelectAllAttributes_clicked();
226 void mDeselectAllAttributes_clicked();
227 void mReplaceRawFieldValues_stateChanged(
int state );
228 void mAttributeTable_itemChanged( QTableWidgetItem *item );
232 QList< QPair< QLabel *, QWidget * > > createControls(
const QMap<QString, QgsVectorFileWriter::Option *> &options );
240 bool mAttributeTableItemChangedSlotEnabled;
241 bool mReplaceRawFieldValuesStateChangedSlotEnabled;
243 Options mOptions = AllOptions;
This class represents a coordinate reference system (CRS).
Map canvas is a class for displaying all GIS data types on a canvas.
A rectangle specified with double values.
ActionOnExistingFile
Combination of CanAddNewLayer, CanAppendToExistingLayer, CanAddNewFieldsToExistingLayer or CanDeleteL...
Class to select destination file, type and CRS for ogr layers.
Options
Bitmask of options to be shown.
Represents a vector layer which manages a vector based data sets.
Type
The WKB type describes the number of dimensions a geometry has.
QList< int > QgsAttributeList
const QgsCoordinateReferenceSystem & crs