QGIS API Documentation
2.14.0-Essen
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
gui
symbology-ng
qgsstylev2groupselectiondialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsstylev2groupselectiondialog.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 <QDialog>
21
#include <QStandardItem>
22
#include "ui_qgsstylev2groupselectiondialogbase.h"
23
24
25
class
QgsStyleV2
;
26
27
class
GUI_EXPORT
QgsStyleV2GroupSelectionDialog
:
public
QDialog
,
private
Ui::SymbolsV2GroupSelectionDialogBase
28
{
29
Q_OBJECT
30
31
public
:
32
QgsStyleV2GroupSelectionDialog
(
QgsStyleV2
* style,
QWidget
*parent =
nullptr
);
33
~
QgsStyleV2GroupSelectionDialog
();
35
void
setBold(
QStandardItem
*item );
36
37
signals:
39
void
groupSelected(
const
QString
& groupName );
41
void
groupDeselected(
const
QString
& groupName );
43
void
smartgroupSelected(
const
QString
& groupName );
45
void
smartgroupDeselected(
const
QString
& groupName );
47
void
allDeselected();
49
void
allSelected();
50
51
private
slots:
52
void
groupTreeSelectionChanged(
const
QItemSelection
& selected,
const
QItemSelection
& deselected );
53
54
private
:
59
void
buildGroupTree(
QStandardItem
*&parent );
60
QgsStyleV2
* mStyle;
61
62
};
63
64
#endif // QGSSTYLEV2GROUPSELECTIONDIALOG_H
QWidget
QgsStyleV2GroupSelectionDialog
Definition:
qgsstylev2groupselectiondialog.h:27
QString
QItemSelection
QgsStyleV2
Definition:
qgsstylev2.h:66
QDialog
QStandardItem
Generated on Sat Feb 27 2016 18:33:25 for QGIS API Documentation by
1.8.11