43 #include <QtGui/qtguiglobal.h>
44 #include <QtCore/qsize.h>
45 #include <QtCore/qlist.h>
46 #include <QtGui/qpixmap.h>
65 :
d(qExchange(
other.
d,
nullptr))
73 { qt_ptr_swap(
d,
other.d); }
85 #if QT_DEPRECATED_SINCE(6, 0)
91 #if QT_DEPRECATED_SINCE(6, 0)
103 bool isDetached()
const;
113 void setIsMask(
bool isMask);
121 static void setThemeSearchPaths(
const QStringList &searchpath);
129 static QString fallbackThemeName();
130 static void setFallbackThemeName(
const QString &
name);
132 Q_DUMMY_COMPARISON_OPERATOR(
QIcon)
136 #if !defined(QT_NO_DATASTREAM)
148 #if !defined(QT_NO_DATASTREAM)
153 #ifndef QT_NO_DEBUG_STREAM
158 qreal *sourceDevicePixelRatio =
nullptr);
The QDataStream class provides serialization of binary data to a QIODevice.
operator>>(QDataStream &ds, qfloat16 &f)
operator<<(QDataStream &ds, qfloat16 f)
The QDebug class provides an output stream for debugging information.
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
bool operator!=(const QIcon &) const =delete
QPixmap pixmap(int extent, Mode mode=Normal, State state=Off) const
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
The QPainter class performs low-level painting on widgets and other paint devices.
The QPixmap class is an off-screen image representation that can be used as a paint device.
The QRect class defines a rectangle in the plane using integer precision.
The QSize class defines the size of a two-dimensional object using integer point precision.
The QString class provides a Unicode character string.
The QStringList class provides a list of strings.
The QVariant class acts like a union for the most common Qt data types.
The QWindow class represents a window in the underlying windowing system.
union Alignment_ Alignment
auto it unsigned count const
QT_END_INCLUDE_NAMESPACE typedef double qreal
#define QT_DEPRECATED_VERSION_X_6_0(text)
#define QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(Class)
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)
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
#define Q_DECLARE_SHARED(TYPE)