~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.1.0/examples/event_filter/plot.h

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2008-05-26 10:26:31 UTC
  • mfrom: (1.1.3 upstream) (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080526102631-bp95mfccnrb957nx
Tags: 5.1.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include <qwt_plot.h>
2
 
 
3
 
class ColorBar;
4
 
class QwtWheel;
5
 
 
6
 
class Plot: public QwtPlot
7
 
{
8
 
    Q_OBJECT
9
 
public:
10
 
    Plot(QWidget *parent = NULL);
11
 
    virtual bool eventFilter(QObject *, QEvent *);
12
 
 
13
 
public slots:
14
 
    void setCanvasColor(const QColor &);
15
 
    void insertCurve(int axis, double base);
16
 
 
17
 
private slots:
18
 
    void scrollLeftAxis(double);
19
 
 
20
 
private:
21
 
    void insertCurve(Qt::Orientation, const QColor &, double base);
22
 
 
23
 
    ColorBar *d_colorBar;
24
 
    QwtWheel *d_wheel;
25
 
};