Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qwt
src
qwt_plot_seriesitem.h
Go to the documentation of this file.
1
/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
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_scale_div.h
"
16
#include "
qwt_series_data.h
"
17
#include "
qwt_series_store.h
"
18
22
class
QWT_EXPORT
QwtPlotSeriesItem
:
public
QwtPlotItem
,
23
public
virtual
QwtAbstractSeriesStore
24
{
25
public
:
26
explicit
QwtPlotSeriesItem
(
const
QString &title = QString() );
27
explicit
QwtPlotSeriesItem
(
const
QwtText
&title );
28
29
virtual
~
QwtPlotSeriesItem
();
30
31
void
setOrientation( Qt::Orientation );
32
Qt::Orientation orientation()
const
;
33
34
virtual
void
draw
( QPainter *p,
35
const
QwtScaleMap
&xMap,
const
QwtScaleMap
&yMap,
36
const
QRectF & )
const
;
37
49
virtual
void
drawSeries( QPainter *painter,
50
const
QwtScaleMap
&xMap,
const
QwtScaleMap
&yMap,
51
const
QRectF &canvasRect,
int
from
,
int
to
)
const
= 0;
52
53
virtual
QRectF
boundingRect
()
const
;
54
55
virtual
void
updateScaleDiv
(
56
const
QwtScaleDiv
&,
const
QwtScaleDiv
& );
57
58
protected
:
59
virtual
void
dataChanged
();
60
61
private
:
62
class
PrivateData
;
63
PrivateData
*
d_data
;
64
};
65
66
#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_series_data.h
QWT_EXPORT
#define QWT_EXPORT
Definition:
qwt_global.h:38
QwtScaleDiv
A class representing a scale division.
Definition:
qwt_scale_div.h:36
QwtAbstractSeriesStore::dataChanged
virtual void dataChanged()=0
dataChanged() indicates, that the series has been changed.
qwt_global.h
to
size_t to
QwtText
A class representing a text.
Definition:
qwt_text.h:51
QwtAbstractSeriesStore
Bridge between QwtSeriesStore and QwtPlotSeriesItem.
Definition:
qwt_series_store.h:24
QwtPlotSeriesItem::d_data
PrivateData * d_data
Definition:
qwt_plot_seriesitem.h:62
QwtScaleMap
A scale map.
Definition:
qwt_scale_map.h:30
qwt_series_store.h
QwtPlotSeriesItem::PrivateData
Definition:
qwt_plot_seriesitem.cpp:12
QwtPlotItem::updateScaleDiv
virtual void updateScaleDiv(const QwtScaleDiv &, const QwtScaleDiv &)
Update the item to changes of the axes scale division.
Definition:
qwt_plot_item.cpp:636
QwtPlotSeriesItem
Base class for plot items representing a series of samples.
Definition:
qwt_plot_seriesitem.h:22
QwtPlotItem
Base class for items on the plot canvas.
Definition:
qwt_plot_item.h:64
qwt_scale_div.h
from
size_t from
QwtPlotItem::boundingRect
virtual QRectF boundingRect() const
Definition:
qwt_plot_item.cpp:537
plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:17