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" 71 void setImportFilePath(
const QString &path );
77 void selectSymbols(
const QStringList &symbolNames );
83 void deselectSymbols(
const QStringList &symbolNames );
86 void doExportImport();
101 void clearSelection();
107 void selectTag(
const QString &tagName );
113 void deselectTag(
const QString &tagName );
119 void selectSmartgroup(
const QString &groupName );
125 void deselectSmartgroup(
const QString &groupName );
127 void importTypeChanged(
int );
131 void fileReadyRead();
132 void updateProgress( qint64, qint64 );
133 void downloadCanceled();
134 void selectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected );
138 void importFileChanged(
const QString &path );
149 void downloadStyleXml(
const QUrl &url );
150 bool populateStyles();
151 void moveStyles( QModelIndexList *selection,
QgsStyle *src,
QgsStyle *dst );
153 QProgressDialog *mProgressDlg =
nullptr;
155 QTemporaryFile *mTempFile =
nullptr;
156 QNetworkAccessManager *mNetManager =
nullptr;
157 QNetworkReply *mNetReply =
nullptr;
165 std::unique_ptr< QgsStyle > mTempStyle;
166 std::unique_ptr< QgsTemporaryCursorOverride > mCursorOverride;
169 #endif // QGSSTYLEV2EXPORTIMPORTDIALOG_H A QAbstractItemModel subclass for showing symbol and color ramp entities contained within a QgsStyle ...
Temporarily sets a cursor override for the QApplication for the lifetime of the object.
Export existing symbols mode.