![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
QQuickPixmapData (QQuickPixmap *pixmap, const QUrl &u, const QRect &r, const QSize &rs, const QQuickImageProviderOptions &po, const QString &e) | |
QQuickPixmapData (QQuickPixmap *pixmap, const QUrl &u, const QRect &r, const QSize &s, const QQuickImageProviderOptions &po, QQuickImageProviderOptions::AutoTransform aTransform, int frame=0, int frameCount=1) | |
QQuickPixmapData (QQuickPixmap *pixmap, const QUrl &u, QQuickTextureFactory *texture, const QSize &s, const QRect &r, const QSize &rs, const QQuickImageProviderOptions &po, QQuickImageProviderOptions::AutoTransform aTransform, int frame=0, int frameCount=1) | |
QQuickPixmapData (QQuickPixmap *pixmap, QQuickTextureFactory *texture) | |
~QQuickPixmapData () | |
int | cost () const |
void | addref () |
void | release (QQuickPixmapStore *store=nullptr) |
void | addToCache () |
void | removeFromCache (QQuickPixmapStore *store=nullptr) |
Definition at line 282 of file qquickpixmapcache.cpp.
|
inline |
Definition at line 285 of file qquickpixmapcache.cpp.
References declarativePixmaps, QIntrusiveList< N, member >::insert(), and pixmap.
|
inline |
Definition at line 299 of file qquickpixmapcache.cpp.
References declarativePixmaps, QIntrusiveList< N, member >::insert(), and pixmap.
|
inline |
Definition at line 313 of file qquickpixmapcache.cpp.
References declarativePixmaps, QIntrusiveList< N, member >::insert(), and pixmap.
|
inline |
Definition at line 328 of file qquickpixmapcache.cpp.
References declarativePixmaps, implicitSize, QIntrusiveList< N, member >::insert(), pixmap, and requestSize.
|
inline |
Definition at line 342 of file qquickpixmapcache.cpp.
References declarativePixmaps, QIntrusiveList< N, member >::first(), QIntrusiveList< N, member >::isEmpty(), QIntrusiveList< N, member >::remove(), and textureFactory.
void QQuickPixmapData::addref | ( | ) |
Definition at line 1393 of file qquickpixmapcache.cpp.
References PIXMAP_PROFILE, prevUnreferencedPtr, refCount, and url.
Referenced by QQuickPixmap::load(), QQuickPixmap::loadImageFromDevice(), and QQuickPixmap::setPixmap().
void QQuickPixmapData::addToCache | ( | ) |
Definition at line 1435 of file qquickpixmapcache.cpp.
References frame, inCache, PIXMAP_PROFILE, providerOptions, requestRegion, requestSize, and url.
Referenced by QQuickPixmap::QQuickPixmap(), QQuickPixmap::load(), and QQuickPixmap::loadImageFromDevice().
int QQuickPixmapData::cost | ( | ) | const |
Definition at line 1386 of file qquickpixmapcache.cpp.
References QQuickTextureFactory::textureByteCount(), and textureFactory.
void QQuickPixmapData::release | ( | QQuickPixmapStore * | store = nullptr | ) |
Definition at line 1401 of file qquickpixmapcache.cpp.
References QQuickPixmapReply::data, QQuickPixmapReply::engineForReader, QQuickPixmapReader::existingInstance(), inCache, QMutex::lock(), PIXMAP_PROFILE, pixmapStatus, Q_ASSERT, QQuickPixmapReader::readerMutex, QQuickPixmap::Ready, refCount, removeFromCache(), reply, QMutex::unlock(), QQuickPixmapStore::unreferencePixmap(), and url.
Referenced by QQuickPixmap::~QQuickPixmap(), QQuickPixmap::clear(), QQuickPixmap::clear(), and QQuickPixmap::load().
void QQuickPixmapData::removeFromCache | ( | QQuickPixmapStore * | store = nullptr | ) |
Definition at line 1446 of file qquickpixmapcache.cpp.
References frame, inCache, QQuickPixmapStore::m_cache, PIXMAP_PROFILE, providerOptions, QHash< Key, T >::remove(), requestRegion, requestSize, QHash< Key, T >::size(), and url.
Referenced by release().
QQuickImageProviderOptions::AutoTransform QQuickPixmapData::appliedTransform |
Definition at line 371 of file qquickpixmapcache.cpp.
Referenced by QQuickPixmap::autoTransform().
QIntrusiveList<QQuickPixmap, &QQuickPixmap::dataListNode> QQuickPixmapData::declarativePixmaps |
Definition at line 377 of file qquickpixmapcache.cpp.
Referenced by QQuickPixmapData(), QQuickPixmapData(), QQuickPixmapData(), QQuickPixmapData(), QQuickPixmap::~QQuickPixmap(), ~QQuickPixmapData(), QQuickPixmap::clear(), QQuickPixmap::clear(), QQuickPixmap::load(), QQuickPixmap::loadImageFromDevice(), and QQuickPixmap::setPixmap().
QString QQuickPixmapData::errorString |
Definition at line 366 of file qquickpixmapcache.cpp.
Referenced by QQuickPixmap::error().
int QQuickPixmapData::frame |
Definition at line 360 of file qquickpixmapcache.cpp.
Referenced by addToCache(), and removeFromCache().
int QQuickPixmapData::frameCount |
Definition at line 359 of file qquickpixmapcache.cpp.
Referenced by QQuickPixmap::frameCount().
QSize QQuickPixmapData::implicitSize |
Definition at line 367 of file qquickpixmapcache.cpp.
Referenced by QQuickPixmapData(), and QQuickPixmap::implicitSize().
bool QQuickPixmapData::inCache |
Definition at line 362 of file qquickpixmapcache.cpp.
Referenced by addToCache(), release(), and removeFromCache().
QQuickPixmapData* QQuickPixmapData::nextUnreferenced |
Definition at line 382 of file qquickpixmapcache.cpp.
Referenced by QQuickPixmapStore::referencePixmap(), and QQuickPixmapStore::unreferencePixmap().
QQuickPixmap::Status QQuickPixmapData::pixmapStatus |
Definition at line 364 of file qquickpixmapcache.cpp.
Referenced by release(), and QQuickPixmap::status().
QQuickPixmapData* QQuickPixmapData::prevUnreferenced |
Definition at line 380 of file qquickpixmapcache.cpp.
Referenced by QQuickPixmapStore::referencePixmap(), and QQuickPixmapStore::unreferencePixmap().
QQuickPixmapData** QQuickPixmapData::prevUnreferencedPtr |
Definition at line 381 of file qquickpixmapcache.cpp.
Referenced by addref(), QQuickPixmapStore::referencePixmap(), and QQuickPixmapStore::unreferencePixmap().
QQuickImageProviderOptions QQuickPixmapData::providerOptions |
Definition at line 370 of file qquickpixmapcache.cpp.
Referenced by addToCache(), and removeFromCache().
uint QQuickPixmapData::refCount |
Definition at line 358 of file qquickpixmapcache.cpp.
QQuickPixmapReply* QQuickPixmapData::reply |
Definition at line 378 of file qquickpixmapcache.cpp.
Referenced by QQuickPixmap::clear(), QQuickPixmap::connectDownloadProgress(), QQuickPixmap::connectDownloadProgress(), QQuickPixmap::connectFinished(), QQuickPixmap::connectFinished(), QQuickPixmap::load(), QQuickPixmap::loadImageFromDevice(), and release().
QRect QQuickPixmapData::requestRegion |
Definition at line 368 of file qquickpixmapcache.cpp.
Referenced by addToCache(), removeFromCache(), and QQuickPixmap::requestRegion().
QSize QQuickPixmapData::requestSize |
Definition at line 369 of file qquickpixmapcache.cpp.
Referenced by QQuickPixmapData(), addToCache(), removeFromCache(), and QQuickPixmap::requestSize().
Definition at line 374 of file qquickpixmapcache.cpp.
Referenced by QQuickPixmap::loadImageFromDevice().
QColorSpace QQuickPixmapData::targetColorSpace |
Definition at line 372 of file qquickpixmapcache.cpp.
QQuickTextureFactory* QQuickPixmapData::textureFactory |
Definition at line 375 of file qquickpixmapcache.cpp.
Referenced by ~QQuickPixmapData(), QQuickPixmap::colorSpace(), cost(), QQuickPixmap::height(), QQuickPixmap::image(), QQuickPixmap::rect(), QQuickPixmap::textureFactory(), and QQuickPixmap::width().
QUrl QQuickPixmapData::url |
Definition at line 365 of file qquickpixmapcache.cpp.
Referenced by addref(), addToCache(), release(), removeFromCache(), and QQuickPixmap::url().