3 import "content" as Content
7 // SystemPalette { id: palette; colorGroup: SystemPalette.Active }
8 width: 420; height: 800
9 // width: 800; height: 420
10 color: "black" // "#4C4C4B" //#B5BAB4"
16 source: "content/background.png"
22 interval: 1000; repeat: true
24 triggeredOnStart: true
30 // Content.RssModel { id: xmlModel }
32 Rectangle { id: firstView
34 height: parent.height-menu.height
37 Content.SearchModel { id: schModel }
38 Content.Loading { anchors.centerIn: parent; visible: schModel.status==XmlListModel.Loading}
43 color: "#cccccc"; style: Text.Raised; styleColor: "black"; wrapMode: Text.WordWrap
44 visible: schModel.status==XmlListModel.Error; anchors.centerIn: parent
47 Content.SearchDelegate { id: schDelegate }
50 id: mainView; model: schModel.model; delegate: schDelegate;
51 width: parent.width; height: parent.height; x: 0; cacheBuffer: 100;
56 Content.RcDelegate { id: rcDelegate }
65 Rectangle { id: droite
67 anchors.verticalCenter: parent.verticalCenter
76 onClicked: { fond.state = '' }
86 anchors.left: parent.left
87 anchors.top: parent.top
92 Content.Config { id: gauche }
93 Content.UserChoice { id: userchoice }
95 Content.ShadowRectangle { id: menu
98 color: "#B39A6A" //123662"
99 anchors.bottom: parent.bottom
100 anchors.bottomMargin: 0
101 anchors.horizontalCenter: parent.horizontalCenter
106 width: parent.width-10
107 height: parent.height
108 anchors.right: parent.right
109 //anchors.rightMargin: 10
111 //anchors.fill: parent
112 anchors.horizontalCenter: parent.horizontalCenter
113 anchors.verticalCenterOffset: 8
114 // contentWidth: parent.width
115 // cellWidth: parent.width/4
116 // cellHeight: parent.height
118 Image { source: "content/vue.png"; anchors.right: parent.right;
119 anchors.verticalCenter: parent.verticalCenter
120 MouseArea { anchors.fill: parent
121 onClicked: { fond.state = "Configuration" }
136 name: "Configuration"
139 y: fond.height-gauche.height-menu.height
146 y: fond.height-userchoice.height
151 transitions: Transition {
152 NumberAnimation { properties: "x,y"; easing.type: Easing.OutBounce; easing.amplitude: 3.0; easing.period: 1.0; duration: 1000 }