~nik90/cliffhanger/convergence-1

« back to all changes in this revision

Viewing changes to tests/TestModel.qml

  • Committer: Nekhelesh Ramananthan
  • Date: 2013-11-10 12:45:09 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: krnekhelesh@gmail.com-20131110124509-tm9cegstktd4l0dc
Added carousel and replaced boiler code with real code structure

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import QtQuick 2.0
 
2
import Ubuntu.Components 0.1
 
3
 
 
4
ListModel {
 
5
    id: coverImageModel
 
6
    ListElement {
 
7
        url: "../graphics/toolbarIcon.png"
 
8
        name: "Pirates of the carribean"
 
9
    }
 
10
    
 
11
    ListElement {
 
12
        url: "../graphics/toolbarIcon.png"
 
13
        name: "Iron Man"
 
14
    }
 
15
    
 
16
    ListElement {
 
17
        url: "../graphics/toolbarIcon.png"
 
18
        name: "Avengers"
 
19
    }
 
20
    
 
21
    ListElement {
 
22
        url: "../graphics/toolbarIcon.png"
 
23
        name: "Captain America: The First Avenger"
 
24
    }
 
25
    
 
26
    ListElement {
 
27
        url: "../graphics/toolbarIcon.png"
 
28
        name: "Insidious"
 
29
    }
 
30
    
 
31
    ListElement {
 
32
        url: "../graphics/toolbarIcon.png"
 
33
        name: "Thor"
 
34
    }
 
35
    
 
36
    ListElement {
 
37
        url: "../graphics/toolbarIcon.png"
 
38
        name: "Iron Man 2"
 
39
    }
 
40
}