#include </home/clem/local/src/opie/noncore/unsupported/libopie/oticker.h>
Collaboration diagram for OTicker:

Signals | |
| void | mousePressed () |
| signal mouse press event | |
Public Member Functions | |
| OTicker (QWidget *parent=0) | |
| Object constructor. | |
| ~OTicker () | |
| Object destructor. | |
| void | setText (const QString &text) |
| sets text to be displayed | |
| void | setBackgroundColor (const QColor &color) |
| sets color of the ticker's background | |
| void | setForegroundColor (const QColor &color) |
| sets color of text | |
| void | setFrame (int style) |
| sets frame style | |
| void | setUpdateTime (int timeout) |
| sets time of update | |
| void | setScrollLength (int length) |
| sets amount of scrolling default is 1 | |
Protected Member Functions | |
| void | timerEvent (QTimerEvent *e) |
| timer timeout event | |
| void | drawContents (QPainter *p) |
| draws widget contents | |
| void | mouseReleaseEvent (QMouseEvent *e) |
| mouse release event | |
Private Attributes | |
| QColor | backgroundcolor |
| QColor | foregroundcolor |
| QString | scrollText |
| QPixmap | scrollTextPixmap |
| int | pos |
| int | updateTimerTime |
| int | scrollLength |
Definition at line 51 of file oticker.h.
|
|
Object constructor.
Definition at line 40 of file oticker.cpp. References backgroundcolor, Qt::black, foregroundcolor, Config::readEntry(), Qt::RichText, scrollLength, Config::setGroup(), and updateTimerTime. |
|
|
Object destructor.
Definition at line 52 of file oticker.cpp. |
|
|
draws widget contents
Definition at line 113 of file oticker.cpp. References pos, scrollTextPixmap, width, and Opie::MM::y. |
|
|
signal mouse press event
Referenced by mouseReleaseEvent(). |
|
|
mouse release event
Definition at line 120 of file oticker.cpp. References mousePressed(). |
|
|
sets color of the ticker's background
Definition at line 55 of file oticker.cpp. References backgroundcolor. |
|
|
sets color of text
Definition at line 60 of file oticker.cpp. References foregroundcolor. |
|
|
sets frame style
Definition at line 65 of file oticker.cpp. |
|
|
sets amount of scrolling default is 1
Definition at line 129 of file oticker.cpp. References scrollLength. |
|
|
sets text to be displayed
Definition at line 70 of file oticker.cpp. References backgroundcolor, foregroundcolor, QString::length(), pos, printf, qDebug(), scrollText, scrollTextPixmap, and updateTimerTime. |
|
|
sets time of update
Definition at line 125 of file oticker.cpp. References updateTimerTime. |
|
|
timer timeout event
Definition at line 108 of file oticker.cpp. References FALSE, pos, scrollLength, and scrollTextPixmap. |
|
|
Definition at line 142 of file oticker.h. Referenced by OTicker(), setBackgroundColor(), and setText(). |
|
|
Definition at line 142 of file oticker.h. Referenced by OTicker(), setForegroundColor(), and setText(). |
|
|
Definition at line 145 of file oticker.h. Referenced by drawContents(), setText(), and timerEvent(). |
|
|
Definition at line 145 of file oticker.h. Referenced by OTicker(), setScrollLength(), and timerEvent(). |
|
|
Definition at line 143 of file oticker.h. Referenced by setText(). |
|
|
Definition at line 144 of file oticker.h. Referenced by drawContents(), setText(), and timerEvent(). |
|
|
Definition at line 145 of file oticker.h. Referenced by OTicker(), setText(), and setUpdateTime(). |
1.4.2