Ubuntu Pastebin

Paste from micha at Mon, 14 Mar 2016 13:59:15 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
import QtQuick 2.4
import Ubuntu.Components 1.3

Item {
  height: units.gu(70)
  width: units.gu(40)

  ListView {
    anchors.fill: parent

    model: 50

    delegate: ListItem {
      Label {
        anchors.centerIn: parent
        text: "blabla " + index
      }
      onClicked: print("bla")
    }
  }
}
Download as text