QskScrollViewSkinlet

Inherits from QskSkinlet

Inherited by QskListViewSkinlet

Public Types

  Name
enum NodeRole { ViewportRole, ContentsRootRole, HorizontalScrollBarRole, HorizontalScrollHandleRole, VerticalScrollBarRole, VerticalScrollHandleRole}

Public Functions

  Name
Q_INVOKABLE QskScrollViewSkinlet(QskSkin * skin =nullptr)
  ~QskScrollViewSkinlet() override
QRectF subControlRect(const QskSkinnable * skinnable, const QRectF & contentsRect, QskAspect::Subcontrol subControl) const override

Protected Functions

  Name
QSGNode * updateSubNode(const QskSkinnable * skinnable, quint8 nodeRole, QSGNode * node) const override
virtual QSGNode * updateContentsNode(const QskScrollView * , QSGNode * ) const
QSGNode * contentsNode(const QskScrollView * scrollView)

Additional inherited members

Public Functions inherited from QskSkinlet

  Name
Q_INVOKABLE QskSkinlet(QskSkin * skin =nullptr)
virtual ~QskSkinlet()
QskSkin * skin() const
virtual void updateNode(QskSkinnable * skinnable, QSGNode * parent) 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)

Protected Functions inherited from QskSkinlet

  Name
void setNodeRoles(const QVector< quint8 > & nodeRoles)
void appendNodeRoles(const QVector< quint8 > & nodeRoles)
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

Public Types Documentation

enum NodeRole

Enumerator Value Description
ViewportRole    
ContentsRootRole    
HorizontalScrollBarRole    
HorizontalScrollHandleRole    
VerticalScrollBarRole    
VerticalScrollHandleRole    

Public Functions Documentation

function QskScrollViewSkinlet

Q_INVOKABLE QskScrollViewSkinlet(
    QskSkin * skin =nullptr
)

function ~QskScrollViewSkinlet

~QskScrollViewSkinlet() override

function subControlRect

QRectF subControlRect(
    const QskSkinnable * skinnable,
    const QRectF & contentsRect,
    QskAspect::Subcontrol subControl
) const override

Protected Functions Documentation

function updateSubNode

QSGNode * updateSubNode(
    const QskSkinnable * skinnable,
    quint8 nodeRole,
    QSGNode * node
) const override

function updateContentsNode

virtual QSGNode * updateContentsNode(
    const QskScrollView * ,
    QSGNode * 
) const

function contentsNode

QSGNode * contentsNode(
    const QskScrollView * scrollView
)

Updated on 28 July 2023 at 14:02:28 CEST