dorian
33a36aa055
- finished up speed flowchart payment overlay - updated ssl libs - added the functionality to pin competitions and hide all the others
36 lines
697 B
QML
36 lines
697 B
QML
import QtQuick 2.12
|
|
import QtQuick.Controls 2.12
|
|
|
|
Item {
|
|
id: control
|
|
|
|
property var images: []
|
|
|
|
SwipeView {
|
|
id: view
|
|
|
|
clip: true
|
|
|
|
anchors.fill: parent
|
|
anchors.margins: 1
|
|
anchors.bottomMargin: indicator.height
|
|
|
|
Repeater {
|
|
model: control.images.length
|
|
delegate: Image {
|
|
source: control.images[index]
|
|
fillMode: Image.PreserveAspectFit
|
|
}
|
|
}
|
|
}
|
|
|
|
PageIndicator {
|
|
id: indicator
|
|
|
|
anchors.bottom: control.bottom
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
count: view.count
|
|
currentIndex: view.currentIndex
|
|
}
|
|
}
|