summaryrefslogtreecommitdiff
path: root/libqtaux/oticker.h
Unidiff
Diffstat (limited to 'libqtaux/oticker.h') (more/less context) (show whitespace changes)
-rw-r--r--libqtaux/oticker.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libqtaux/oticker.h b/libqtaux/oticker.h
index 4026eb5..a89d334 100644
--- a/libqtaux/oticker.h
+++ b/libqtaux/oticker.h
@@ -32,24 +32,27 @@
32#define OTICKER_H 32#define OTICKER_H
33 33
34#include <qwidget.h> 34#include <qwidget.h>
35#include <qpainter.h> 35#include <qpainter.h>
36#include <qdrawutil.h> 36#include <qdrawutil.h>
37#include <qpixmap.h> 37#include <qpixmap.h>
38#include <qstring.h> 38#include <qstring.h>
39#include <qslider.h> 39#include <qslider.h>
40#include <qlabel.h> 40#include <qlabel.h>
41#include <qframe.h> 41#include <qframe.h>
42#include <qcolor.h> 42#include <qcolor.h>
43 43
44
45namespace Opie {
46namespace Ui {
44/** 47/**
45 * @class OTicker 48 * @class OTicker
46 * @brief The OTicker class provides a QLabel widget that scroll its contents 49 * @brief The OTicker class provides a QLabel widget that scroll its contents
47 * 50 *
48 */ 51 */
49class OTicker : public QLabel { 52class OTicker : public QLabel {
50 Q_OBJECT 53 Q_OBJECT
51 54
52public: 55public:
53 56
54/*! 57/*!
55 * @fn OTicker( QWidget* parent = 0 ) 58 * @fn OTicker( QWidget* parent = 0 )
@@ -134,13 +137,15 @@ protected:
134 * @brief mouse release event 137 * @brief mouse release event
135 * @param e QMouseEvent. see QMouseEvent. 138 * @param e QMouseEvent. see QMouseEvent.
136 * 139 *
137 */ 140 */
138 void mouseReleaseEvent( QMouseEvent *e); 141 void mouseReleaseEvent( QMouseEvent *e);
139private: 142private:
140 QColor backgroundcolor, foregroundcolor; 143 QColor backgroundcolor, foregroundcolor;
141 QString scrollText; 144 QString scrollText;
142 QPixmap scrollTextPixmap; 145 QPixmap scrollTextPixmap;
143 int pos, updateTimerTime, scrollLength; 146 int pos, updateTimerTime, scrollLength;
144}; 147};
145 148
149}
150}
146#endif 151#endif