Bugfixes on Maemo5 platform
[quicknewsreader] / qml / QuickNewsReader / content / view / GoogleReaderConfig.qml
1 import QtQuick 1.0
2
3 Rectangle {
4     // Login : [text entry]
5     // Password : [pwd entry]
6     color: "transparent"
7
8     property alias loginValue: inputLogin.text
9     property alias passwordValue: inputPwd.text
10
11     Column {
12         anchors.fill: parent
13         anchors.margins: 30
14         spacing: 10
15
16         Row {
17             anchors.left: parent.left
18             anchors.leftMargin: 10
19             anchors.right: parent.right
20             anchors.rightMargin: 10
21
22             Text {
23                 id: labelLogin
24                 color: "white"
25                 anchors.verticalCenter: parent.verticalCenter
26                 width: 150
27                 text: qsTr("Login")
28                 font.pixelSize: 24
29                 font.bold: true
30             }
31
32             LineInput {
33                 id: inputLogin
34                 width: parent.width - 150 - 10 - 10
35                 anchors.verticalCenter: parent.verticalCenter
36             }
37         }
38
39         Row {
40             anchors.left: parent.left
41             anchors.leftMargin: 10
42             anchors.right: parent.right
43             anchors.rightMargin: 10
44
45             Text {
46                 id: labelPwd
47                 color: "white"
48                 anchors.verticalCenter: parent.verticalCenter
49                 width: 150
50                 text: qsTr("Password")
51                 font.pixelSize: 24
52                 font.bold: true
53             }
54
55             LineInput {
56                 id: inputPwd
57                 width: parent.width - 150 - 10 - 10
58                 anchors.verticalCenter: parent.verticalCenter
59                 // password specific
60                 input.echoMode: TextInput.Password
61             }
62         }
63     }
64 }