45 DestinationCrs = 1 << 2,
48 SelectedOnly = 1 << 5,
49 GeometryType = 1 << 6,
59 Q_DECLARE_FLAGS( Options, Option )
79 QString format() const;
84 QString encoding() const;
91 QString fileName() const;
98 QString layerName() const;
106 QStringList datasourceOptions() const;
114 QStringList layerOptions() const;
138 QStringList attributesExportNames() const;
145 bool addToCanvas() const;
153 void setAddToCanvas(
bool checked );
158 Qgis::FeatureSymbologyExport symbologyExport() const;
164 double scale() const;
175 bool hasFilterExtent() const;
188 void setOnlySelected(
bool onlySelected );
195 bool onlySelected() const;
202 bool persistMetadata() const;
210 Qgis::WkbType geometryType() const;
216 bool automaticGeometryType() const;
224 bool forceMulti() const;
231 void setForceMulti(
bool checked );
239 bool includeZ() const;
246 void setIncludeZ(
bool checked );
253 void accept() override;
257 void mFormatComboBox_currentIndexChanged(
int idx );
260 void mSymbologyExportComboBox_currentIndexChanged( const QString &text );
261 void mGeometryTypeComboBox_currentIndexChanged(
int index );
262 void mSelectAllAttributes_clicked();
263 void mDeselectAllAttributes_clicked();
264 void mUseAliasesForExportedName_stateChanged(
int state );
265 void mReplaceRawFieldValues_stateChanged(
int state );
266 void mAttributeTable_itemChanged( QTableWidgetItem *item );
270 enum class ColumnIndex :
int
275 ExportAsDisplayedValue = 3
279 QList< QPair< QLabel *, QWidget * > > createControls(
const QMap<QString, QgsVectorFileWriter::Option *> &options );
288 Options mOptions = Option::AllOptions;
289 QString mDefaultOutputLayerNameFromInputLayerName;
290 bool mAddToCanvasStateOnOpenCompatibleDriver =
true;
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsTextRendererUtils::CurvedTextFlags)