QGIS API Documentation
3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
src
gui
symbology
qgsstylesavedialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgssymbolsavedialog.h
3
-------------------------------------
4
begin : November 2016
5
copyright : (C) 2016 by Mathieu Pellerin
6
email : nirvn dot asia at gmail dot com
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSSTYLESAVEDIALOG_H
19
#define QGSSTYLESAVEDIALOG_H
20
21
#include <QDialog>
22
#include "ui_qgsstylesavedialog.h"
23
24
#include "
qgsstyle.h
"
25
#include "qgis_gui.h"
26
#include "
qgis_sip.h
"
27
32
class
GUI_EXPORT
QgsStyleSaveDialog
:
public
QDialog,
private
Ui::QgsStyleSaveDialog
33
{
34
Q_OBJECT
35
36
public
:
37
43
QgsStyleSaveDialog
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
,
QgsStyle::StyleEntity
type =
QgsStyle::SymbolEntity
);
44
48
QString name()
const
;
49
55
void
setDefaultTags(
const
QString &tags );
56
60
QString tags()
const
;
61
65
bool
isFavorite()
const
;
66
71
QgsStyle::StyleEntity
selectedType()
const
;
72
78
QgsStyle
*destinationStyle();
79
80
private
:
81
82
QgsStyle::StyleEntity
mType =
QgsStyle::SymbolEntity
;
83
84
};
85
86
#endif
// QGSSTYLESAVEDIALOG_H
QgsStyleSaveDialog
a dialog for setting properties of a newly saved style.
Definition
qgsstylesavedialog.h:33
QgsStyle
Definition
qgsstyle.h:87
QgsStyle::StyleEntity
StyleEntity
Enum for Entities involved in a style.
Definition
qgsstyle.h:203
QgsStyle::SymbolEntity
@ SymbolEntity
Symbols.
Definition
qgsstyle.h:204
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
qgsstyle.h
Generated on Tue Nov 19 2024 18:20:01 for QGIS API Documentation by
1.9.8