summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-04-24 19:09:19 +0200
committerRainer Keller <rainer.keller@digia.com>2013-04-25 09:52:12 +0300
commitab7d642fc3e7757d6ba993b599716a27422e9f9b (patch)
treed6b38fdb58eb110ebeee1401f03f5ece1498e1cb
parent2b4b47639ec5ae0f197e771a4d7c7c5e949034ac (diff)
Demo tweaks..
Change-Id: Ib47af39929a1adaed00768e9c334425a8f30559a Reviewed-by: Rainer Keller <rainer.keller@digia.com>
-rwxr-xr-xbasicsuite/About Boot to Qt/icon.pngbin13193 -> 0 bytes
-rwxr-xr-xbasicsuite/Photo Gallery/icon.pngbin14437 -> 0 bytes
-rw-r--r--basicsuite/Photo Gallery/preview_l.jpgbin0 -> 47688 bytes
-rwxr-xr-xbasicsuite/Qt5 Cinematic Demo/icon.pngbin7110 -> 0 bytes
-rw-r--r--basicsuite/Qt5 Launch Presentation/icon.pngbin21659 -> 0 bytes
-rwxr-xr-xbasicsuite/Qt5 Particles Demo/icon.pngbin16067 -> 0 bytes
-rw-r--r--basicsuite/Qt5 Particles Demo/preview_l.jpgbin0 -> 15278 bytes
-rw-r--r--basicsuite/Qt5 Particles Demo/shared/LauncherList.qml9
8 files changed, 2 insertions, 7 deletions
diff --git a/basicsuite/About Boot to Qt/icon.png b/basicsuite/About Boot to Qt/icon.png
deleted file mode 100755
index 4e84cd5..0000000
--- a/basicsuite/About Boot to Qt/icon.png
+++ /dev/null
Binary files differ
diff --git a/basicsuite/Photo Gallery/icon.png b/basicsuite/Photo Gallery/icon.png
deleted file mode 100755
index 0c2ae8c..0000000
--- a/basicsuite/Photo Gallery/icon.png
+++ /dev/null
Binary files differ
diff --git a/basicsuite/Photo Gallery/preview_l.jpg b/basicsuite/Photo Gallery/preview_l.jpg
new file mode 100644
index 0000000..b617b0d
--- /dev/null
+++ b/basicsuite/Photo Gallery/preview_l.jpg
Binary files differ
diff --git a/basicsuite/Qt5 Cinematic Demo/icon.png b/basicsuite/Qt5 Cinematic Demo/icon.png
deleted file mode 100755
index 74da737..0000000
--- a/basicsuite/Qt5 Cinematic Demo/icon.png
+++ /dev/null
Binary files differ
diff --git a/basicsuite/Qt5 Launch Presentation/icon.png b/basicsuite/Qt5 Launch Presentation/icon.png
deleted file mode 100644
index 748392d..0000000
--- a/basicsuite/Qt5 Launch Presentation/icon.png
+++ /dev/null
Binary files differ
diff --git a/basicsuite/Qt5 Particles Demo/icon.png b/basicsuite/Qt5 Particles Demo/icon.png
deleted file mode 100755
index a418e30..0000000
--- a/basicsuite/Qt5 Particles Demo/icon.png
+++ /dev/null
Binary files differ
diff --git a/basicsuite/Qt5 Particles Demo/preview_l.jpg b/basicsuite/Qt5 Particles Demo/preview_l.jpg
new file mode 100644
index 0000000..54ab876
--- /dev/null
+++ b/basicsuite/Qt5 Particles Demo/preview_l.jpg
Binary files differ
diff --git a/basicsuite/Qt5 Particles Demo/shared/LauncherList.qml b/basicsuite/Qt5 Particles Demo/shared/LauncherList.qml
index 20f9c2b..4336cf3 100644
--- a/basicsuite/Qt5 Particles Demo/shared/LauncherList.qml
+++ b/basicsuite/Qt5 Particles Demo/shared/LauncherList.qml
@@ -39,11 +39,10 @@
****************************************************************************/
import QtQuick 2.0
-Rectangle {
+Item {
//model is a list of {"name":"somename", "url":"file:///some/url/mainfile.qml"}
//function used to add to model A) to enforce scheme B) to allow Qt.resolveUrl in url assignments
- color: "#eee"
function addExample(name, desc, url)
{
myModel.append({"name":name, "description":desc, "url":url})
@@ -58,6 +57,7 @@ Rectangle {
delegate: SimpleLauncherDelegate{exampleItem: ei}
model: ListModel {id:myModel}
anchors.fill: parent
+ visible: !ei.visible
}
Item {
@@ -68,11 +68,6 @@ Rectangle {
onExampleUrlChanged: visible = (exampleUrl == '' ? false : true); //Setting exampleUrl automatically shows example
anchors.fill: parent
anchors.bottomMargin: 40
- Rectangle {
- id: bg
- anchors.fill: parent
- color: "white"
- }
MouseArea{
anchors.fill: parent
enabled: ei.visible