Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
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
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Enumerations
a
b
c
d
e
g
i
l
m
o
p
r
s
t
v
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
x
y
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
:
_
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
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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
w
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Properties
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Related Functions
:
a
b
c
d
e
f
g
i
m
o
q
r
s
v
w
+
Files
File List
+
File Members
+
All
_
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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
z
+
Enumerations
a
b
c
d
e
f
h
i
k
l
n
o
r
t
u
v
x
+
Enumerator
b
c
d
e
f
h
i
k
l
m
n
o
p
r
t
u
v
w
x
+
Macros
_
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
3rdparty
qwt
src
qwt_compass.h
Go to the documentation of this file.
1
/******************************************************************************
2
* Qwt Widget Library
3
* Copyright (C) 1997 Josef Wilgen
4
* Copyright (C) 2002 Uwe Rathmann
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the Qwt License, Version 1.0
8
*****************************************************************************/
9
10
#ifndef QWT_COMPASS_H
11
#define QWT_COMPASS_H
12
13
#include "
qwt_global.h
"
14
#include "
qwt_dial.h
"
15
#include "
qwt_round_scale_draw.h
"
16
17
class
QwtCompassRose
;
18
class
QString;
19
template
<
class
Key,
class
T >
class
QMap
;
20
21
32
class
QWT_EXPORT
QwtCompassScaleDraw
:
public
QwtRoundScaleDraw
33
{
34
public
:
35
explicit
QwtCompassScaleDraw
();
36
explicit
QwtCompassScaleDraw
(
const
QMap< double, QString >
& map );
37
38
virtual
~
QwtCompassScaleDraw
();
39
40
void
setLabelMap(
const
QMap< double, QString >
& map );
41
QMap< double, QString >
labelMap()
const
;
42
43
virtual
QwtText
label
(
double
value
)
const
QWT_OVERRIDE
;
44
45
private
:
46
class
PrivateData
;
47
PrivateData
*
m_data
;
48
};
49
61
class
QWT_EXPORT
QwtCompass
:
public
QwtDial
62
{
63
Q_OBJECT
64
65
public
:
66
explicit
QwtCompass
( QWidget* parent = NULL );
67
virtual
~
QwtCompass
();
68
69
void
setRose(
QwtCompassRose
* rose );
70
const
QwtCompassRose
* rose()
const
;
71
QwtCompassRose
* rose();
72
73
protected
:
74
virtual
void
drawRose( QPainter*,
const
QPointF&
center
,
75
double
radius,
double
north, QPalette::ColorGroup )
const
;
76
77
virtual
void
drawScaleContents
( QPainter*,
78
const
QPointF& center,
double
radius )
const
QWT_OVERRIDE
;
79
80
virtual
void
keyPressEvent
( QKeyEvent* )
QWT_OVERRIDE
;
81
82
private
:
83
class
PrivateData
;
84
PrivateData
*
m_data
;
85
};
86
87
#endif
qwt_dial.h
QWT_EXPORT
#define QWT_EXPORT
Definition:
qwt_global.h:38
QwtAbstractSlider::keyPressEvent
virtual void keyPressEvent(QKeyEvent *) QWT_OVERRIDE
Definition:
qwt_abstract_slider.cpp:370
QwtCompassScaleDraw::PrivateData
Definition:
qwt_compass.cpp:17
QwtCompass::m_data
PrivateData * m_data
Definition:
qwt_compass.h:83
QwtCompass::PrivateData
Definition:
qwt_compass.cpp:133
QwtDial
QwtDial class provides a rounded range control.
Definition:
qwt_dial.h:50
qwt_global.h
QwtAbstractScaleDraw::label
virtual QwtText label(double) const
Convert a value into its representing label.
Definition:
qwt_abstract_scale_draw.cpp:375
QwtCompass
A Compass Widget.
Definition:
qwt_compass.h:61
QwtText
A class representing a text.
Definition:
qwt_text.h:51
QwtCompassRose
Abstract base class for a compass rose.
Definition:
qwt_compass_rose.h:21
QwtDial::drawScaleContents
virtual void drawScaleContents(QPainter *painter, const QPointF ¢er, double radius) const
Definition:
qwt_dial.cpp:506
QwtCompassScaleDraw
A special scale draw made for QwtCompass.
Definition:
qwt_compass.h:32
QwtRoundScaleDraw
A class for drawing round scales.
Definition:
qwt_round_scale_draw.h:31
align::center
Definition:
core.h:1870
value
Definition:
core.h:1131
QwtCompassScaleDraw::m_data
PrivateData * m_data
Definition:
qwt_compass.h:46
qwt_round_scale_draw.h
QMap
Definition:
qwt_compass.h:19
QWT_OVERRIDE
#define QWT_OVERRIDE
Definition:
qwt_global.h:53
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:01:38