(982b78dcda952416f105ef3a024ddb78ca478e3d)
#include "qicon.h"
#include "qicon_p.h"
#include "qiconengine.h"
#include "qiconengineplugin.h"
#include "qimagereader.h"
#include "private/qfactoryloader_p.h"
#include "private/qiconloader_p.h"
#include "qpainter.h"
#include "qfileinfo.h"
#include "qpixmapcache.h"
#include "qvariant.h"
#include "qcache.h"
#include "qdebug.h"
#include "qdir.h"
#include "qpalette.h"
#include "qmath.h"
#include "private/qhexstring_p.h"
#include "private/qguiapplication_p.h"
#include "private/qoffsetstringarray_p.h"
#include "qpa/qplatformtheme.h"
Go to the source code of this file.
|
static int | nextSerialNumCounter () |
static void | qt_cleanup_icon_cache () |
static qint64 | area (const QSize &s) |
static QPixmapIconEngineEntry * | bestSizeScaleMatch (const QSize &size, qreal scale, QPixmapIconEngineEntry *pa, QPixmapIconEngineEntry *pb) |
static int | origIcoDepth (const QImage &image) |
static int | findBySize (const QList< QImage > &images, const QSize &size) |
| Q_GLOBAL_STATIC_WITH_ARGS (QFactoryLoader, iceLoader,(QIconEngineFactoryInterface_iid, "/iconengines"_L1, Qt::CaseInsensitive)) QFactoryLoader *qt_iconEngineFactoryLoader() |
static QIconEngine * | iconEngineFromSuffix (const QString &fileName, const QString &suffix) |
static constexpr QLatin1StringView | themeIconName (QIcon::ThemeIcon icon) |
QDataStream & | operator<< (QDataStream &s, const QIcon &icon) |
QDataStream & | operator>> (QDataStream &s, QIcon &icon) |
QDebug | operator<< (QDebug dbg, const QIcon &i) |
QString | qt_findAtNxFile (const QString &baseFileName, qreal targetDevicePixelRatio, qreal *sourceDevicePixelRatio) |
◆ area()
◆ bestSizeScaleMatch()
◆ findBySize()
◆ iconEngineFromSuffix()
◆ nextSerialNumCounter()
int nextSerialNumCounter |
( |
| ) |
|
|
static |
◆ operator<<() [1/2]
◆ operator<<() [2/2]
◆ operator>>()
◆ origIcoDepth()
int origIcoDepth |
( |
const QImage & | image | ) |
|
|
inlinestatic |
◆ Q_GLOBAL_STATIC_WITH_ARGS()
◆ qt_cleanup_icon_cache()
void qt_cleanup_icon_cache |
( |
| ) |
|
|
static |
◆ qt_findAtNxFile()
- Since
- 5.6 Attempts to find a suitable @Nx file for the given targetDevicePixelRatio Returns the baseFileName if no such file was found.
Given base foo.png and a target dpr of 2.5, this function will look for foo@3.nosp@m.x.pn.nosp@m.g, then foo@2x, then fall back to foo.png if not found.
sourceDevicePixelRatio will be set to the value of N if the argument is not \nullptr
Definition at line 2053 of file qicon.cpp.
◆ themeIconName()
◆ themeIconMapping
constexpr auto themeIconMapping |
|
staticconstexpr |