![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qquicklabsplatformiconloader_p.h>
Public Member Functions | |
| QQuickLabsPlatformIconLoader (int slot, QObject *parent) | |
| bool | isEnabled () const |
| void | setEnabled (bool enabledenabled) |
| QIcon | toQIcon () const |
| QQuickLabsPlatformIcon | icon () const |
| void | setIcon (const QQuickLabsPlatformIcon &icon) |
| Public Member Functions inherited from QQuickPixmap | |
| QQuickPixmap () | |
| QQuickPixmap (QQmlEngine *, const QUrl &) | |
| QQuickPixmap (QQmlEngine *, const QUrl &, Options options) | |
| QQuickPixmap (QQmlEngine *, const QUrl &, const QRect ®ion, const QSize &) | |
| QQuickPixmap (const QUrl &, const QImage &imageimage) | |
| ~QQuickPixmap () | |
| bool | isNull () const |
| bool | isReady () const |
| bool | isError () const |
| bool | isLoading () const |
| Status | status () const |
| QString | error () const |
| const QUrl & | url () const |
| const QSize & | implicitSize () const |
| const QRect & | requestRegion () const |
| const QSize & | requestSize () const |
| QQuickImageProviderOptions::AutoTransform | autoTransform () const |
| int | frameCount () const |
| QImage | image () const |
| void | setImage (const QImage &) |
| void | setPixmap (const QQuickPixmap &other) |
| QColorSpace | colorSpace () const |
| QQuickTextureFactory * | textureFactory () const |
| bool | hasDroppedTransientImage () const |
| void | removeDroppedTransientImageFromCache () |
| QRect | rect () const |
| int | width () const |
| int | height () const |
| qreal | devicePixelRatio () const |
| void | load (QQmlEngine *, const QUrl &) |
| void | load (QQmlEngine *, const QUrl &, QQuickPixmap::Options options) |
| void | load (QQmlEngine *, const QUrl &, const QRect &requestRegion, const QSize &requestSize) |
| void | load (QQmlEngine *, const QUrl &, const QRect &requestRegion, const QSize &requestSize, QQuickPixmap::Options options) |
| void | load (QQmlEngine *, const QUrl &, const QRect &requestRegion, const QSize &requestSize, QQuickPixmap::Options options, const QQuickImageProviderOptions &providerOptions, int frame=0, int frameCount=1, qreal devicePixelRatio=1.0) |
| void | loadImageFromDevice (QQmlEngine *engine, QIODevice *device, const QUrl &url, const QRect &requestRegion, const QSize &requestSize, const QQuickImageProviderOptions &providerOptions, int frame=0, int frameCount=1) |
| void | clear () |
| void | clear (QObject *) |
| bool | connectFinished (QObject *, const char *) |
| bool | connectFinished (QObject *, int) |
| bool | connectDownloadProgress (QObject *, const char *) |
| bool | connectDownloadProgress (QObject *, int) |
Additional Inherited Members | |
| Public Types inherited from QQuickPixmap | |
| enum | Status { Null , Ready , Error , Loading } |
| enum | Option { Asynchronous = 0x00000001 , Cache = 0x00000002 } |
| Static Public Member Functions inherited from QQuickPixmap | |
| static void | purgeCache () |
| static bool | isCached (const QUrl &url, const QRect &requestRegion, const QSize &requestSize, const int frame, const QQuickImageProviderOptions &options) |
| static bool | isScalableImageFormat (const QUrl &url) |
| Static Public Attributes inherited from QQuickPixmap | |
| static const QLatin1String | itemGrabberScheme = QLatin1String("itemgrabber") |
Definition at line 30 of file qquicklabsplatformiconloader_p.h.
| QT_BEGIN_NAMESPACE QQuickLabsPlatformIconLoader::QQuickLabsPlatformIconLoader | ( | int | slot, |
| QObject * | parent ) |
Definition at line 13 of file qquicklabsplatformiconloader.cpp.
| QQuickLabsPlatformIcon QQuickLabsPlatformIconLoader::icon | ( | ) | const |
Definition at line 41 of file qquicklabsplatformiconloader.cpp.
Referenced by QQuickLabsPlatformMenu::icon(), QQuickLabsPlatformMenuItem::icon(), QQuickLabsPlatformSystemTrayIcon::icon(), QQuickLabsPlatformMenu::setIcon(), QQuickLabsPlatformMenuItem::setIcon(), and QQuickLabsPlatformSystemTrayIcon::setIcon().
| bool QQuickLabsPlatformIconLoader::isEnabled | ( | ) | const |
Definition at line 21 of file qquicklabsplatformiconloader.cpp.
| void QQuickLabsPlatformIconLoader::setEnabled | ( | bool | enabled | ) |
Definition at line 26 of file qquicklabsplatformiconloader.cpp.
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 46 of file qquicklabsplatformiconloader.cpp.
Referenced by QQuickLabsPlatformMenu::setIcon(), QQuickLabsPlatformMenuItem::setIcon(), and QQuickLabsPlatformSystemTrayIcon::setIcon().
| QIcon QQuickLabsPlatformIconLoader::toQIcon | ( | ) | const |
Definition at line 33 of file qquicklabsplatformiconloader.cpp.