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,
57 Q_DECLARE_FLAGS( Options, Option )
75 QString format()
const;
80 QString encoding()
const;
85 QString filename()
const;
90 QString layername()
const;
96 QStringList datasourceOptions()
const;
102 QStringList layerOptions()
const;
109 Q_DECL_DEPRECATED
long crs()
const;
129 bool addToCanvas()
const;
137 void setAddToCanvas(
bool checked );
145 int symbologyExport()
const;
151 double scale()
const;
162 bool hasFilterExtent()
const;
173 void setOnlySelected(
bool onlySelected );
178 bool onlySelected()
const;
185 bool persistMetadata()
const;
199 bool automaticGeometryType()
const;
205 bool forceMulti()
const;
210 void setForceMulti(
bool checked );
216 bool includeZ()
const;
221 void setIncludeZ(
bool checked );
228 void mFormatComboBox_currentIndexChanged(
int idx );
231 void mSymbologyExportComboBox_currentIndexChanged(
const QString &text );
232 void mGeometryTypeComboBox_currentIndexChanged(
int index );
233 void accept()
override;
234 void mSelectAllAttributes_clicked();
235 void mDeselectAllAttributes_clicked();
236 void mReplaceRawFieldValues_stateChanged(
int state );
237 void mAttributeTable_itemChanged( QTableWidgetItem *item );
241 QList< QPair< QLabel *, QWidget * > > createControls(
const QMap<QString, QgsVectorFileWriter::Option *> &options );
249 bool mAttributeTableItemChangedSlotEnabled;
250 bool mReplaceRawFieldValuesStateChangedSlotEnabled;
252 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.
Option
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
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsField::ConfigurationFlags) CORE_EXPORT QDataStream &operator<<(QDataStream &out
Writes the field to stream out. QGIS version compatibility is not guaranteed.
const QgsCoordinateReferenceSystem & crs