6#include <QtGui/qpa/qplatformsystemtrayicon.h>
7#include <qpa/qplatformtheme.h>
8#include <private/qguiapplication_p.h>
9#include <private/qhighdpiscaling_p.h>
11#include <QApplication>
14#ifndef QT_NO_SYSTEMTRAYICON
63 addPlatformMenu(
menu);
79 return sys->isSystemTrayAvailable();
88 return sys->supportsMessages();
static QPlatformTheme * platformTheme()
QScreen * primaryScreen
the primary (or default) screen of the application.
The QIcon class provides scalable icons in different modes and states.
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
static bool isSystemTrayAvailable_sys()
~QSystemTrayIconPrivate()
QRect geometry_sys() const
static bool supportsMessages_sys()
QPlatformSystemTrayIcon * qpa_sys
void showMessage_sys(const QString &title, const QString &msg, const QIcon &icon, QSystemTrayIcon::MessageIcon msgIcon, int msecs)
MessageIcon
This enum describes the icon that is shown when a balloon message is displayed.
T fromNativePixels(const T &value, const C *context)
Combined button and popup list for selecting options.
GLuint GLsizei const GLchar * message