From 6f6767f434e957a4062c827ad01196a359bb706b Mon Sep 17 00:00:00 2001 From: Yann Bodson Date: Tue, 20 Apr 2010 16:48:52 +1000 Subject: Cleanup --- demos/declarative/flickr/common/LikeOMeter.qml | 35 ---------------- demos/declarative/flickr/common/Loading.qml | 8 ---- demos/declarative/flickr/common/Star.qml | 45 --------------------- .../declarative/flickr/common/pics/background.png | Bin 60504 -> 0 bytes .../flickr/common/pics/button-pressed.png | Bin 571 -> 0 bytes .../flickr/common/pics/button-pressed.sci | 5 --- demos/declarative/flickr/common/pics/button.png | Bin 564 -> 0 bytes demos/declarative/flickr/common/pics/button.sci | 5 --- demos/declarative/flickr/common/pics/ghns_star.png | Bin 891 -> 0 bytes demos/declarative/flickr/common/pics/loading.png | Bin 813 -> 0 bytes .../declarative/flickr/common/pics/reflection.png | Bin 4839 -> 0 bytes .../flickr/common/pics/shadow-bottom.png | Bin 656 -> 0 bytes .../flickr/common/pics/shadow-corner.png | Bin 405 -> 0 bytes .../flickr/common/pics/shadow-right-screen.png | Bin 227 -> 0 bytes .../flickr/common/pics/shadow-right.png | Bin 635 -> 0 bytes demos/declarative/flickr/flickr.qml | 1 - 16 files changed, 99 deletions(-) delete mode 100644 demos/declarative/flickr/common/LikeOMeter.qml delete mode 100644 demos/declarative/flickr/common/Loading.qml delete mode 100644 demos/declarative/flickr/common/Star.qml delete mode 100644 demos/declarative/flickr/common/pics/background.png delete mode 100644 demos/declarative/flickr/common/pics/button-pressed.png delete mode 100644 demos/declarative/flickr/common/pics/button-pressed.sci delete mode 100644 demos/declarative/flickr/common/pics/button.png delete mode 100644 demos/declarative/flickr/common/pics/button.sci delete mode 100644 demos/declarative/flickr/common/pics/ghns_star.png delete mode 100644 demos/declarative/flickr/common/pics/loading.png delete mode 100644 demos/declarative/flickr/common/pics/reflection.png delete mode 100644 demos/declarative/flickr/common/pics/shadow-bottom.png delete mode 100644 demos/declarative/flickr/common/pics/shadow-corner.png delete mode 100644 demos/declarative/flickr/common/pics/shadow-right-screen.png delete mode 100644 demos/declarative/flickr/common/pics/shadow-right.png diff --git a/demos/declarative/flickr/common/LikeOMeter.qml b/demos/declarative/flickr/common/LikeOMeter.qml deleted file mode 100644 index 17e3998..0000000 --- a/demos/declarative/flickr/common/LikeOMeter.qml +++ /dev/null @@ -1,35 +0,0 @@ -import Qt 4.7 - -Item { - id: container - - property int rating: 2 - - Row { - Star { - rating: 0 - onClicked: { container.rating = rating } - on: container.rating >= 0 - } - Star { - rating: 1 - onClicked: { container.rating = rating } - on: container.rating >= 1 - } - Star { - rating: 2 - onClicked: { container.rating = rating } - on: container.rating >= 2 - } - Star { - rating: 3 - onClicked: { container.rating = rating } - on: container.rating >= 3 - } - Star { - rating: 4 - onClicked: { container.rating = rating } - on: container.rating >= 4 - } - } -} diff --git a/demos/declarative/flickr/common/Loading.qml b/demos/declarative/flickr/common/Loading.qml deleted file mode 100644 index 8daed48..0000000 --- a/demos/declarative/flickr/common/Loading.qml +++ /dev/null @@ -1,8 +0,0 @@ -import Qt 4.7 - -Image { - id: loading; source: "pics/loading.png" - NumberAnimation on rotation { - from: 0; to: 360; running: loading.visible == true; loops: Animation.Infinite; duration: 900 - } -} diff --git a/demos/declarative/flickr/common/Star.qml b/demos/declarative/flickr/common/Star.qml deleted file mode 100644 index fcca742..0000000 --- a/demos/declarative/flickr/common/Star.qml +++ /dev/null @@ -1,45 +0,0 @@ -import Qt 4.7 - -Item { - id: container - width: 24 - height: 24 - - property int rating - property bool on - signal clicked - - Image { - id: starImage - source: "pics/ghns_star.png" - x: 6 - y: 7 - opacity: 0.4 - scale: 0.5 - } - MouseArea { - anchors.fill: container - onClicked: { container.clicked() } - } - states: [ - State { - name: "on" - when: container.on == true - PropertyChanges { - target: starImage - opacity: 1 - scale: 1 - x: 1 - y: 0 - } - } - ] - transitions: [ - Transition { - NumberAnimation { - properties: "opacity,scale,x,y" - easing.type: "OutBounce" - } - } - ] -} diff --git a/demos/declarative/flickr/common/pics/background.png b/demos/declarative/flickr/common/pics/background.png deleted file mode 100644 index 5b37072..0000000 Binary files a/demos/declarative/flickr/common/pics/background.png and /dev/null differ diff --git a/demos/declarative/flickr/common/pics/button-pressed.png b/demos/declarative/flickr/common/pics/button-pressed.png deleted file mode 100644 index e434d32..0000000 Binary files a/demos/declarative/flickr/common/pics/button-pressed.png and /dev/null differ diff --git a/demos/declarative/flickr/common/pics/button-pressed.sci b/demos/declarative/flickr/common/pics/button-pressed.sci deleted file mode 100644 index b8db272..0000000 --- a/demos/declarative/flickr/common/pics/button-pressed.sci +++ /dev/null @@ -1,5 +0,0 @@ -border.left: 8 -border.top: 4 -border.bottom: 4 -border.right: 8 -source: button.png diff --git a/demos/declarative/flickr/common/pics/button.png b/demos/declarative/flickr/common/pics/button.png deleted file mode 100644 index 56a63ce..0000000 Binary files a/demos/declarative/flickr/common/pics/button.png and /dev/null differ diff --git a/demos/declarative/flickr/common/pics/button.sci b/demos/declarative/flickr/common/pics/button.sci deleted file mode 100644 index b8db272..0000000 --- a/demos/declarative/flickr/common/pics/button.sci +++ /dev/null @@ -1,5 +0,0 @@ -border.left: 8 -border.top: 4 -border.bottom: 4 -border.right: 8 -source: button.png diff --git a/demos/declarative/flickr/common/pics/ghns_star.png b/demos/declarative/flickr/common/pics/ghns_star.png deleted file mode 100644 index 4ad43cc..0000000 Binary files a/demos/declarative/flickr/common/pics/ghns_star.png and /dev/null differ diff --git a/demos/declarative/flickr/common/pics/loading.png b/demos/declarative/flickr/common/pics/loading.png deleted file mode 100644 index 47a1589..0000000 Binary files a/demos/declarative/flickr/common/pics/loading.png and /dev/null differ diff --git a/demos/declarative/flickr/common/pics/reflection.png b/demos/declarative/flickr/common/pics/reflection.png deleted file mode 100644 index c143a48..0000000 Binary files a/demos/declarative/flickr/common/pics/reflection.png and /dev/null differ diff --git a/demos/declarative/flickr/common/pics/shadow-bottom.png b/demos/declarative/flickr/common/pics/shadow-bottom.png deleted file mode 100644 index 523f6e7..0000000 Binary files a/demos/declarative/flickr/common/pics/shadow-bottom.png and /dev/null differ diff --git a/demos/declarative/flickr/common/pics/shadow-corner.png b/demos/declarative/flickr/common/pics/shadow-corner.png deleted file mode 100644 index ef8c856..0000000 Binary files a/demos/declarative/flickr/common/pics/shadow-corner.png and /dev/null differ diff --git a/demos/declarative/flickr/common/pics/shadow-right-screen.png b/demos/declarative/flickr/common/pics/shadow-right-screen.png deleted file mode 100644 index 9856c4f..0000000 Binary files a/demos/declarative/flickr/common/pics/shadow-right-screen.png and /dev/null differ diff --git a/demos/declarative/flickr/common/pics/shadow-right.png b/demos/declarative/flickr/common/pics/shadow-right.png deleted file mode 100644 index f534a35..0000000 Binary files a/demos/declarative/flickr/common/pics/shadow-right.png and /dev/null differ diff --git a/demos/declarative/flickr/flickr.qml b/demos/declarative/flickr/flickr.qml index aa550d2..ed88cf6 100644 --- a/demos/declarative/flickr/flickr.qml +++ b/demos/declarative/flickr/flickr.qml @@ -13,7 +13,6 @@ Item { Image { source: "mobile/images/stripes.png"; fillMode: Image.Tile; anchors.fill: parent; opacity: 0.3 } Common.RssModel { id: rssModel } - Common.Loading { anchors.centerIn: parent; visible: rssModel.status == 2 } Item { id: views -- cgit v0.12