QGIS API Documentation
3.43.0-Master (b60ef06885e)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
l
m
n
o
p
q
r
s
t
w
Functions
a
b
c
d
f
g
h
i
l
m
n
o
p
r
s
t
w
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
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
z
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
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
e
f
g
h
i
l
n
o
p
q
r
s
t
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
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
y
Loading...
Searching...
No Matches
src
gui
qgsdial.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsdial.h
3
-------------------
4
begin : July 2013
5
copyright : (C) 2013 by Daniel Vaz
6
email : danielvaz 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 QGSDIAL_H
19
#define QGSDIAL_H
20
21
#include <QDial>
22
#include <QVariant>
23
#include "qgis_gui.h"
24
#include "
qgis_sip.h
"
25
26
class
QPaintEvent;
27
33
class
GUI_EXPORT
QgsDial
:
public
QDial
34
{
35
Q_OBJECT
36
public
:
41
QgsDial
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
42
43
void
setMinimum(
const
QVariant &min );
44
void
setMaximum(
const
QVariant &max );
45
void
setSingleStep(
const
QVariant &step );
46
void
setValue(
const
QVariant &value );
47
QVariant variantValue()
const
;
48
49
signals:
50
void
valueChanged
(
const
QVariant & );
51
52
private
slots:
53
void
onValueChanged(
int
);
54
55
protected
:
56
void
paintEvent( QPaintEvent *event )
override
;
57
58
private
:
59
void
update();
60
61
QVariant mMin, mMax, mStep, mValue;
62
};
33
class
GUI_EXPORT
QgsDial
:
public
QDial {
…
};
63
64
#endif
// QGSDIAL_H
QgsDial
A QDial subclass with additional refinements.
Definition
qgsdial.h:34
QgsDial::valueChanged
void valueChanged(const QVariant &)
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
Generated on Sun Apr 6 2025 18:57:15 for QGIS API Documentation by
1.9.8