Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQuickNativeIconLoader Class Reference

#include <qquicknativeiconloader_p.h>

Inheritance diagram for QQuickNativeIconLoader:
Collaboration diagram for QQuickNativeIconLoader:

Public Member Functions

 QQuickNativeIconLoader (int slot, QObject *parent)
bool isEnabled () const
void setEnabled (bool enabled)
QIcon toQIcon () const
QQuickIcon icon () const
void setIcon (const QQuickIcon &icon)
Public Member Functions inherited from QQuickPixmap
 QQuickPixmap ()
 QQuickPixmap (QQmlEngine *, const QUrl &)
 QQuickPixmap (QQmlEngine *, const QUrl &, Options options)
 QQuickPixmap (QQmlEngine *, const QUrl &, const QRect &region, const QSize &)
 QQuickPixmap (const QUrl &, const QImage &image)
 ~QQuickPixmap ()
bool isNull () const
bool isReady () const
bool isError () const
bool isLoading () const
Status status () const
QString error () const
const QUrlurl () const
const QSizeimplicitSize () const
const QRectrequestRegion () const
const QSizerequestSize () const
QQuickImageProviderOptions::AutoTransform autoTransform () const
int frameCount () const
QImage image () const
void setImage (const QImage &)
void setPixmap (const QQuickPixmap &other)
QColorSpace colorSpace () const
QQuickTextureFactorytextureFactory () const
QRect rect () const
int width () const
int height () 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")

Detailed Description

Definition at line 31 of file qquicknativeiconloader_p.h.

Constructor & Destructor Documentation

◆ QQuickNativeIconLoader()

QT_BEGIN_NAMESPACE QQuickNativeIconLoader::QQuickNativeIconLoader ( int slot,
QObject * parent )

Definition at line 13 of file qquicknativeiconloader.cpp.

Member Function Documentation

◆ icon()

QQuickIcon QQuickNativeIconLoader::icon ( ) const

Definition at line 39 of file qquicknativeiconloader.cpp.

◆ isEnabled()

bool QQuickNativeIconLoader::isEnabled ( ) const

Definition at line 21 of file qquicknativeiconloader.cpp.

◆ setEnabled()

void QQuickNativeIconLoader::setEnabled ( bool enabled)

Definition at line 26 of file qquicknativeiconloader.cpp.

◆ setIcon()

void QQuickNativeIconLoader::setIcon ( const QQuickIcon & icon)

Definition at line 44 of file qquicknativeiconloader.cpp.

◆ toQIcon()

QIcon QQuickNativeIconLoader::toQIcon ( ) const

Definition at line 33 of file qquicknativeiconloader.cpp.


The documentation for this class was generated from the following files: