File: plot.h

package info (click to toggle)
libqwt 4.2.0-4.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 9,832 kB
  • ctags: 5,512
  • sloc: cpp: 22,973; ansic: 244; makefile: 66
file content (25 lines) | stat: -rw-r--r-- 465 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <qwt_plot.h>

class ColorBar;
class QSlider;

class Plot: public QwtPlot
{
    Q_OBJECT
public:
    Plot(QWidget *parent = NULL);
    virtual bool eventFilter(QObject *, QEvent *);

public slots:
    void setCanvasColor(const QColor &);
    void insertCurve(int axis, double base);

private slots:
    void sliderMoved(int);

private:
    void insertCurve(Qt::Orientation, const QColor &, double base);

    ColorBar *d_colorBar;
    QSlider *d_slider;
};