QGIS API Documentation
3.36.0-Maidenhead (09951dc0acf)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Symbols
3
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
Files
File List
File Members
All
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
c
l
s
t
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
src
gui
qgscolorramplegendnodewidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgscolorramplegendnodewidget.h
3
-----------------------
4
begin : December 2020
5
copyright : (C) 2020 by Nyall Dawson
6
email : nyall dot dawson 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 QGSCOLORRAMPLEGENDNODEWIDGET_H
19
#define QGSCOLORRAMPLEGENDNODEWIDGET_H
20
21
22
#include "qgis_gui.h"
23
#include "ui_qgscolorramplegendnodewidgetbase.h"
24
25
#include "
qgscolorramplegendnode.h
"
26
#include <QDialog>
27
28
class
QDialogButtonBox;
29
41
class
GUI_EXPORT
QgsColorRampLegendNodeWidget
:
public
QgsPanelWidget
,
private
Ui::QgsColorRampLegendNodeWidgetBase
42
{
43
Q_OBJECT
44
45
public
:
46
50
QgsColorRampLegendNodeWidget
( QWidget *parent =
nullptr
);
51
57
QgsColorRampLegendNodeSettings
settings()
const
;
58
64
void
setSettings(
const
QgsColorRampLegendNodeSettings
&settings );
65
73
void
setUseContinuousRampCheckBoxVisibility(
bool
visible );
74
75
private
slots:
76
77
void
onChanged();
78
void
changeNumberFormat();
79
void
onOrientationChanged();
80
81
private
:
82
83
bool
mBlockSignals =
false
;
84
QgsColorRampLegendNodeSettings
mSettings;
85
86
};
41
class
GUI_EXPORT
QgsColorRampLegendNodeWidget
:
public
QgsPanelWidget
,
private
Ui::QgsColorRampLegendNodeWidgetBase {
…
};
87
93
class
GUI_EXPORT
QgsColorRampLegendNodeDialog
:
public
QDialog
94
{
95
Q_OBJECT
96
97
public
:
98
102
QgsColorRampLegendNodeDialog
(
const
QgsColorRampLegendNodeSettings
&settings, QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
103
107
QgsColorRampLegendNodeSettings
settings()
const
;
108
112
QDialogButtonBox *buttonBox()
const
;
113
121
void
setUseContinuousRampCheckBoxVisibility(
bool
visible );
122
123
private
:
124
125
QgsColorRampLegendNodeWidget
*mWidget =
nullptr
;
126
QDialogButtonBox *mButtonBox =
nullptr
;
127
128
};
93
class
GUI_EXPORT
QgsColorRampLegendNodeDialog
:
public
QDialog {
…
};
129
130
131
#endif
//QGSCOLORRAMPLEGENDNODEWIDGET_H
132
QgsColorRampLegendNodeDialog
A dialog for configuring a QgsColorRampLegendNode (QgsColorRampLegendNodeSettings).
Definition
qgscolorramplegendnodewidget.h:94
QgsColorRampLegendNodeSettings
Settings for a color ramp legend node.
Definition
qgscolorramplegendnodesettings.h:38
QgsColorRampLegendNodeWidget
A widget for properties relating to a QgsColorRampLegendNode (QgsColorRampLegendNodeSettings).
Definition
qgscolorramplegendnodewidget.h:42
QgsPanelWidget
Base class for any widget that can be shown as a inline panel.
Definition
qgspanelwidget.h:30
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
qgscolorramplegendnode.h
Generated on Mon Feb 26 2024 10:02:44 for QGIS API Documentation by
1.9.8