Skip to content

Instantly share code, notes, and snippets.

@kimmoli
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kimmoli/263f8d29eee222c7e2c9 to your computer and use it in GitHub Desktop.
Save kimmoli/263f8d29eee222c7e2c9 to your computer and use it in GitHub Desktop.
Page
{
anchors.fill: parent
SlideshowView
{
id: mainView
itemWidth: width
itemHeight: height
anchors.fill: parent
clip:true
model: VisualItemModel
{
Item { implicitHeight: mainView.height; implicitWidth: mainView.width; Label { text: "eka"; anchors.centerIn: parent } }
Item { implicitHeight: mainView.height; implicitWidth: mainView.width; Label { text: "toka"; anchors.centerIn: parent } }
Item { implicitHeight: mainView.height; implicitWidth: mainView.width; Label { text: "kolmas"; anchors.centerIn: parent } }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment