QskScrollView

Inherits from QskScrollBox

Inherited by QskListView, QskScrollArea

Public Signals

  Name
void verticalScrollBarPolicyChanged()
void horizontalScrollBarPolicyChanged()

Public Functions

  Name
  QskScrollView(QQuickItem * parent =nullptr)
  ~QskScrollView() override
void setVerticalScrollBarPolicy(Qt::ScrollBarPolicy policy)
Qt::ScrollBarPolicy verticalScrollBarPolicy() const
void setHorizontalScrollBarPolicy(Qt::ScrollBarPolicy policy)
Qt::ScrollBarPolicy horizontalScrollBarPolicy() const
Qt::Orientations scrollableOrientations() const
bool isScrolling(Qt::Orientation orientation) const
QRectF viewContentsRect() const override
QskAnimationHint flickHint() const override

Protected Functions

  Name
void mouseMoveEvent(QMouseEvent * event) override
void mousePressEvent(QMouseEvent * event) override
void mouseReleaseEvent(QMouseEvent * event) override
QPointF scrollOffset(const QWheelEvent * event) const override

Public Properties

  Name
Qt::ScrollBarPolicy verticalScrollBarPolicy
Qt::ScrollBarPolicy horizontalScrollBarPolicy

Public Attributes

  Name
const QskAspect::Subcontrol Panel
const QskAspect::Subcontrol Viewport
const QskAspect::Subcontrol HorizontalScrollBar
const QskAspect::Subcontrol HorizontalScrollHandle
const QskAspect::Subcontrol VerticalScrollBar
const QskAspect::Subcontrol VerticalScrollHandle
const QskAspect::State VerticalHandlePressed
const QskAspect::State HorizontalHandlePressed

Public Signals Documentation

signal verticalScrollBarPolicyChanged

void verticalScrollBarPolicyChanged()

signal horizontalScrollBarPolicyChanged

void horizontalScrollBarPolicyChanged()

Public Functions Documentation

function QskScrollView

QskScrollView(
    QQuickItem * parent =nullptr
)

function ~QskScrollView

~QskScrollView() override

function setVerticalScrollBarPolicy

void setVerticalScrollBarPolicy(
    Qt::ScrollBarPolicy policy
)

function verticalScrollBarPolicy

Qt::ScrollBarPolicy verticalScrollBarPolicy() const

function setHorizontalScrollBarPolicy

void setHorizontalScrollBarPolicy(
    Qt::ScrollBarPolicy policy
)

function horizontalScrollBarPolicy

Qt::ScrollBarPolicy horizontalScrollBarPolicy() const

function scrollableOrientations

Qt::Orientations scrollableOrientations() const

function isScrolling

bool isScrolling(
    Qt::Orientation orientation
) const

function viewContentsRect

QRectF viewContentsRect() const override

function flickHint

QskAnimationHint flickHint() const override

Protected Functions Documentation

function mouseMoveEvent

void mouseMoveEvent(
    QMouseEvent * event
) override

function mousePressEvent

void mousePressEvent(
    QMouseEvent * event
) override

function mouseReleaseEvent

void mouseReleaseEvent(
    QMouseEvent * event
) override

function scrollOffset

QPointF scrollOffset(
    const QWheelEvent * event
) const override

Public Property Documentation

property verticalScrollBarPolicy

Qt::ScrollBarPolicy verticalScrollBarPolicy;

property horizontalScrollBarPolicy

Qt::ScrollBarPolicy horizontalScrollBarPolicy;

Public Attributes Documentation

variable Panel

static const QskAspect::Subcontrol Panel;

variable Viewport

static const QskAspect::Subcontrol Viewport;

variable HorizontalScrollBar

static const QskAspect::Subcontrol HorizontalScrollBar;

variable HorizontalScrollHandle

static const QskAspect::Subcontrol HorizontalScrollHandle;

variable VerticalScrollBar

static const QskAspect::Subcontrol VerticalScrollBar;

variable VerticalScrollHandle

static const QskAspect::Subcontrol VerticalScrollHandle;

variable VerticalHandlePressed

static const QskAspect::State VerticalHandlePressed;

variable HorizontalHandlePressed

static const QskAspect::State HorizontalHandlePressed;

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