#include <wsystray.h>
Public Slots | |
void | setNumber (int n) |
void | setText (const QString &text) |
void | drawFlash () |
void | drawSave () |
void | drawSend () |
void | drawPixmap (const QPixmap &pic) |
void | drawImage (const QImage &image) |
void | blendOverlay (const QPixmap &overlay, const QPixmap &sourcePixmap) |
void | resetIcon () |
void | disableMenues () |
void | enableMenues () |
Public Member Functions | |
WSysTray (QWidget *parent=0, const char *name=0) | |
~WSysTray () |
It adds the functionality of drawing text or pixmaps over the tray icon's pixmap.
Definition at line 45 of file wsystray.h.
|
Default constructor.
Definition at line 45 of file wsystray.cpp. |
|
Default destructor. Definition at line 78 of file wsystray.cpp. |
|
Blend an overlay icon over sourcePixmap and repaint trayIcon
Definition at line 156 of file wsystray.cpp. Referenced by drawPixmap(). |
|
Disables the Start, and Config menu items, and enables the Stop menu item. Definition at line 207 of file wsystray.cpp. |
|
Draws a "flash" type thing over the icon pixmap. Definition at line 125 of file wsystray.cpp. References drawPixmap(). |
|
Draws the image image over the icon
Definition at line 195 of file wsystray.cpp. References drawPixmap(). Referenced by setText(). |
|
Draws the pixmap pic over the icon
Definition at line 150 of file wsystray.cpp. References blendOverlay(). Referenced by drawFlash(), drawImage(), drawSave(), and drawSend(). |
|
Draws a "save" icon over the icon pixmap. Definition at line 133 of file wsystray.cpp. References drawPixmap(). |
|
Draws a "send" type pixmap over the icon pixmap Definition at line 141 of file wsystray.cpp. References drawPixmap(). |
|
Enables the Start, and Config menu items, and disables the Stop menu item. Definition at line 212 of file wsystray.cpp. |
|
Restores the icon's pixmap to the original one Definition at line 201 of file wsystray.cpp. |
|
Writes the integer n over the system tray's icon
Definition at line 85 of file wsystray.cpp. References setText(). |
|
Writes the string text over the system tray's icon
Definition at line 95 of file wsystray.cpp. References drawImage(). Referenced by setNumber(). |