From ccccc25802bdd0af806c3a1aaa83759b9e6706de Mon Sep 17 00:00:00 2001
From: Warwick Allison <warwick.allison@nokia.com>
Date: Wed, 9 Sep 2009 15:46:47 +1000
Subject: clearer example

---
 examples/declarative/listview/dynamic.qml | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/examples/declarative/listview/dynamic.qml b/examples/declarative/listview/dynamic.qml
index 5111cec..f615c24 100644
--- a/examples/declarative/listview/dynamic.qml
+++ b/examples/declarative/listview/dynamic.qml
@@ -1,7 +1,7 @@
 import Qt 4.6
 
 Item {
-    width: 300
+    width: 320
     height: 500
 
     ListModel {
@@ -114,15 +114,23 @@ Item {
             MouseRegion { anchors.fill: parent;
                 onClicked: {
                     FruitModel.append({
-                        "name":"Pizza",
+                        "name":"Pizza Margarita",
                         "cost":5.95,
-                        "attributes":[{"description": "Supreme"},{"description": "Margarita"}]
+                        "attributes":[{"description": "Cheese"},{"description": "Tomato"}]
                     })
                 }
             }
         }
         Image { source: "content/pics/add.png"
-            MouseRegion { anchors.fill: parent; onClicked: FruitModel.insert(0,{"name":"Pizza", "cost":5.95}) }
+            MouseRegion { anchors.fill: parent;
+                onClicked: {
+                    FruitModel.insert(0,{
+                        "name":"Pizza Supreme",
+                        "cost":9.95,
+                        "attributes":[{"description": "Cheese"},{"description": "Tomato"},{"description": "The Works"}]
+                    })
+                }
+            }
         }
         Image { source: "content/pics/trash.png"
             MouseRegion { anchors.fill: parent; onClicked: FruitModel.clear() }
-- 
cgit v0.12