QGIS/python/gui/auto_generated/symbology/qgsstyleexportimportdialog.sip.in

114 lines
3.0 KiB
Plaintext
Raw Normal View History

2017-06-08 15:30:38 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
2017-08-06 13:39:03 +02:00
* src/gui/symbology/qgsstyleexportimportdialog.h *
2017-06-08 15:30:38 +02:00
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
2016-08-06 11:01:42 +02:00
class QgsStyleExportImportDialog : QDialog
{
2017-06-08 15:30:38 +02:00
%TypeHeaderCode
2017-06-08 15:30:38 +02:00
#include "qgsstyleexportimportdialog.h"
%End
public:
enum Mode
{
Export,
Import,
};
2017-06-08 15:30:38 +02:00
QgsStyleExportImportDialog( QgsStyle *style, QWidget *parent /TransferThis/ = 0, Mode mode = Export );
%Docstring
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.
%End
2016-08-06 11:01:42 +02:00
~QgsStyleExportImportDialog();
void setImportFilePath( const QString &path );
%Docstring
Sets the initial ``path`` to use for importing files, when the dialog is in a Import mode.
.. versionadded:: 3.6
%End
void selectSymbols( const QStringList &symbolNames );
2017-06-08 15:30:38 +02:00
%Docstring
selectSymbols select symbols by name
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param symbolNames: list of symbol names
2017-06-08 15:30:38 +02:00
%End
void deselectSymbols( const QStringList &symbolNames );
2017-06-08 15:30:38 +02:00
%Docstring
deselectSymbols deselect symbols by name
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param symbolNames: list of symbol names
2017-06-08 15:30:38 +02:00
%End
public slots:
void doExportImport();
2017-06-08 15:30:38 +02:00
void selectByGroup();
2017-06-08 15:30:38 +02:00
%Docstring
selectByGroup open select by group dialog
2017-06-08 15:30:38 +02:00
%End
void selectAll();
2017-06-08 15:30:38 +02:00
%Docstring
selectAll selects all symbols
2017-06-08 15:30:38 +02:00
%End
void clearSelection();
2017-06-08 15:30:38 +02:00
%Docstring
clearSelection deselects all symbols
2017-06-08 15:30:38 +02:00
%End
void selectTag( const QString &tagName );
2017-06-08 15:30:38 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Select the symbols belonging to the given tag
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param tagName: the name of the group to be selected
2017-06-08 15:30:38 +02:00
%End
void deselectTag( const QString &tagName );
2017-06-08 15:30:38 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Deselect the symbols belonging to the given tag
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param tagName: the name of the group to be deselected
2017-06-08 15:30:38 +02:00
%End
void selectSmartgroup( const QString &groupName );
2017-06-08 15:30:38 +02:00
%Docstring
selectSmartgroup selects all symbols from a smart group
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param groupName:
2017-06-08 15:30:38 +02:00
%End
void deselectSmartgroup( const QString &groupName );
2017-06-08 15:30:38 +02:00
%Docstring
deselectSmartgroup deselects all symbols from a smart group
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param groupName:
2017-06-08 15:30:38 +02:00
%End
void importTypeChanged( int );
2017-06-08 15:30:38 +02:00
};
2017-06-08 15:30:38 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
2017-08-06 13:39:03 +02:00
* src/gui/symbology/qgsstyleexportimportdialog.h *
2017-06-08 15:30:38 +02:00
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/