QGIS/python/gui/symbology-ng/qgsstylegroupselectiondialog.sip
nirvn 5e487cfea4 [FEATURE] Style management re-work and upgrade
- A new favorite grouping system was added, which the symbols list
widget defaults to
- The selected tag / smartgroup in the symbols list widget now
persists when switching layers (and across sessions)
- The symbols list widget will update the tag / smartgroup combo
box when users add / rename / remove categories
- Users can now directly tag, as well as add to favorites, symbols
while saving those to the style database
- To streamline style management, groups have been removed and
fully replaced by tags
- Tags have been integrated into the import/export user interface
2016-11-16 14:12:19 +07:00

46 lines
1.7 KiB
Plaintext

/***************************************************************************
qgsstylegroupselectiondialog.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 QgsStyleGroupSelectionDialog : public QDialog, private Ui::SymbolsGroupSelectionDialogBase
{
%TypeHeaderCode
#include <qgsstylegroupselectiondialog.h>
%End
public:
QgsStyleGroupSelectionDialog( QgsStyle* style, QWidget *parent = 0 );
~QgsStyleGroupSelectionDialog();
//! Set bold font for item
void setBold( QStandardItem *item );
signals:
//! tag with tagName has been selected
void tagSelected( const QString& tagName );
//! tag with tagName has been deselected
void tagDeselected( const QString& tagName );
//! 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();
};