2 Copyright (C) 2011 by Cuong Le <metacuong@gmail.com>
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>
24 anchors.fill: parent; anchors.bottomMargin: 0
33 while(img.count>0) img.remove(img.count-1);
34 var limg = Controller.getImages("/home/cuongle");
35 for (var i=0;i<limg.length;i++)
36 append({name:limg[i]})
41 anchors.fill: parent;anchors.topMargin: 35;anchors.leftMargin: 5;anchors.rightMargin: 5;anchors.bottomMargin: 12
44 Image { source: "file:"+name; anchors.horizontalCenter: parent.horizontalCenter; width:100;height:100; }
45 Text { text: "-"; anchors.horizontalCenter: parent.horizontalCenter }
52 ToolBar { id: toolBar; height: 50;
55 button1Label: "Đồng Ý"
56 button2Label: "Hủy Bỏ"
59 screen.state="menuscreen"
62 screen.state="menuscreen"