Warning, /plasma/qqc2-breeze-style/style/qtquickcontrols/SwipeView.qml is written in an unsupported language. File is not indexed.
0001 //NOTE: replace this
0002
0003 import QtQuick
0004 import QtQuick.Controls as Controls
0005 import QtQuick.Templates as T
0006
0007 T.SwipeView {
0008 id: control
0009
0010 implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
0011 contentWidth + leftPadding + rightPadding)
0012 implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
0013 contentHeight + topPadding + bottomPadding)
0014
0015 contentItem: ListView {
0016 model: control.contentModel
0017 interactive: control.interactive
0018 currentIndex: control.currentIndex
0019 focus: control.focus
0020
0021 spacing: control.spacing
0022 orientation: control.orientation
0023 snapMode: ListView.SnapOneItem
0024 boundsBehavior: Flickable.StopAtBounds
0025
0026 highlightRangeMode: ListView.StrictlyEnforceRange
0027 preferredHighlightBegin: 0
0028 preferredHighlightEnd: 0
0029 highlightMoveDuration: 250
0030 maximumFlickVelocity: 4 * (control.orientation === Qt.Horizontal ? width : height)
0031 }
0032 }