Kirigami2
shadowedrectangle.cpp
281 return (window() && window()->rendererInterface()->graphicsApi() == QSGRendererInterface::Software) || m_renderType == RenderType::Software;
289void ShadowedRectangle::itemChange(QQuickItem::ItemChange change, const QQuickItem::ItemChangeData &value)
300QSGNode *ShadowedRectangle::updatePaintNode(QSGNode *node, QQuickItem::UpdatePaintNodeData *data)
315 static bool lowPower = QByteArrayList{"1", "true"}.contains(qgetenv("KIRIGAMI_LOWPOWER_HARDWARE").toLower());
QML_ELEMENTqreal width
This property holds the border's width in pixels.
Definition shadowedrectangle.h:29
A rectangle with a border and rounded corners, rendered through QPainter.
Definition paintedrectangleitem.h:24
qreal xOffset
This property holds the shadow's offset in pixels on the X axis.
Definition shadowedrectangle.h:80
qreal yOffset
This property holds the shadow's offset in pixels on the Y axis.
Definition shadowedrectangle.h:86
QML_ELEMENTqreal size
This property holds the shadow's approximate size in pixels.
Definition shadowedrectangle.h:74
Scene graph node for a shadowed rectangle.
Definition shadowedrectanglenode.h:31
void setBorderEnabled(bool enabled)
Set whether to draw a border.
Definition shadowedrectanglenode.cpp:26
RenderType renderType
This property holds the rectangle's render mode.
Definition shadowedrectangle.h:282
@ LowQuality
Use the lowest rendering quality, even if the hardware could handle higher quality rendering.
Definition shadowedrectangle.h:320
QML_ELEMENTqreal radius
This property holds the radii of the rectangle's corners.
Definition shadowedrectangle.h:215
BorderGroup * border
This property holds the border's grouped property.
Definition shadowedrectangle.h:238
ShadowGroup * shadow
This property holds the shadow's grouped property.
Definition shadowedrectangle.h:254
bool contains(const AT &value) const const
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
ItemHasContents
ItemChange
virtual QRectF boundingRect() const const
virtual void componentComplete() override
void heightChanged()
virtual void itemChange(ItemChange change, const ItemChangeData &value)
void setFlag(Flag flag, bool enabled)
void setSize(const QSizeF &size)
void update()
void widthChanged()
QQuickWindow * window() const const
void setZ(qreal)
Software
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.