17 #ifndef QGSSTYLEV2EXPORTIMPORTDIALOG_H 18 #define QGSSTYLEV2EXPORTIMPORTDIALOG_H 23 #include "ui_qgsstyleexportimportdialogbase.h" 33 class QProgressDialog;
34 class QNetworkAccessManager;
61 void selectSymbols(
const QStringList &symbolNames );
67 void deselectSymbols(
const QStringList &symbolNames );
70 void doExportImport();
85 void clearSelection();
91 void selectTag(
const QString &tagName );
97 void deselectTag(
const QString &tagName );
103 void selectSmartgroup(
const QString &groupName );
109 void deselectSmartgroup(
const QString &groupName );
111 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 importFileChanged(
const QString &path );
133 void downloadStyleXml(
const QUrl &url );
134 bool populateStyles();
135 void moveStyles( QModelIndexList *selection,
QgsStyle *src,
QgsStyle *dst );
137 QProgressDialog *mProgressDlg =
nullptr;
139 QTemporaryFile *mTempFile =
nullptr;
140 QNetworkAccessManager *mNetManager =
nullptr;
141 QNetworkReply *mNetReply =
nullptr;
149 std::unique_ptr< QgsStyle > mTempStyle;
150 std::unique_ptr< QgsTemporaryCursorOverride > mCursorOverride;
153 #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.