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 );
142 int symbologyExport()
const;
148 double scale()
const;
159 bool hasFilterExtent()
const;
170 void setOnlySelected(
bool onlySelected );
175 bool onlySelected()
const;
189 bool automaticGeometryType()
const;
195 bool forceMulti()
const;
200 void setForceMulti(
bool checked );
206 bool includeZ()
const;
211 void setIncludeZ(
bool checked );
218 void mFormatComboBox_currentIndexChanged(
int idx );
221 void mSymbologyExportComboBox_currentIndexChanged(
const QString &text );
222 void mGeometryTypeComboBox_currentIndexChanged(
int index );
223 void accept()
override;
224 void mSelectAllAttributes_clicked();
225 void mDeselectAllAttributes_clicked();
226 void mReplaceRawFieldValues_stateChanged(
int state );
227 void mAttributeTable_itemChanged( QTableWidgetItem *item );
231 QList< QPair< QLabel *, QWidget * > > createControls(
const QMap<QString, QgsVectorFileWriter::Option *> &options );
239 bool mAttributeTableItemChangedSlotEnabled;
240 bool mReplaceRawFieldValuesStateChangedSlotEnabled;
242 Options mOptions = AllOptions;
245 #endif // QGSVECTORLAYERSAVEASDIALOG_H