7#include <QtGui/qtguiglobal.h>
8#include <QtCore/qsize.h>
9#include <QtCore/qlist.h>
10#include <QtGui/qpixmap.h>
35 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(
QIcon)
49#if QT_DEPRECATED_SINCE(6, 0)
55#if QT_DEPRECATED_SINCE(6, 0)
67 bool isDetached()
const;
77 void setIsMask(
bool isMask);
85 static void setThemeSearchPaths(
const QStringList &searchpath);
93 static QString fallbackThemeName();
94 static void setFallbackThemeName(
const QString &
name);
98#if !defined(QT_NO_DATASTREAM)
108Q_DECLARE_SHARED(
QIcon)
110#if !defined(QT_NO_DATASTREAM)
115#ifndef QT_NO_DEBUG_STREAM
120 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 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)