Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #2405 from elpaso/symbol-export-select-by-group
Interactive selection by group of exported symbols
- Loading branch information
Showing
with
537 additions
and 0 deletions.
- +1 −0 python/gui/gui.sip
- +41 −0 python/gui/symbology-ng/qgsstylev2exportimportdialog.sip
- +47 −0 python/gui/symbology-ng/qgsstylev2groupselectiondialog.sip
- +2 −0 src/gui/CMakeLists.txt
- +85 −0 src/gui/symbology-ng/qgsstylev2exportimportdialog.cpp
- +44 −0 src/gui/symbology-ng/qgsstylev2exportimportdialog.h
- +165 −0 src/gui/symbology-ng/qgsstylev2groupselectiondialog.cpp
- +64 −0 src/gui/symbology-ng/qgsstylev2groupselectiondialog.h
- +88 −0 src/ui/qgsstylev2groupselectiondialogbase.ui
@@ -0,0 +1,47 @@ | ||
/*************************************************************************** | ||
qgsstylev2groupselectiondialog.h | ||
--------------------- | ||
begin : Oct 2015 | ||
copyright : (C) 2015 by Alessandro Pasotti | ||
email : elpaso at itopen dot it | ||
|
||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
***************************************************************************/ | ||
|
||
|
||
class QgsStyleV2GroupSelectionDialog : public QDialog, private Ui::SymbolsV2GroupSelectionDialogBase | ||
{ | ||
%TypeHeaderCode | ||
#include <qgsstylev2groupselectiondialog.h> | ||
%End | ||
|
||
public: | ||
QgsStyleV2GroupSelectionDialog(QgsStyleV2* style, QWidget *parent = 0); | ||
~QgsStyleV2GroupSelectionDialog(); | ||
//! Set bold font for item | ||
void setBold(QStandardItem *item); | ||
|
||
signals: | ||
//! group with groupName has been selected | ||
void groupSelected( const QString groupName ); | ||
//! group with groupName has been deselected | ||
void groupDeselected( const QString groupName ); | ||
//! smartgroup with groupName has been selected | ||
void smartgroupSelected( const QString groupName); | ||
//! smart group with groupName has been deselected | ||
void smartgroupDeselected( const QString groupName ); | ||
//! all deselected | ||
void allDeselected( ); | ||
//! all selected | ||
void allSelected( ); | ||
|
||
}; | ||
|
||
|
||
|
Oops, something went wrong.