~showard314/ubuntu/natty/qtiplot/Python2.7_fix

« back to all changes in this revision

Viewing changes to 3rdparty/qwt/examples/dials/cockpit_grid.h

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2008-04-04 15:11:55 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080404151155-rjp12ziov4tryj0o
Tags: 0.9.4-1
* New upstream release.
* Refresh patches.
* Remove 04_homepage_url patch. Merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <qframe.h>
 
2
#include <qpalette.h>
 
3
 
 
4
class QwtDial;
 
5
class QwtAnalogClock;
 
6
class SpeedoMeter;
 
7
class AttitudeIndicator;
 
8
 
 
9
class CockpitGrid: public QFrame
 
10
{
 
11
    Q_OBJECT
 
12
 
 
13
public:
 
14
    CockpitGrid(QWidget *parent = NULL);
 
15
 
 
16
private slots:
 
17
    void changeSpeed();
 
18
    void changeGradient();
 
19
    void changeAngle();
 
20
 
 
21
private:
 
22
    QPalette colorTheme(const QColor &) const;
 
23
    QwtDial *createDial(int pos);
 
24
 
 
25
    QwtAnalogClock *d_clock;
 
26
    SpeedoMeter *d_speedo;
 
27
    AttitudeIndicator *d_ai;
 
28
};