![]() |
HulaLoop
Simple cross-platform audio loopback and recording.
|
Class for communicating between QML and C++. More...
#include <SystemTrayIcon.h>
Public Member Functions | |
| SystemTrayIcon (QObject *parent=nullptr) | |
| Construct a new instance of the SystemTrayIcon class. More... | |
| Q_INVOKABLE void | init () |
| Initializes the system tray icon with a custom menu. | |
| Q_INVOKABLE void | showMessage (const QString &, const QString &) |
| Displays a balloon message with the provided title and message to the user. More... | |
| Q_INVOKABLE void | setToolTip (const QString &) |
| Changes the system tray icon tooltip text. More... | |
| Q_INVOKABLE void | setDefaultIcon () |
| Changes the system tray icon to the default image. | |
| Q_INVOKABLE void | setRecordIcon () |
| Changes the system tray icon to the recording image. | |
Class for communicating between QML and C++.
This is designed to be added as a QML type and used in QML.
|
explicit |
Construct a new instance of the SystemTrayIcon class.
| parent | The parent object of SystemTrayIcon |
| void SystemTrayIcon::setToolTip | ( | const QString & | text | ) |
Changes the system tray icon tooltip text.
| text | - The system tray icon's tooltip text |
| void SystemTrayIcon::showMessage | ( | const QString & | title, |
| const QString & | msg | ||
| ) |
Displays a balloon message with the provided title and message to the user.
| title | - Balloon message title |
| msg | - Content of balloon message |
1.8.13