~ubuntu-branches/debian/jessie/qtdeclarative-opensource-src/jessie

« back to all changes in this revision

Viewing changes to examples/quick/views/listview/content/RecipesModel.qml

  • Committer: Package Import Robot
  • Author(s): Lisandro Damián Nicanor Pérez Meyer
  • Date: 2014-06-05 23:53:56 UTC
  • mfrom: (8.1.11 experimental)
  • Revision ID: package-import@ubuntu.com-20140605235356-cf36ioh08oh2oow4
Tags: 5.3.0-5
* Upload to unstable.
* Backport v4_yarr_jit_push_pop_addressTempRegister.patch to fix a bug
  of the JIT compiler in arm. Thanks Scott Kitterman for pointing it out.
* Update symbols files with buildds' logs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    ListElement {
45
45
        title: "Pancakes"
46
46
        picture: "content/pics/pancakes.jpg"
47
 
        ingredients: "<html> 
48
 
                       <ul> 
49
 
                        <li> 1 cup (150g) self-raising flour 
50
 
                        <li> 1 tbs caster sugar 
51
 
                        <li> 3/4 cup (185ml) milk 
52
 
                        <li> 1 egg 
53
 
                       </ul> 
 
47
        ingredients: "<html>
 
48
                       <ul>
 
49
                        <li> 1 cup (150g) self-raising flour
 
50
                        <li> 1 tbs caster sugar
 
51
                        <li> 3/4 cup (185ml) milk
 
52
                        <li> 1 egg
 
53
                       </ul>
54
54
                      </html>"
55
 
        method: "<html> 
56
 
                  <ol> 
57
 
                   <li> Sift flour and sugar together into a bowl. Add a pinch of salt. 
58
 
                   <li> Beat milk and egg together, then add to dry ingredients. Beat until smooth. 
59
 
                   <li> Pour mixture into a pan on medium heat and cook until bubbles appear on the surface. 
60
 
                   <li> Turn over and cook other side until golden.  
 
55
        method: "<html>
 
56
                  <ol>
 
57
                   <li> Sift flour and sugar together into a bowl. Add a pinch of salt.
 
58
                   <li> Beat milk and egg together, then add to dry ingredients. Beat until smooth.
 
59
                   <li> Pour mixture into a pan on medium heat and cook until bubbles appear on the surface.
 
60
                   <li> Turn over and cook other side until golden.
61
61
                  </ol>
62
62
                 </html>"
63
63
    }
70
70
    ListElement {
71
71
        title: "Vegetable Soup"
72
72
        picture: "content/pics/vegetable-soup.jpg"
73
 
        ingredients: "<html> 
74
 
                       <ul> 
75
 
                        <li> 1 onion 
76
 
                        <li> 1 turnip 
77
 
                        <li> 1 potato 
78
 
                        <li> 1 carrot 
79
 
                        <li> 1 head of celery 
80
 
                        <li> 1 1/2 litres of water 
81
 
                       </ul> 
 
73
        ingredients: "<html>
 
74
                       <ul>
 
75
                        <li> 1 onion
 
76
                        <li> 1 turnip
 
77
                        <li> 1 potato
 
78
                        <li> 1 carrot
 
79
                        <li> 1 head of celery
 
80
                        <li> 1 1/2 litres of water
 
81
                       </ul>
82
82
                      </html>"
83
 
        method: "<html> 
84
 
                  <ol> 
85
 
                   <li> Chop vegetables. 
86
 
                   <li> Boil in water until vegetables soften. 
87
 
                   <li> Season with salt and pepper to taste. 
88
 
                  </ol> 
 
83
        method: "<html>
 
84
                  <ol>
 
85
                   <li> Chop vegetables.
 
86
                   <li> Boil in water until vegetables soften.
 
87
                   <li> Season with salt and pepper to taste.
 
88
                  </ol>
89
89
                 </html>"
90
90
    }
91
91
    ListElement {
92
92
        title: "Hamburger"
93
93
        picture: "content/pics/hamburger.jpg"
94
 
        ingredients: "<html> 
95
 
                       <ul> 
96
 
                        <li> 500g minced beef 
97
 
                        <li> Seasoning 
98
 
                        <li> lettuce, tomato, onion, cheese 
99
 
                        <li> 1 hamburger bun for each burger 
100
 
                       </ul> 
 
94
        ingredients: "<html>
 
95
                       <ul>
 
96
                        <li> 500g minced beef
 
97
                        <li> Seasoning
 
98
                        <li> lettuce, tomato, onion, cheese
 
99
                        <li> 1 hamburger bun for each burger
 
100
                       </ul>
101
101
                      </html>"
102
 
        method: "<html> 
103
 
                  <ol> 
104
 
                   <li> Mix the beef, together with seasoning, in a food processor. 
105
 
                   <li> Shape the beef into burgers. 
106
 
                   <li> Grill the burgers for about 5 mins on each side (until cooked through) 
107
 
                   <li> Serve each burger on a bun with ketchup, cheese, lettuce, tomato and onion. 
108
 
                  </ol> 
 
102
        method: "<html>
 
103
                  <ol>
 
104
                   <li> Mix the beef, together with seasoning, in a food processor.
 
105
                   <li> Shape the beef into burgers.
 
106
                   <li> Grill the burgers for about 5 mins on each side (until cooked through)
 
107
                   <li> Serve each burger on a bun with ketchup, cheese, lettuce, tomato and onion.
 
108
                  </ol>
109
109
                 </html>"
110
110
    }
111
111
    ListElement {
112
112
        title: "Lemonade"
113
113
        picture: "content/pics/lemonade.jpg"
114
 
        ingredients: "<html> 
115
 
                       <ul> 
116
 
                        <li> 1 cup Lemon Juice 
117
 
                        <li> 1 cup Sugar 
118
 
                        <li> 6 Cups of Water (2 cups warm water, 4 cups cold water) 
119
 
                       </ul> 
 
114
        ingredients: "<html>
 
115
                       <ul>
 
116
                        <li> 1 cup Lemon Juice
 
117
                        <li> 1 cup Sugar
 
118
                        <li> 6 Cups of Water (2 cups warm water, 4 cups cold water)
 
119
                       </ul>
120
120
                      </html>"
121
 
        method: "<html> 
122
 
                  <ol> 
123
 
                   <li> Pour 2 cups of warm water into a pitcher and stir in sugar until it dissolves. 
124
 
                   <li> Pour in lemon juice, stir again, and add 4 cups of cold water. 
125
 
                   <li> Chill or serve over ice cubes. 
126
 
                  </ol> 
 
121
        method: "<html>
 
122
                  <ol>
 
123
                   <li> Pour 2 cups of warm water into a pitcher and stir in sugar until it dissolves.
 
124
                   <li> Pour in lemon juice, stir again, and add 4 cups of cold water.
 
125
                   <li> Chill or serve over ice cubes.
 
126
                  </ol>
127
127
                 </html>"
128
128
    }
129
129
}