Describes the rendering interface of a QskControl. Change the skinlet to change the appearance of the control using the low-level scene graph API. More…
#include <QskSkinlet.h>
Inherited by QskBoxSkinlet, QskFocusIndicatorSkinlet, QskGraphicLabelSkinlet, QskPageIndicatorSkinlet, QskPopupSkinlet, QskProgressBarSkinlet, QskPushButtonSkinlet, QskScrollViewSkinlet, QskSeparatorSkinlet, QskSliderSkinlet, QskStatusIndicatorSkinlet, QskSubWindowAreaSkinlet, QskSwitchButtonSkinlet, QskTabButtonSkinlet, QskTabViewSkinlet, QskTextInputSkinlet, QskTextLabelSkinlet
Name | |
---|---|
Q_INVOKABLE | QskSkinlet(QskSkin * skin =nullptr) |
virtual | ~QskSkinlet() |
QskSkin * | skin() const |
virtual void | updateNode(QskSkinnable * skinnable, QSGNode * parent) const |
virtual QRectF | subControlRect(const QskSkinnable * , const QRectF & , QskAspect::Subcontrol ) const |
virtual QSizeF | sizeHint(const QskSkinnable * , Qt::SizeHint , const QSizeF & ) const |
const QVector< quint8 > & | nodeRoles() const |
void | setOwnedBySkinnable(bool on) |
bool | isOwnedBySkinnable() const |
QSGNode * | updateBoxNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, QskAspect::Subcontrol subControl) |
QSGNode * | updateBoxNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, const QskGradient & fillGradient, QskAspect::Subcontrol subControl) |
QSGNode * | updateArcNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, QskAspect::Subcontrol subControl) |
QSGNode * | updateArcNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, const QskGradient & fillGradient, QskAspect::Subcontrol subControl) |
QSGNode * | updateArcNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, const QskGradient & fillGradient, const QskArcMetrics & arcMetrics, QskAspect::Subcontrol subControl) |
QSGNode * | updateArcNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, qreal startAngle, qreal spanAngle, QskAspect::Subcontrol subControl) |
QSGNode * | updateArcNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, const QskGradient & fillGradient, qreal startAngle, qreal spanAngle, QskAspect::Subcontrol subControl) |
QSGNode * | updateTextNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, Qt::Alignment alignment, const QString & text, const QskTextOptions & textOptions, QskAspect::Subcontrol subControl) |
QSGNode * | updateGraphicNode(const QskSkinnable * skinnable, QSGNode * node, const QskGraphic & graphic, const QskColorFilter & colorFilter, const QRectF & rect, Qt::Alignment alignment, Qt::Orientations mirrored =Qt::Orientations()) |
QSGNode * | updateGraphicNode(const QskSkinnable * skinnable, QSGNode * node, const QskGraphic & graphic, const QskColorFilter & colorFilter, const QRectF & rect, Qt::Orientations mirrored =Qt::Orientations()) |
QSGNode * | updateBoxClipNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, QskAspect::Subcontrol subControl) |
Name | |
---|---|
void | setNodeRoles(const QVector< quint8 > & nodeRoles) |
void | appendNodeRoles(const QVector< quint8 > & nodeRoles) |
virtual QSGNode * | updateSubNode(const QskSkinnable * , quint8 nodeRole, QSGNode * ) const |
virtual QSGNode * | updateBackgroundNode(const QskControl * control, QSGNode * node) const |
virtual QSGNode * | updateDebugNode(const QskControl * control, QSGNode * node) const |
QSGNode * | updateBoxNode(const QskSkinnable * skinnable, QSGNode * node, QskAspect::Subcontrol subControl) const |
QSGNode * | updateArcNode(const QskSkinnable * skinnable, QSGNode * node, QskAspect::Subcontrol subControl) const |
QSGNode * | updateArcNode(const QskSkinnable * skinnable, QSGNode * node, qreal startAngle, qreal spanAngle, QskAspect::Subcontrol subControl) const |
QSGNode * | updateBoxClipNode(const QskSkinnable * skinnable, QSGNode * node, QskAspect::Subcontrol subControl) const |
QSGNode * | updateTextNode(const QskSkinnable * skinnable, QSGNode * node, const QString & text, const QskTextOptions & textOptions, QskAspect::Subcontrol subControl) const |
QSGNode * | updateGraphicNode(const QskSkinnable * skinnable, QSGNode * node, const QskGraphic & graphic, QskAspect::Subcontrol subcontrol, Qt::Orientations mirrored =Qt::Orientations()) const |
void | replaceChildNode(quint8 nodeRole, QSGNode * parentNode, QSGNode * oldNode, QSGNode * newNode) const |
QSizeF | hintWithoutConstraint(const QSizeF & hint, const QSizeF & constraint) const |
class QskSkinlet;
Describes the rendering interface of a QskControl. Change the skinlet to change the appearance of the control using the low-level scene graph API.
See: QskSkinnable::effectiveSkinlet(), QskSkinnable::setSkinlet(), QskSkin::declareSkinlet(), QskSkin::skinlet()
Q_INVOKABLE QskSkinlet(
QskSkin * skin =nullptr
)
virtual ~QskSkinlet()
QskSkin * skin() const
virtual void updateNode(
QskSkinnable * skinnable,
QSGNode * parent
) const
inline virtual QRectF subControlRect(
const QskSkinnable * ,
const QRectF & ,
QskAspect::Subcontrol
) const
inline virtual QSizeF sizeHint(
const QskSkinnable * ,
Qt::SizeHint ,
const QSizeF &
) const
const QVector< quint8 > & nodeRoles() const
void setOwnedBySkinnable(
bool on
)
bool isOwnedBySkinnable() const
static QSGNode * updateBoxNode(
const QskSkinnable * skinnable,
QSGNode * node,
const QRectF & rect,
QskAspect::Subcontrol subControl
)
static QSGNode * updateBoxNode(
const QskSkinnable * skinnable,
QSGNode * node,
const QRectF & rect,
const QskGradient & fillGradient,
QskAspect::Subcontrol subControl
)
static QSGNode * updateArcNode(
const QskSkinnable * skinnable,
QSGNode * node,
const QRectF & rect,
QskAspect::Subcontrol subControl
)
static QSGNode * updateArcNode(
const QskSkinnable * skinnable,
QSGNode * node,
const QRectF & rect,
const QskGradient & fillGradient,
QskAspect::Subcontrol subControl
)
static QSGNode * updateArcNode(
const QskSkinnable * skinnable,
QSGNode * node,
const QRectF & rect,
const QskGradient & fillGradient,
const QskArcMetrics & arcMetrics,
QskAspect::Subcontrol subControl
)
static QSGNode * updateArcNode(
const QskSkinnable * skinnable,
QSGNode * node,
const QRectF & rect,
qreal startAngle,
qreal spanAngle,
QskAspect::Subcontrol subControl
)
static QSGNode * updateArcNode(
const QskSkinnable * skinnable,
QSGNode * node,
const QRectF & rect,
const QskGradient & fillGradient,
qreal startAngle,
qreal spanAngle,
QskAspect::Subcontrol subControl
)
static QSGNode * updateTextNode(
const QskSkinnable * skinnable,
QSGNode * node,
const QRectF & rect,
Qt::Alignment alignment,
const QString & text,
const QskTextOptions & textOptions,
QskAspect::Subcontrol subControl
)
static QSGNode * updateGraphicNode(
const QskSkinnable * skinnable,
QSGNode * node,
const QskGraphic & graphic,
const QskColorFilter & colorFilter,
const QRectF & rect,
Qt::Alignment alignment,
Qt::Orientations mirrored =Qt::Orientations()
)
static QSGNode * updateGraphicNode(
const QskSkinnable * skinnable,
QSGNode * node,
const QskGraphic & graphic,
const QskColorFilter & colorFilter,
const QRectF & rect,
Qt::Orientations mirrored =Qt::Orientations()
)
static QSGNode * updateBoxClipNode(
const QskSkinnable * skinnable,
QSGNode * node,
const QRectF & rect,
QskAspect::Subcontrol subControl
)
void setNodeRoles(
const QVector< quint8 > & nodeRoles
)
void appendNodeRoles(
const QVector< quint8 > & nodeRoles
)
inline virtual QSGNode * updateSubNode(
const QskSkinnable * ,
quint8 nodeRole,
QSGNode *
) const
virtual QSGNode * updateBackgroundNode(
const QskControl * control,
QSGNode * node
) const
virtual QSGNode * updateDebugNode(
const QskControl * control,
QSGNode * node
) const
QSGNode * updateBoxNode(
const QskSkinnable * skinnable,
QSGNode * node,
QskAspect::Subcontrol subControl
) const
QSGNode * updateArcNode(
const QskSkinnable * skinnable,
QSGNode * node,
QskAspect::Subcontrol subControl
) const
QSGNode * updateArcNode(
const QskSkinnable * skinnable,
QSGNode * node,
qreal startAngle,
qreal spanAngle,
QskAspect::Subcontrol subControl
) const
QSGNode * updateBoxClipNode(
const QskSkinnable * skinnable,
QSGNode * node,
QskAspect::Subcontrol subControl
) const
QSGNode * updateTextNode(
const QskSkinnable * skinnable,
QSGNode * node,
const QString & text,
const QskTextOptions & textOptions,
QskAspect::Subcontrol subControl
) const
QSGNode * updateGraphicNode(
const QskSkinnable * skinnable,
QSGNode * node,
const QskGraphic & graphic,
QskAspect::Subcontrol subcontrol,
Qt::Orientations mirrored =Qt::Orientations()
) const
void replaceChildNode(
quint8 nodeRole,
QSGNode * parentNode,
QSGNode * oldNode,
QSGNode * newNode
) const
QSizeF hintWithoutConstraint(
const QSizeF & hint,
const QSizeF & constraint
) const
Updated on 28 July 2023 at 14:02:28 CEST