6#include <QtQuick/private/qsgadaptationlayer_p.h>
28 if (!m_hasLeftPadding)
30 if (!m_hasRightPadding)
32 if (!m_hasBottomPadding)
44 return m_hasTopPadding ? m_topPadding : m_padding;
59 return m_hasLeftPadding ? m_leftPadding : m_padding;
74 return m_hasRightPadding ? m_rightPadding : m_padding;
89 return m_hasBottomPadding ? m_bottomPadding : m_padding;
105 m_hasTopPadding = has;
116 m_hasLeftPadding = has;
127 m_hasRightPadding = has;
138 m_hasBottomPadding = has;
175 return transformNode;
180#include "moc_qquickpaddedrectangle_p.cpp"
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
qreal width
This property holds the width of this item.
qreal height
This property holds the height of this item.
void update()
Schedules a call to updatePaintNode() for this item.
void setTopPadding(qreal padding)
void bottomPaddingChanged()
void setBottomPadding(qreal padding)
void leftPaddingChanged()
void resetBottomPadding()
QSGNode * updatePaintNode(QSGNode *, UpdatePaintNodeData *) override
Called on the render thread when it is time to sync the state of the item with the scene graph.
void rightPaddingChanged()
void setLeftPadding(qreal padding)
void setRightPadding(qreal padding)
void setPadding(qreal padding)
QQuickPaddedRectangle(QQuickItem *parent=nullptr)
QSGNode * updatePaintNode(QSGNode *, UpdatePaintNodeData *) override
Called on the render thread when it is time to sync the state of the item with the scene graph.
\inmodule QtCore\reentrant
virtual void setRect(const QRectF &rect)=0
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
void appendChildNode(QSGNode *node)
Appends node to this node's list of children.
QSGNode * firstChild() const
Returns the first child of this node.
Combined button and popup list for selecting options.
bool qFuzzyCompare(qfloat16 p1, qfloat16 p2) noexcept
bool qFuzzyIsNull(qfloat16 f) noexcept
GLfloat GLfloat GLfloat w
[0]
GLdouble GLdouble GLdouble GLdouble top
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLfloat GLfloat GLfloat GLfloat h
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent