Mercurial > hg > easaier-soundaccess
comparison widgets/Slider.h @ 83:76d4fbab5f20
replace the QDial by sliders
author | lbajardsilogic |
---|---|
date | Fri, 22 Jun 2007 12:49:50 +0000 |
parents | |
children | fa034c6ae8bf |
comparison
equal
deleted
inserted
replaced
82:8ebc85f6ce4e | 83:76d4fbab5f20 |
---|---|
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ | |
2 | |
3 /* Sound Access | |
4 EASAIER client application. | |
5 Silogic 2007. Laure Bajard. | |
6 | |
7 This program is free software; you can redistribute it and/or | |
8 modify it under the terms of the GNU General Public License as | |
9 published by the Free Software Foundation; either version 2 of the | |
10 License, or (at your option) any later version. See the file | |
11 COPYING included with this distribution for more information. | |
12 */ | |
13 | |
14 #ifndef _SLIDER_H_ | |
15 #define _SLIDER_H_ | |
16 | |
17 #include <QSlider> | |
18 | |
19 class Slider : public QSlider | |
20 { | |
21 Q_OBJECT | |
22 public: | |
23 | |
24 Slider(QWidget *parent = 0) : | |
25 QSlider(parent) { } | |
26 | |
27 Slider(Qt::Orientation orientation, QWidget * parent = 0) : | |
28 QSlider(orientation, parent) { } | |
29 | |
30 virtual ~Slider(); | |
31 | |
32 signals: | |
33 void mouseEntered(); | |
34 void mouseLeft(); | |
35 | |
36 protected: | |
37 virtual void enterEvent(QEvent *); | |
38 virtual void leaveEvent(QEvent *); | |
39 }; | |
40 | |
41 #endif |