4 // anchors.fill: parent;
5 width: 300; //height: 0;
6 //anchors.top: parent.top; anchors.bottom: parent.bottom
10 config.hideReadFeeds = controller.getConfig("hideReadFeeds");
11 config.hideReadArticles = controller.getConfig("hideReadArticles");
16 id: hideReadFeedsSwitch;
17 text: qsTr("Hide Read Feeds");
18 value: config.hideReadFeeds
19 onClicked: config.hideReadFeeds = (config.hideReadFeeds == "False") ? "True" : "False"
23 id: hideReadArticlesSwitch;
24 text: qsTr("Hide Read Articles");
25 value: config.hideReadArticles
26 onClicked: config.hideReadArticles = (config.hideReadArticles == "False") ? "True" : "False"
27 anchors.top: hideReadFeedsSwitch.bottom
32 text: qsTr("Lock Rotation");
33 value: container.lockRotation ? "True" : "False"
34 onClicked: { container.lockRotation=!container.lockRotation;
35 container.selectedOrientation = (container.lockRotation) ? container.activeOrientation : Orientation.UnknownOrientation }
36 anchors.top: hideReadArticlesSwitch.bottom
41 text: qsTr("Enter Edit Mode");
42 value: container.editMode ? "True" : "False"
43 onClicked: { container.editMode=!container.editMode; }
44 anchors.top: lockRotation.bottom
62 anchors.top: editMode.bottom
66 anchors.fill: closeButton
67 onClicked: { config.isShown = false }
72 // id: configList; model: configs; delegate: configDelegate; z: 6;
73 // cacheBuffer: 100; width: parent.width; height: parent.height;
80 // //source: "http://api.flickr.com/services/feeds/photos_public.gne?"+(tags ? "tags="+tags+"&" : "")+"format=rss2"
81 // //source: "/home/ymarcoz/feedlist.xml"
82 // source: "http://localhost:8000/config"
83 // query: "/xml/config"
84 // //namespaceDeclarations: "declare namespace media=\"http://search.yahoo.com/mrss/\";"
86 // XmlRole { name: "hideReadFeeds"; query: "hideReadFeeds/string()" }
87 // XmlRole { name: "hideReadArticles"; query: "hideReadArticles/string()" }
88 // //XmlRole { name: "catid"; query: "catid/string()"; isKey: true }
97 // id: wrapper; width: wrapper.ListView.view.width; height: 86
100 // height: parent.height
101 // Rectangle { color: "black"; opacity: index % 2 ? 0.2 : 0.4; height: 84; width: wrapper.width; y: 1 }
103 // x: 6; y: 4; width: 77; height: parent.height - 9; color: "white"; smooth: true
107 // x: 92; width: wrapper.ListView.view.width - 95; y: 15; spacing: 2
108 // Text { text: title; color: "white"; width: parent.width; font.bold: true; elide: Text.ElideRight; style: Text.Raised; styleColor: "black" }
109 // //Text { text: feedname; width: parent.width; elide: Text.ElideLeft; color: "#cccccc"; style: Text.Raised; styleColor: "black" }
112 // MouseArea { anchors.fill: wrapper; onClicked: { container.categoryClicked(catid); } }
116 Component.onCompleted: getConfig();