QskListViewSkinlet

Inherits from QskScrollViewSkinlet

Protected Types

  Name
enum NodeRole { TextRole, GraphicRole}

Public Functions

  Name
Q_INVOKABLE QskListViewSkinlet(QskSkin * skin =nullptr)
  ~QskListViewSkinlet() override
QSizeF sizeHint(const QskSkinnable * skinnable, Qt::SizeHint which, const QSizeF & ) const override

Protected Functions

  Name
QSGNode * updateContentsNode(const QskScrollView * scrollView, QSGNode * node) const override
virtual QSGNode * updateCellNode(const QskListView * listView, QSGNode * contentNode, const QRectF & rect, int row, int col) const

Protected Types Documentation

enum NodeRole

Enumerator Value Description
TextRole    
GraphicRole    

Public Functions Documentation

function QskListViewSkinlet

Q_INVOKABLE QskListViewSkinlet(
    QskSkin * skin =nullptr
)

function ~QskListViewSkinlet

~QskListViewSkinlet() override

function sizeHint

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

Protected Functions Documentation

function updateContentsNode

QSGNode * updateContentsNode(
    const QskScrollView * scrollView,
    QSGNode * node
) const override

function updateCellNode

virtual QSGNode * updateCellNode(
    const QskListView * listView,
    QSGNode * contentNode,
    const QRectF & rect,
    int row,
    int col
) const

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