#include </home/clem/local/src/opie/libqtaux/oticker.h>
Collaboration diagram for Opie::Ui::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 53 of file oticker.h.
|
|
Object constructor.
Definition at line 42 of file oticker.cpp. References backgroundcolor, Qt::black, foregroundcolor, Config::readEntry(), Qt::RichText, scrollLength, Config::setGroup(), and updateTimerTime. |
|
|
Object destructor.
Definition at line 54 of file oticker.cpp. |
|
|
draws widget contents
Definition at line 120 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 128 of file oticker.cpp. References mousePressed(). |
|
|
sets color of the ticker's background
Definition at line 57 of file oticker.cpp. References backgroundcolor. |
|
|
sets color of text
Definition at line 63 of file oticker.cpp. References foregroundcolor. |
|
|
sets frame style
Definition at line 69 of file oticker.cpp. |
|
|
sets amount of scrolling default is 1
Definition at line 139 of file oticker.cpp. References scrollLength. Referenced by StockTickerPluginWidget::doStocks(). |
|
|
sets text to be displayed
Definition at line 75 of file oticker.cpp. References backgroundcolor, foregroundcolor, QString::length(), odebug, oendl, pos, scrollText, scrollTextPixmap, and updateTimerTime. Referenced by FortunePluginWidget::getFortune(), getStocks(), AudioWidget::setTickerText(), FortunePluginWidget::slotStdOut(), and StockTickerPluginWidget::socketError(). |
|
|
sets time of update
Definition at line 134 of file oticker.cpp. References updateTimerTime. Referenced by StockTickerPluginWidget::doStocks(). |
|
|
timer timeout event
Definition at line 114 of file oticker.cpp. References FALSE, pos, scrollLength, and scrollTextPixmap. |
|
|
Definition at line 144 of file oticker.h. Referenced by OTicker(), setBackgroundColor(), and setText(). |
|
|
Definition at line 144 of file oticker.h. Referenced by OTicker(), setForegroundColor(), and setText(). |
|
|
Definition at line 147 of file oticker.h. Referenced by drawContents(), setText(), and timerEvent(). |
|
|
Definition at line 147 of file oticker.h. Referenced by OTicker(), setScrollLength(), and timerEvent(). |
|
|
Definition at line 145 of file oticker.h. Referenced by setText(). |
|
|
Definition at line 146 of file oticker.h. Referenced by drawContents(), setText(), and timerEvent(). |
|
|
Definition at line 147 of file oticker.h. Referenced by OTicker(), setText(), and setUpdateTime(). |
1.4.2