4
4
* Copyright 1999 - 2001 Chris Schlaeger <cs@kde.org>
6
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU Library General Public License version 2 as
8
* published by the Free Software Foundation
7
* it under the terms of the GNU Library General Public License as
8
* published by the Free Software Foundation; either version 2, or
9
* (at your option) any later version.
10
12
* This program is distributed in the hope that it will be useful,
11
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
34
37
class PLASMA_EXPORT SignalPlotter : public Widget
40
Q_PROPERTY( QString title READ title WRITE setTitle )
41
Q_PROPERTY( QString unit READ unit WRITE setUnit )
42
Q_PROPERTY( qreal scale READ scaledBy WRITE scale ) // Note: The naming of the functions here is poor
43
Q_PROPERTY( bool useAutoRange READ useAutoRange WRITE setUseAutoRange )
44
Q_PROPERTY( uint horizontalScale READ horizontalScale WRITE setHorizontalScale )
45
Q_PROPERTY( bool showVerticalLines READ showVerticalLines WRITE setShowVerticalLines )
46
Q_PROPERTY( QColor verticalLinesColor READ verticalLinesColor WRITE setVerticalLinesColor )
47
Q_PROPERTY( uint verticalLinesDistance READ verticalLinesDistance WRITE setVerticalLinesDistance )
48
Q_PROPERTY( bool verticalLinesScroll READ verticalLinesScroll WRITE setVerticalLinesScroll )
49
Q_PROPERTY( bool showHorizontalLines READ showHorizontalLines WRITE setShowHorizontalLines )
50
Q_PROPERTY( QColor horizontalLinesColor READ horizontalLinesColor WRITE setHorizontalLinesColor )
51
Q_PROPERTY( QColor fontColor READ fontColor WRITE setFontColor )
52
Q_PROPERTY( QFont font READ font WRITE setFont )
53
Q_PROPERTY( uint horizontalLinesCount READ horizontalLinesCount WRITE setHorizontalLinesCount )
54
Q_PROPERTY( bool showLabels READ showLabels WRITE setShowLabels )
55
Q_PROPERTY( bool showTopBar READ showTopBar WRITE setShowTopBar )
56
Q_PROPERTY( QColor backgroundColor READ backgroundColor WRITE setBackgroundColor )
57
Q_PROPERTY( QString svgBackground READ svgBackground WRITE setSvgBackground )
58
Q_PROPERTY( bool thinFrame WRITE setThinFrame )
59
Q_PROPERTY( bool stackPlots READ stackPlots WRITE setStackPlots )
38
62
SignalPlotter(Widget *parent = 0);