6#include <QtQuick/private/qquickimagebase_p_p.h>
38 return m_defaultColor;
43 if (m_defaultColor ==
color)
46 m_defaultColor =
color;
58 if (m_color.
alpha() > 0 && m_color != m_defaultColor) {
61 if (!
image.isNull()) {
72#include "moc_qquickcolorimage_p.cpp"
The QColor class provides colors based on RGB, HSV or CMYK values.
int alpha() const noexcept
Returns the alpha color component of this color.
The QPainter class performs low-level painting on widgets and other paint devices.
void setCompositionMode(CompositionMode mode)
Sets the composition mode to the given mode.
@ CompositionMode_SourceIn
void fillRect(const QRectF &, const QBrush &)
Fills the given rectangle with the brush specified.
QQuickColorImage(QQuickItem *parent=nullptr)
void setColor(const QColor &color)
void setDefaultColor(const QColor &color)
void pixmapChange() override
void defaultColorChanged()
void pixmapChange() override
static QQuickItemPrivate * get(QQuickItem *item)
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
bool isComponentComplete() const
Returns true if construction of the QML component is complete; otherwise returns false.
Combined button and popup list for selecting options.
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent