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_plot_seriesitem.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_PLOT_SERIES_ITEM_H
11
#define QWT_PLOT_SERIES_ITEM_H
12
13
#include "
qwt_global.h
"
14
#include "
qwt_plot_item.h
"
15
#include "
qwt_series_store.h
"
16
17
#include <qstring.h>
18
19
class
QwtScaleDiv
;
20
24
class
QWT_EXPORT
QwtPlotSeriesItem
:
public
QwtPlotItem
,
25
public
virtual
QwtAbstractSeriesStore
26
{
27
public
:
28
explicit
QwtPlotSeriesItem
(
const
QString& title = QString() );
29
explicit
QwtPlotSeriesItem
(
const
QwtText
& title );
30
31
virtual
~
QwtPlotSeriesItem
();
32
33
void
setOrientation( Qt::Orientation );
34
Qt::Orientation orientation()
const
;
35
36
virtual
void
draw
( QPainter*,
37
const
QwtScaleMap
& xMap,
const
QwtScaleMap
& yMap,
38
const
QRectF& canvasRect )
const
QWT_OVERRIDE
;
39
51
virtual
void
drawSeries( QPainter* painter,
52
const
QwtScaleMap
& xMap,
const
QwtScaleMap
& yMap,
53
const
QRectF& canvasRect,
int
from,
int
to )
const
= 0;
54
55
virtual
QRectF
boundingRect
()
const
QWT_OVERRIDE
;
56
57
virtual
void
updateScaleDiv
(
58
const
QwtScaleDiv
&,
const
QwtScaleDiv
& )
QWT_OVERRIDE
;
59
60
protected
:
61
virtual
void
dataChanged
()
QWT_OVERRIDE
;
62
63
private
:
64
class
PrivateData
;
65
PrivateData
*
m_data
;
66
};
67
68
#endif
qwt_plot_item.h
QwtPlotItem::draw
virtual void draw(QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const =0
Draw the item.
QWT_EXPORT
#define QWT_EXPORT
Definition:
qwt_global.h:38
QwtPlotSeriesItem::m_data
PrivateData * m_data
Definition:
qwt_plot_seriesitem.h:64
QwtScaleDiv
A class representing a scale division.
Definition:
qwt_scale_div.h:33
QwtPlotItem::boundingRect
virtual QRectF boundingRect() const
Definition:
qwt_plot_item.cpp:568
QwtAbstractSeriesStore::dataChanged
virtual void dataChanged()=0
dataChanged() indicates, that the series has been changed.
qwt_global.h
QwtText
A class representing a text.
Definition:
qwt_text.h:51
QwtAbstractSeriesStore
Bridge between QwtSeriesStore and QwtPlotSeriesItem.
Definition:
qwt_series_store.h:24
QwtScaleMap
A scale map.
Definition:
qwt_scale_map.h:26
qwt_series_store.h
QwtPlotSeriesItem::PrivateData
Definition:
qwt_plot_seriesitem.cpp:14
QwtPlotItem::updateScaleDiv
virtual void updateScaleDiv(const QwtScaleDiv &, const QwtScaleDiv &)
Update the item to changes of the axes scale division.
Definition:
qwt_plot_item.cpp:665
QwtPlotSeriesItem
Base class for plot items representing a series of samples.
Definition:
qwt_plot_seriesitem.h:24
QwtPlotItem
Base class for items on the plot canvas.
Definition:
qwt_plot_item.h:66
QWT_OVERRIDE
#define QWT_OVERRIDE
Definition:
qwt_global.h:53
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:01:38