![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#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.
Variables | |
| static constexpr auto | themeIconMapping |
|
static |
|
static |
|
static |
Definition at line 112 of file qicon.cpp.
Referenced by QIconPrivate::QIconPrivate().
| QDataStream & operator<< | ( | QDataStream & | s, |
| const QIcon & | icon ) |
| QDataStream & operator>> | ( | QDataStream & | s, |
| QIcon & | icon ) |
| Q_GLOBAL_STATIC_WITH_ARGS | ( | QFactoryLoader | , |
| iceLoader | , | ||
| (QIconEngineFactoryInterface_iid, "/iconengines"_L1, Qt::CaseInsensitive) | ) |
|
static |
Definition at line 132 of file qicon.cpp.
Referenced by QIconPrivate::clearIconCache().
| QString qt_findAtNxFile | ( | const QString & | baseFileName, |
| qreal | targetDevicePixelRatio, | ||
| qreal * | sourceDevicePixelRatio ) |
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
|
staticconstexpr |