17 #ifndef QGSSTYLEV2EXPORTIMPORTDIALOG_H 18 #define QGSSTYLEV2EXPORTIMPORTDIALOG_H 23 #include "ui_qgsstyleexportimportdialogbase.h" 35 class QProgressDialog;
36 class QNetworkAccessManager;
70 void setImportFilePath(
const QString &path );
76 void selectSymbols(
const QStringList &symbolNames );
82 void deselectSymbols(
const QStringList &symbolNames );
85 void doExportImport();
100 void clearSelection();
106 void selectTag(
const QString &tagName );
112 void deselectTag(
const QString &tagName );
118 void selectSmartgroup(
const QString &groupName );
124 void deselectSmartgroup(
const QString &groupName );
126 void importTypeChanged(
int );
130 void fileReadyRead();
131 void updateProgress( qint64, qint64 );
132 void downloadCanceled();
133 void selectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected );
137 void importFileChanged(
const QString &path );
148 void downloadStyleXml(
const QUrl &url );
149 bool populateStyles();
150 void moveStyles( QModelIndexList *selection,
QgsStyle *src,
QgsStyle *dst );
152 QProgressDialog *mProgressDlg =
nullptr;
154 QTemporaryFile *mTempFile =
nullptr;
155 QNetworkAccessManager *mNetManager =
nullptr;
156 QNetworkReply *mNetReply =
nullptr;
164 std::unique_ptr< QgsStyle > mTempStyle;
165 std::unique_ptr< QgsTemporaryCursorOverride > mCursorOverride;
168 #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.