some UI changes for usability
[makneto-zunavac1.git] / src / ui-mobile / declarative / ContactListScene.qml
blobf812cc7bb9fff1ffa0fd4d58bcfa0074613f3b60
1 /*
2  *   Copyright (C) 2011 Lukáš Karas <lukas.karas@centrum.cz>
3  *
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.
8  *
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.
13  *
14  *   You should have received a copy of the GNU General Public License
15  *   along with this program; if not, write to the
16  *   Free Software Foundation, Inc.,
17  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18  */
19 import QtQuick 1.0
21 Scene {
22     id: contactListScene
24     function log(msg){
25         console.log("II [ContactListScene.qml]: "+msg);
26     }
27     function error(msg){
28         console.log("EE [ContactListScene.qml]: "+msg);
29     }
30     function warn(msg){
31         console.log("WW [ContactListScene.qml]: "+msg);
32     }
34     ContactList{
35         id: contactList
36         anchors.top: contactListPanel.bottom
37         anchors.left: parent.left;
38         anchors.bottom: parent.bottom
39         width: contactListPanel.width
40     }
42     ContactListPanel{
43         id: contactListPanel
44         anchors.top: parent.top
45         anchors.left: parent.left;
46         anchors.right: parent.right
47         //height: 45
48     }