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

« back to all changes in this revision

Viewing changes to qwt-5.0.1/examples/sliders/sliders.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 <qwidget.h>
2
 
#include <qwt_slider.h>
3
 
 
4
 
class QLabel;
5
 
class QLayout;
6
 
 
7
 
class Slider: public QWidget
8
 
{
9
 
    Q_OBJECT
10
 
public:
11
 
    Slider(QWidget *parent, int sliderType);
12
 
 
13
 
private slots:
14
 
    void setNum(double v);
15
 
 
16
 
private:
17
 
    QwtSlider *createSlider(QWidget *, int sliderType) const;
18
 
 
19
 
    QwtSlider *d_slider;
20
 
    QLabel *d_label;
21
 
};
22
 
 
23
 
class SliderDemo : public QWidget
24
 
{
25
 
public:
26
 
    SliderDemo(QWidget *p = NULL);
27
 
};