From ab7d642fc3e7757d6ba993b599716a27422e9f9b Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Wed, 24 Apr 2013 19:09:19 +0200 Subject: Demo tweaks.. Change-Id: Ib47af39929a1adaed00768e9c334425a8f30559a Reviewed-by: Rainer Keller --- basicsuite/About Boot to Qt/icon.png | Bin 13193 -> 0 bytes basicsuite/Photo Gallery/icon.png | Bin 14437 -> 0 bytes basicsuite/Photo Gallery/preview_l.jpg | Bin 0 -> 47688 bytes basicsuite/Qt5 Cinematic Demo/icon.png | Bin 7110 -> 0 bytes basicsuite/Qt5 Launch Presentation/icon.png | Bin 21659 -> 0 bytes basicsuite/Qt5 Particles Demo/icon.png | Bin 16067 -> 0 bytes basicsuite/Qt5 Particles Demo/preview_l.jpg | Bin 0 -> 15278 bytes basicsuite/Qt5 Particles Demo/shared/LauncherList.qml | 9 ++------- 8 files changed, 2 insertions(+), 7 deletions(-) delete mode 100755 basicsuite/About Boot to Qt/icon.png delete mode 100755 basicsuite/Photo Gallery/icon.png create mode 100644 basicsuite/Photo Gallery/preview_l.jpg delete mode 100755 basicsuite/Qt5 Cinematic Demo/icon.png delete mode 100644 basicsuite/Qt5 Launch Presentation/icon.png delete mode 100755 basicsuite/Qt5 Particles Demo/icon.png create mode 100644 basicsuite/Qt5 Particles Demo/preview_l.jpg 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 Binary files a/basicsuite/About Boot to Qt/icon.png and /dev/null differ diff --git a/basicsuite/Photo Gallery/icon.png b/basicsuite/Photo Gallery/icon.png deleted file mode 100755 index 0c2ae8c..0000000 Binary files a/basicsuite/Photo Gallery/icon.png and /dev/null differ diff --git a/basicsuite/Photo Gallery/preview_l.jpg b/basicsuite/Photo Gallery/preview_l.jpg new file mode 100644 index 0000000..b617b0d Binary files /dev/null and b/basicsuite/Photo Gallery/preview_l.jpg differ diff --git a/basicsuite/Qt5 Cinematic Demo/icon.png b/basicsuite/Qt5 Cinematic Demo/icon.png deleted file mode 100755 index 74da737..0000000 Binary files a/basicsuite/Qt5 Cinematic Demo/icon.png and /dev/null differ diff --git a/basicsuite/Qt5 Launch Presentation/icon.png b/basicsuite/Qt5 Launch Presentation/icon.png deleted file mode 100644 index 748392d..0000000 Binary files a/basicsuite/Qt5 Launch Presentation/icon.png and /dev/null differ diff --git a/basicsuite/Qt5 Particles Demo/icon.png b/basicsuite/Qt5 Particles Demo/icon.png deleted file mode 100755 index a418e30..0000000 Binary files a/basicsuite/Qt5 Particles Demo/icon.png and /dev/null 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 Binary files /dev/null and b/basicsuite/Qt5 Particles Demo/preview_l.jpg 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 -- cgit v1.2.3