]> Shamusworld >> Repos - architektonas/blob - src/widgets/qg_scrollbar.h
Initial import
[architektonas] / src / widgets / qg_scrollbar.h
1 #ifndef QG_SCROLLBAR_H
2 #define QG_SCROLLBAR_H
3
4 #include <QtGui>
5
6 /**
7  * A small wrapper for the Qt scrollbar. This class offers a slot
8  * for scroll events.
9  */
10 class QG_ScrollBar: public QScrollBar
11 {
12         Q_OBJECT
13
14         public:
15                 QG_ScrollBar(QWidget * parent = 0, const char * name = 0);
16                 QG_ScrollBar(Qt::Orientation orientation, QWidget * parent = 0, const char * name = 0);
17
18         public slots:
19                 void slotWheelEvent(QWheelEvent * e);
20 };
21
22 #endif