QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
symbology
qgsstylegroupselectiondialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsstylegroupselectiondialog.h
3
---------------------
4
begin : Oct 2015
5
copyright : (C) 2015 by Alessandro Pasotti
6
email : elpaso at itopen dot it
7
8
***************************************************************************
9
* *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
14
* *
15
***************************************************************************/
16
17
#ifndef QGSSTYLEV2GROUPSELECTIONDIALOG_H
18
#define QGSSTYLEV2GROUPSELECTIONDIALOG_H
19
20
#include "ui_qgsstylegroupselectiondialogbase.h"
21
22
#include "qgis_gui.h"
23
24
#include <QDialog>
25
#include <QStandardItem>
26
27
class
QgsStyle
;
28
34
class
GUI_EXPORT
QgsStyleGroupSelectionDialog
:
public
QDialog,
private
Ui::SymbolsGroupSelectionDialogBase
35
{
36
Q_OBJECT
37
38
public
:
39
QgsStyleGroupSelectionDialog
(
QgsStyle
*style, QWidget *parent =
nullptr
);
41
void
setBold
( QStandardItem *item );
42
43
signals:
45
void
tagSelected
(
const
QString &tagName );
47
void
tagDeselected
(
const
QString &tagName );
49
void
smartgroupSelected
(
const
QString &groupName );
51
void
smartgroupDeselected
(
const
QString &groupName );
53
void
allDeselected
();
55
void
allSelected
();
56
61
void
favoritesDeselected
();
62
67
void
favoritesSelected
();
68
69
private
slots:
70
void
groupTreeSelectionChanged(
const
QItemSelection &selected,
const
QItemSelection &deselected );
71
72
private
:
77
void
buildTagTree( QStandardItem *&parent );
78
QgsStyle
*mStyle =
nullptr
;
79
};
80
81
#endif
// QGSSTYLEV2GROUPSELECTIONDIALOG_H
QgsStyleGroupSelectionDialog::favoritesDeselected
void favoritesDeselected()
Favorites has been deselected.
QgsStyleGroupSelectionDialog::allDeselected
void allDeselected()
all deselected
QgsStyleGroupSelectionDialog::tagSelected
void tagSelected(const QString &tagName)
tag with tagName has been selected
QgsStyleGroupSelectionDialog::QgsStyleGroupSelectionDialog
QgsStyleGroupSelectionDialog(QgsStyle *style, QWidget *parent=nullptr)
Definition
qgsstylegroupselectiondialog.cpp:31
QgsStyleGroupSelectionDialog::setBold
void setBold(QStandardItem *item)
Sets bold font for item.
Definition
qgsstylegroupselectiondialog.cpp:90
QgsStyleGroupSelectionDialog::tagDeselected
void tagDeselected(const QString &tagName)
tag with tagName has been deselected
QgsStyleGroupSelectionDialog::smartgroupDeselected
void smartgroupDeselected(const QString &groupName)
smart group with groupName has been deselected
QgsStyleGroupSelectionDialog::favoritesSelected
void favoritesSelected()
Favorites has need selected.
QgsStyleGroupSelectionDialog::smartgroupSelected
void smartgroupSelected(const QString &groupName)
smartgroup with groupName has been selected
QgsStyleGroupSelectionDialog::allSelected
void allSelected()
all selected
QgsStyle
A database of saved style entities, including symbols, color ramps, text formats and others.
Definition
qgsstyle.h:91
Generated on
for QGIS API Documentation by
1.17.0