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 );
143 int symbologyExport()
const;
149 double scale()
const;
160 bool hasFilterExtent()
const;
171 void setOnlySelected(
bool onlySelected );
176 bool onlySelected()
const;
190 bool automaticGeometryType()
const;
196 bool forceMulti()
const;
201 void setForceMulti(
bool checked );
207 bool includeZ()
const;
212 void setIncludeZ(
bool checked );
219 void mFormatComboBox_currentIndexChanged(
int idx );
222 void mSymbologyExportComboBox_currentIndexChanged(
const QString &text );
223 void mGeometryTypeComboBox_currentIndexChanged(
int index );
224 void accept()
override;
225 void mSelectAllAttributes_clicked();
226 void mDeselectAllAttributes_clicked();
227 void mReplaceRawFieldValues_stateChanged(
int state );
228 void mAttributeTable_itemChanged( QTableWidgetItem *item );
232 QList< QPair< QLabel *, QWidget * > > createControls(
const QMap<QString, QgsVectorFileWriter::Option *> &options );
240 bool mAttributeTableItemChangedSlotEnabled;
241 bool mReplaceRawFieldValuesStateChangedSlotEnabled;
243 Options mOptions = AllOptions;
246 #endif // QGSVECTORLAYERSAVEASDIALOG_H