QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
#include <qgsstyleexportimportdialog.h>
Public Types | |
enum | Mode { Export, Import } |
Dialog modes. More... | |
Public Slots | |
void | clearSelection () |
clearSelection deselects all symbols More... | |
void | deselectFavorites () |
Deselects favorite symbols. More... | |
void | deselectSmartgroup (const QString &groupName) |
deselectSmartgroup deselects all symbols from a smart group More... | |
void | deselectTag (const QString &tagName) |
Deselect the symbols belonging to the given tag. More... | |
void | doExportImport () |
void | importTypeChanged (int) |
void | selectAll () |
selectAll selects all symbols More... | |
void | selectByGroup () |
selectByGroup open select by group dialog More... | |
void | selectFavorites () |
Selects favorite symbols. More... | |
void | selectSmartgroup (const QString &groupName) |
selectSmartgroup selects all symbols from a smart group More... | |
void | selectTag (const QString &tagName) |
Select the symbols belonging to the given tag. More... | |
Public Member Functions | |
QgsStyleExportImportDialog (QgsStyle *style, QWidget *parent=nullptr, Mode mode=Export) | |
Constructor for QgsStyleExportImportDialog, with the specified parent widget. More... | |
~QgsStyleExportImportDialog () override | |
void | deselectSymbols (const QStringList &symbolNames) |
deselectSymbols deselect symbols by name More... | |
void | selectSymbols (const QStringList &symbolNames) |
selectSymbols select symbols by name More... | |
void | setImportFilePath (const QString &path) |
Sets the initial path to use for importing files, when the dialog is in a Import mode. More... | |
Definition at line 40 of file qgsstyleexportimportdialog.h.
Dialog modes.
Enumerator | |
---|---|
Export | Export existing symbols mode. |
Import | Import xml file mode. |
Definition at line 47 of file qgsstyleexportimportdialog.h.
QgsStyleExportImportDialog::QgsStyleExportImportDialog | ( | QgsStyle * | style, |
QWidget * | parent = nullptr , |
||
Mode | mode = Export |
||
) |
Constructor for QgsStyleExportImportDialog, with the specified parent widget.
Creates a dialog for importing symbols into the given style, or exporting symbols from the style. The mode argument dictates whether the dialog is to be used for exporting or importing symbols.
Definition at line 44 of file qgsstyleexportimportdialog.cpp.
|
override |
Definition at line 240 of file qgsstyleexportimportdialog.cpp.
|
slot |
clearSelection deselects all symbols
Definition at line 256 of file qgsstyleexportimportdialog.cpp.
|
slot |
Deselects favorite symbols.
Definition at line 267 of file qgsstyleexportimportdialog.cpp.
|
slot |
deselectSmartgroup deselects all symbols from a smart group
groupName |
Definition at line 324 of file qgsstyleexportimportdialog.cpp.
void QgsStyleExportImportDialog::deselectSymbols | ( | const QStringList & | symbolNames | ) |
deselectSymbols deselect symbols by name
symbolNames | list of symbol names |
Definition at line 287 of file qgsstyleexportimportdialog.cpp.
|
slot |
Deselect the symbols belonging to the given tag.
tagName | the name of the group to be deselected |
Definition at line 308 of file qgsstyleexportimportdialog.cpp.
|
slot |
Definition at line 145 of file qgsstyleexportimportdialog.cpp.
|
slot |
Definition at line 354 of file qgsstyleexportimportdialog.cpp.
|
slot |
selectAll selects all symbols
Definition at line 251 of file qgsstyleexportimportdialog.cpp.
|
slot |
selectByGroup open select by group dialog
Definition at line 334 of file qgsstyleexportimportdialog.cpp.
|
slot |
Selects favorite symbols.
Definition at line 261 of file qgsstyleexportimportdialog.cpp.
|
slot |
selectSmartgroup selects all symbols from a smart group
groupName |
Definition at line 314 of file qgsstyleexportimportdialog.cpp.
void QgsStyleExportImportDialog::selectSymbols | ( | const QStringList & | symbolNames | ) |
selectSymbols select symbols by name
symbolNames | list of symbol names |
Definition at line 273 of file qgsstyleexportimportdialog.cpp.
|
slot |
Select the symbols belonging to the given tag.
tagName | the name of the group to be selected |
Definition at line 302 of file qgsstyleexportimportdialog.cpp.
void QgsStyleExportImportDialog::setImportFilePath | ( | const QString & | path | ) |
Sets the initial path to use for importing files, when the dialog is in a Import mode.
Definition at line 246 of file qgsstyleexportimportdialog.cpp.