QskSliderSkinlet

Inherits from QskSkinlet

Public Types

  Name
enum NodeRole { PanelRole, GrooveRole, FillRole, HandleRole}

Public Functions

  Name
Q_INVOKABLE QskSliderSkinlet(QskSkin * skin =nullptr)
  ~QskSliderSkinlet() override
QRectF subControlRect(const QskSkinnable * skinnable, const QRectF & rect, QskAspect::Subcontrol subControl) const override
QSizeF sizeHint(const QskSkinnable * skinnable, Qt::SizeHint which, const QSizeF & ) const override

Protected Functions

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

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
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
PanelRole    
GrooveRole    
FillRole    
HandleRole    

Public Functions Documentation

function QskSliderSkinlet

Q_INVOKABLE QskSliderSkinlet(
    QskSkin * skin =nullptr
)

function ~QskSliderSkinlet

~QskSliderSkinlet() override

function subControlRect

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

function sizeHint

QSizeF sizeHint(
    const QskSkinnable * skinnable,
    Qt::SizeHint which,
    const QSizeF & 
) const override

Protected Functions Documentation

function updateSubNode

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

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