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

« back to all changes in this revision

Viewing changes to qwt-5.0.1/examples/dials/cockpit_grid.h

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2007-10-05 15:20:41 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071005152041-qmybqh4fj9jejyo2
Tags: 5.0.2-2
* Handle nostrip build option. (Closes: #437877)
* Build libqwt5-doc package in binary-indep target. (Closes: #443110)

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
 
};