![]() |
Sayonara Player
|
#include <GUI_TrayIcon.h>
Small class to be used as tray icon
Signals | |
| void | sig_wheel_changed (int delta) |
| void | sig_hide_clicked () |
| void | sig_close_clicked () |
| void | sig_show_clicked () |
Public Member Functions | |
| GUI_TrayIcon (QObject *parent=nullptr) | |
| bool | event (QEvent *e) override |
| void | set_enable_fwd (bool) |
| void | notify (const MetaData &md) override |
| notify when Metadata has been changed More... | |
| void | notify (const QString &title, const QString &message, const QString &image_path) override |
| show standard notification More... | |
| QString | get_name () const |
| get name of notification interface More... | |
Public Slots | |
| void | skin_changed () |
Protected Member Functions | |
| virtual void | language_changed () |
Private Attributes | |
| Settings * | _settings =nullptr |
|
inherited |
get name of notification interface
|
overridevirtual |
|
overridevirtual |
show standard notification
| title | Notification title |
| message | Notification message |
| image_path | Notification image |
Implements NotificationInterface.
|
signal |
this event is fired, if we have a mouse wheel event
| delta | bigger then 0 when mouse wheel has moved forward smaller when moved backwards |
1.8.13