![]() |
Qt 6.x
The Qt SDK
|
#include <qquicklabsplatformiconloader_p.h>
Additional Inherited Members | |
![]() | |
enum | Status { Null , Ready , Error , Loading } |
enum | Option { Asynchronous = 0x00000001 , Cache = 0x00000002 } |
![]() | |
static void | purgeCache () |
static bool | isCached (const QUrl &url, const QRect &requestRegion, const QSize &requestSize, const int frame, const QQuickImageProviderOptions &options) |
![]() | |
static const QLatin1String | itemGrabberScheme = QLatin1String("itemgrabber") |
Definition at line 29 of file qquicklabsplatformiconloader_p.h.
QT_BEGIN_NAMESPACE QQuickLabsPlatformIconLoader::QQuickLabsPlatformIconLoader | ( | int | slot, |
QObject * | parent | ||
) |
Definition at line 12 of file qquicklabsplatformiconloader.cpp.
QQuickLabsPlatformIcon QQuickLabsPlatformIconLoader::icon | ( | ) | const |
Definition at line 40 of file qquicklabsplatformiconloader.cpp.
Referenced by QQuickLabsPlatformMenu::icon(), QQuickLabsPlatformMenuItem::icon(), QQuickLabsPlatformSystemTrayIcon::icon(), setIcon(), and toQIcon().
bool QQuickLabsPlatformIconLoader::isEnabled | ( | ) | const |
Definition at line 20 of file qquicklabsplatformiconloader.cpp.
void QQuickLabsPlatformIconLoader::setEnabled | ( | bool | enabled | ) |
Definition at line 25 of file qquicklabsplatformiconloader.cpp.
References enabled.
Referenced by QQuickLabsPlatformSystemTrayIcon::cleanup(), QQuickLabsPlatformMenu::componentComplete(), QQuickLabsPlatformMenuItem::componentComplete(), QQuickLabsPlatformMenu::iconLoader(), QQuickLabsPlatformMenuItem::iconLoader(), QQuickLabsPlatformSystemTrayIcon::iconLoader(), and QQuickLabsPlatformSystemTrayIcon::init().
void QQuickLabsPlatformIconLoader::setIcon | ( | const QQuickLabsPlatformIcon & | icon | ) |
Definition at line 45 of file qquicklabsplatformiconloader.cpp.
References icon().
Referenced by QQuickLabsPlatformMenu::setIcon(), QQuickLabsPlatformMenuItem::setIcon(), and QQuickLabsPlatformSystemTrayIcon::setIcon().
QIcon QQuickLabsPlatformIconLoader::toQIcon | ( | ) | const |
Definition at line 32 of file qquicklabsplatformiconloader.cpp.
References QPixmap::fromImage(), QIcon::fromTheme(), icon(), QQuickPixmap::image(), QQuickLabsPlatformIcon::isMask(), and QQuickLabsPlatformIcon::name.
Referenced by QQuickLabsPlatformMenuItem::sync().