+
+ Flickable {
+ width: root.width
+ height: root.height
+
+ contentHeight: content.height+Const.TOP_BAR_HEIGHT+Const.SYSTEM_BAR_HEIGHT+Const.TEXT_MARGIN
+
+ Column {
+ id: content
+ spacing: Const.DEFAULT_MARGIN
+ x: Const.TEXT_MARGIN
+ width: root.width-2*Const.TEXT_MARGIN
+
+ Spacer {}
+
+ Text {
+ font.pixelSize: 30
+ color: "white"
+ text: qsTr("Ubuntu One sign in:")
+ }
+
+ Spacer {}
+
+ TextField {
+ id: user
+ placeholderText: qsTr("User ID")
+ anchors.left: parent.left
+ anchors.right: parent.right
+ }
+
+ TextField {
+ id: pass
+ placeholderText: qsTr("Password")
+ echoMode: TextInput.Password
+ anchors.left: parent.left
+ anchors.right: parent.right
+ }
+
+ Spacer {}
+
+ Button {
+ label: qsTr("Save")
+ onButtonClicked: {
+ root.getToken();
+ user.closeSoftwareInputPanel();
+ pass.closeSoftwareInputPanel();
+ }
+ anchors.left: parent.left
+ }
+ }
+ }
+