SlideshowView QML Type
A view for flicking through a series of items More...
Import Statement: | import Sailfish.Silica 1.0 |
Properties
Detailed Description
The SlideshowView type provides a view for flicking through a series of items.
View navigation is cyclic, such that flicking forwards past the last item will continue on to the first item, and flicking backwards past the first item will move to the last item.
Here is a simple slideshow view:
import QtQuick 2.2
import Sailfish.Silica 1.0
SlideshowView {
id: view
width: 480
height: 200
itemWidth: width / 2
model: 5
delegate: Rectangle {
width: view.itemWidth
height: view.height
border.width: 1
Text {
anchors.centerIn: parent
text: "item " + index
}
}
}
Property Documentation
The height of each item in the view.
The width of each item in the view.
orientation : enumeration |
This property holds the orientation of the slideshow view.
- Qt.Horizontal - Horizontally scrollable carousel
- Qt.Vertical - Vertically scrollable carousel