3rdparty
qwt
src
qwt_abstract_legend.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_ABSTRACT_LEGEND_H
11
#define QWT_ABSTRACT_LEGEND_H
12
13
#include "
qwt_global.h
"
14
#include <qframe.h>
15
16
class
QwtLegendData
;
17
template
<
typename
T >
class
QList
;
18
class
QVariant;
19
34
class
QWT_EXPORT
QwtAbstractLegend
:
public
QFrame
35
{
36
Q_OBJECT
37
38
public
:
39
explicit
QwtAbstractLegend
( QWidget* parent = NULL );
40
virtual
~
QwtAbstractLegend
();
41
51
virtual
void
renderLegend( QPainter* painter,
52
const
QRectF& rect,
bool
fillBackground )
const
= 0;
53
55
virtual
bool
isEmpty()
const
= 0;
56
57
virtual
int
scrollExtent( Qt::Orientation )
const
;
58
59
public
Q_SLOTS:
60
67
virtual
void
updateLegend(
const
QVariant& itemInfo,
68
const
QList< QwtLegendData >
&
data
) = 0;
69
};
70
71
#endif
QwtLegendData
Attributes of an entry on a legend.
Definition:
qwt_legend_data.h:36
QwtAbstractLegend
Abstract base class for legend widgets.
Definition:
qwt_abstract_legend.h:34
qwt_global.h
QList
Definition:
qwt_abstract_legend.h:17
QWT_EXPORT
#define QWT_EXPORT
Definition:
qwt_global.h:38
mqtt_test.data
dictionary data
Definition:
mqtt_test.py:22
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45