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
|
2013-06-22 19:37:41 +02:00
|
|
|
{
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-08 15:30:38 +02:00
|
|
|
#include "qgsstyleexportimportdialog.h"
|
2013-06-22 19:37:41 +02:00
|
|
|
%End
|
|
|
|
public:
|
|
|
|
enum Mode
|
|
|
|
{
|
|
|
|
Export,
|
|
|
|
Import
|
|
|
|
};
|
|
|
|
|
2017-06-08 15:30:38 +02:00
|
|
|
QgsStyleExportImportDialog( QgsStyle *style, QWidget *parent /TransferThis/ = 0, Mode mode = Export );
|
2016-08-06 11:01:42 +02:00
|
|
|
~QgsStyleExportImportDialog();
|
2013-06-22 19:37:41 +02:00
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
void selectSymbols( const QStringList &symbolNames );
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
|
|
|
selectSymbols select symbols by name
|
|
|
|
\param symbolNames list of symbol names
|
|
|
|
%End
|
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
void deselectSymbols( const QStringList &symbolNames );
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
|
|
|
deselectSymbols deselect symbols by name
|
|
|
|
\param symbolNames list of symbol names
|
|
|
|
%End
|
2015-10-28 17:31:21 +01:00
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
public slots:
|
|
|
|
void doExportImport();
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2015-10-28 17:31:21 +01:00
|
|
|
void selectByGroup();
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
|
|
|
selectByGroup open select by group dialog
|
|
|
|
%End
|
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
void selectAll();
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
|
|
|
selectAll selects all symbols
|
|
|
|
%End
|
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
void clearSelection();
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
|
|
|
clearSelection deselects all symbols
|
|
|
|
%End
|
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
void selectTag( const QString &tagName );
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
|
|
|
Select the symbols belonging to the given tag
|
|
|
|
\param tagName the name of the group to be selected
|
|
|
|
%End
|
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
void deselectTag( const QString &tagName );
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
|
|
|
Deselect the symbols belonging to the given tag
|
|
|
|
\param tagName the name of the group to be deselected
|
|
|
|
%End
|
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
void selectSmartgroup( const QString &groupName );
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
|
|
|
selectSmartgroup selects all symbols from a smart group
|
|
|
|
\param groupName
|
|
|
|
%End
|
|
|
|
|
2017-05-01 18:13:15 +02:00
|
|
|
void deselectSmartgroup( const QString &groupName );
|
2017-06-08 15:30:38 +02:00
|
|
|
%Docstring
|
|
|
|
deselectSmartgroup deselects all symbols from a smart group
|
|
|
|
\param groupName
|
|
|
|
%End
|
2013-06-22 19:37:41 +02:00
|
|
|
|
|
|
|
void importTypeChanged( int );
|
|
|
|
void browse();
|
2017-06-08 15:30:38 +02:00
|
|
|
|
2013-06-22 19:37:41 +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 *
|
|
|
|
************************************************************************/
|