7#include <QtGui/qtguiglobal.h>
8#include <QtCore/qsize.h>
9#include <QtCore/qlist.h>
10#include <QtGui/qpixmap.h>
59 FormatTextDirectionLtr,
60 FormatTextDirectionRtl,
64 FormatTextStrikethrough,
113 AudioInputMicrophone,
159 MediaPlaylistShuffle,
164 SoftwareUpdateAvailable,
165 SoftwareUpdateUrgent,
173 WeatherFewCloudsNight,
192 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(
QIcon)
206#if QT_DEPRECATED_SINCE(6, 0)
212#if QT_DEPRECATED_SINCE(6, 0)
224 bool isDetached()
const;
234 void setIsMask(
bool isMask);
243 static bool hasThemeIcon(ThemeIcon
icon);
246 static void setThemeSearchPaths(
const QStringList &searchpath);
254 static QString fallbackThemeName();
255 static void setFallbackThemeName(
const QString &
name);
259#if !defined(QT_NO_DATASTREAM)
269Q_DECLARE_SHARED(
QIcon)
271#if !defined(QT_NO_DATASTREAM)
276#ifndef QT_NO_DEBUG_STREAM
281 qreal *sourceDevicePixelRatio =
nullptr);
\inmodule QtCore\reentrant
The QIconEngine class provides an abstract base class for QIcon renderers.
The QIcon class provides scalable icons in different modes and states.
QPixmap pixmap(int w, int h, Mode mode=Normal, State state=Off) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Mode
This enum type describes the mode for which a pixmap is intended to be used.
bool operator!=(const QIcon &) const =delete
QPixmap pixmap(int extent, Mode mode=Normal, State state=Off) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool operator==(const QIcon &) const =delete
void paint(QPainter *painter, int x, int y, int w, int h, Qt::Alignment alignment=Qt::AlignCenter, Mode mode=Normal, State state=Off) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
The QPainter class performs low-level painting on widgets and other paint devices.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
Q_GUI_EXPORT QDataStream & operator<<(QDataStream &, const QIcon &)
Q_GUI_EXPORT QDataStream & operator>>(QDataStream &, QIcon &)
Q_GUI_EXPORT QString qt_findAtNxFile(const QString &baseFileName, qreal targetDevicePixelRatio, qreal *sourceDevicePixelRatio=nullptr)
static QByteArray cacheKey(Args &&...args)
static QString themeName()
GLint GLint GLint GLint GLint x
[0]
GLfloat GLfloat GLfloat w
[0]
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLsizei const GLuint * paths
GLfloat GLfloat GLfloat GLfloat h
GLsizei const GLchar *const * path
constexpr void qt_ptr_swap(T *&lhs, T *&rhs) noexcept
#define QT_DEPRECATED_VERSION_X_6_0(text)
new InsertText(document, idx, text, insertRed)