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,
71 QString format()
const;
76 QString encoding()
const;
81 QString filename()
const;
86 QString layername()
const;
92 QStringList datasourceOptions()
const;
98 QStringList layerOptions()
const;
118 bool addToCanvas()
const;
126 void setAddToCanvas(
bool checked );
133 int symbologyExport()
const;
139 double scale()
const;
150 bool hasFilterExtent()
const;
161 void setOnlySelected(
bool onlySelected );
166 bool onlySelected()
const;
180 bool automaticGeometryType()
const;
186 bool forceMulti()
const;
191 void setForceMulti(
bool checked );
197 bool includeZ()
const;
202 void setIncludeZ(
bool checked );
209 void mFormatComboBox_currentIndexChanged(
int idx );
212 void mSymbologyExportComboBox_currentIndexChanged(
const QString &text );
213 void mGeometryTypeComboBox_currentIndexChanged(
int index );
214 void accept()
override;
215 void mSelectAllAttributes_clicked();
216 void mDeselectAllAttributes_clicked();
217 void mReplaceRawFieldValues_stateChanged(
int state );
218 void mAttributeTable_itemChanged( QTableWidgetItem *item );
222 QList< QPair< QLabel *, QWidget * > > createControls(
const QMap<QString, QgsVectorFileWriter::Option *> &options );
230 bool mAttributeTableItemChangedSlotEnabled;
231 bool mReplaceRawFieldValuesStateChangedSlotEnabled;
236 #endif // QGSVECTORLAYERSAVEASDIALOG_H A rectangle specified with double values.
Options
Bitmask of options to be shown.
const QgsCoordinateReferenceSystem & crs
Map canvas is a class for displaying all GIS data types on a canvas.
Type
The WKB type describes the number of dimensions a geometry has.
ActionOnExistingFile
Combination of CanAddNewLayer, CanAppendToExistingLayer, CanAddNewFieldsToExistingLayer or CanDeleteL...
This class represents a coordinate reference system (CRS).
QList< int > QgsAttributeList
Represents a vector layer which manages a vector based data sets.
Class to select destination file, type and CRS for ogr layers.