15 Q_PROPERTY( Qt::ScrollBarPolicy verticalScrollBarPolicy READ verticalScrollBarPolicy
16 WRITE setVerticalScrollBarPolicy NOTIFY verticalScrollBarPolicyChanged FINAL )
18 Q_PROPERTY( Qt::ScrollBarPolicy horizontalScrollBarPolicy READ horizontalScrollBarPolicy
19 WRITE setHorizontalScrollBarPolicy NOTIFY horizontalScrollBarPolicyChanged FINAL )
24 QSK_SUBCONTROLS( Panel, Viewport,
25 HorizontalScrollBar, HorizontalScrollHandle,
26 VerticalScrollBar, VerticalScrollHandle )
33 void setVerticalScrollBarPolicy( Qt::ScrollBarPolicy );
34 Qt::ScrollBarPolicy verticalScrollBarPolicy()
const;
36 void setHorizontalScrollBarPolicy( Qt::ScrollBarPolicy );
37 Qt::ScrollBarPolicy horizontalScrollBarPolicy()
const;
39 Qt::Orientations scrollableOrientations()
const;
41 bool isScrolling( Qt::Orientation )
const;
44 QRectF viewContentsRect()
const override;
48 void verticalScrollBarPolicyChanged();
49 void horizontalScrollBarPolicyChanged();
52 void mouseMoveEvent( QMouseEvent* )
override;
53 void mousePressEvent( QMouseEvent* )
override;
54 void mouseReleaseEvent( QMouseEvent* )
override;
58 void hoverMoveEvent( QHoverEvent* )
override;
61#ifndef QT_NO_WHEELEVENT
62 QPointF scrollOffset(
const QWheelEvent* )
const override;