17 #ifndef QGSSTYLEV2EXPORTIMPORTDIALOG_H 18 #define QGSSTYLEV2EXPORTIMPORTDIALOG_H 22 #include <QProgressDialog> 23 #include <QTemporaryFile> 24 #include <QNetworkAccessManager> 25 #include <QNetworkReply> 26 #include <QStandardItem> 28 #include "ui_qgsstyleexportimportdialogbase.h" 60 void selectSymbols(
const QStringList &symbolNames );
66 void deselectSymbols(
const QStringList &symbolNames );
69 void doExportImport();
84 void clearSelection();
90 void selectTag(
const QString &tagName );
96 void deselectTag(
const QString &tagName );
102 void selectSmartgroup(
const QString &groupName );
108 void deselectSmartgroup(
const QString &groupName );
110 void importTypeChanged(
int );
115 void fileReadyRead();
116 void updateProgress( qint64, qint64 );
117 void downloadCanceled();
118 void selectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected );
122 void downloadStyleXml(
const QUrl &url );
123 bool populateStyles(
QgsStyle *style );
124 void moveStyles( QModelIndexList *selection,
QgsStyle *src,
QgsStyle *dst );
126 QProgressDialog *mProgressDlg =
nullptr;
128 QTemporaryFile *mTempFile =
nullptr;
129 QNetworkAccessManager *mNetManager =
nullptr;
130 QNetworkReply *mNetReply =
nullptr;
139 #endif // QGSSTYLEV2EXPORTIMPORTDIALOG_H