43 DestinationCrs = 1 << 2,
46 SelectedOnly = 1 << 5,
47 GeometryType = 1 << 6,
77 QString format() const;
82 QString encoding() const;
89 QString fileName() const;
96 QString layerName() const;
104 QStringList datasourceOptions() const;
112 QStringList layerOptions() const;
135 QStringList attributesExportNames() const;
142 bool addToCanvas() const;
150 void setAddToCanvas(
bool checked );
155 Qgis::FeatureSymbologyExport symbologyExport() const;
161 double scale() const;
172 bool hasFilterExtent() const;
185 void setOnlySelected(
bool onlySelected );
192 bool onlySelected() const;
199 bool persistMetadata() const;
207 Qgis::WkbType geometryType() const;
213 bool automaticGeometryType() const;
221 bool forceMulti() const;
228 void setForceMulti(
bool checked );
236 bool includeZ() const;
243 void setIncludeZ(
bool checked );
250 void accept() override;
254 void mFormatComboBox_currentIndexChanged(
int idx );
257 void mSymbologyExportComboBox_currentIndexChanged( const QString &text );
258 void mGeometryTypeComboBox_currentIndexChanged(
int index );
259 void mSelectAllAttributes_clicked();
260 void mDeselectAllAttributes_clicked();
261 void mUseAliasesForExportedName_stateChanged(
int state );
262 void mReplaceRawFieldValues_stateChanged(
int state );
263 void mAttributeTable_itemChanged( QTableWidgetItem *item );
266 enum class ColumnIndex :
int
271 ExportAsDisplayedValue = 3
275 QList<QPair<QLabel *, QWidget *>> createControls(
const QMap<QString, QgsVectorFileWriter::Option *> &options );
284 Options mOptions = Option::AllOptions;
285 QString mDefaultOutputLayerNameFromInputLayerName;
286 bool mAddToCanvasStateOnOpenCompatibleDriver =
true;
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsTextRendererUtils::CurvedTextFlags)