~l3on/ubuntu/oneiric/qwt/fix-921430

« back to all changes in this revision

Viewing changes to qwt-5.0.2/examples/dials/speedo_meter.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 <qstring.h>
 
2
#include <qwt_dial.h>
 
3
 
 
4
class SpeedoMeter: public QwtDial
 
5
{
 
6
public:
 
7
    SpeedoMeter(QWidget *parent = NULL);
 
8
 
 
9
    void setLabel(const QString &);
 
10
    QString label() const;
 
11
 
 
12
protected:
 
13
    virtual void drawScaleContents(QPainter *painter,
 
14
        const QPoint &center, int radius) const;
 
15
 
 
16
private:
 
17
    QString d_label;
 
18
};