Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickiconimage_p_p.h
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QQUICKICONIMAGE_P_P_H
5#define QQUICKICONIMAGE_P_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtQuick/private/qquickimage_p_p.h>
19#include <QtQuickControls2Impl/private/qtquickcontrols2implglobal_p.h>
20#include <QtGui/private/qiconloader_p.h>
21
23
24class Q_QUICKCONTROLS2IMPL_EXPORT QQuickIconImagePrivate : public QQuickImagePrivate
25{
26public:
27 Q_DECLARE_PUBLIC(QQuickIconImage)
28
29 ~QQuickIconImagePrivate() override;
30 void updateIcon();
31 void updateFillMode();
32 qreal calculateDevicePixelRatio() const;
33 bool updateDevicePixelRatio(qreal targetDevicePixelRatio) override;
34
38 bool updatingIcon = false;
39 bool isThemeIcon = false;
40 bool updatingFillMode = false;
41};
42
44
45#endif // QQUICKICONIMAGE_P_P_H
The QColor class provides colors based on RGB, HSV or CMYK values.
Definition qcolor.h:31
\inmodule QtCore
Definition qurl.h:94
Combined button and popup list for selecting options.
@ transparent
Definition qnamespace.h:47
GLuint color
[2]
double qreal
Definition qtypes.h:187