reverting header in qml

This commit is contained in:
Wayne Chen 2018-11-27 14:34:58 -08:00
parent d5e16ae920
commit d8a1c4e956
4 changed files with 15 additions and 10 deletions

View file

@ -1,8 +1,8 @@
//
// CompleteProfileBody.qml
//
// Created by Wayne Chen on 10/18/18
// Copyright 2018 High Fidelity, Inc.
// Created by Clement on 7/18/16
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html

View file

@ -1,8 +1,8 @@
//
// linkAccountBody.qml
// LinkAccountBody.qml
//
// Created by Wayne Chen on 10/18/18
// Copyright 2018 High Fidelity, Inc.
// Created by Clement on 7/18/16
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
@ -20,6 +20,7 @@ import TabletScriptingInterface 1.0
Item {
id: linkAccountBody
clip: true
focus: true
height: root.height
width: root.width
property int textFieldHeight: 31
@ -477,7 +478,7 @@ Item {
root.text = "";
d.resize();
init();
emailField.focus = true;
emailField.forceActiveFocus();
}
Keys.onPressed: {
@ -492,6 +493,10 @@ Item {
Settings.setValue("keepMeLoggedIn/savedUsername", emailField.text);
linkAccountBody.login();
break;
case Qt.Key_Escape:
event.accepted = true;
root.tryDestroy();
break;
}
}
}

View file

@ -1,8 +1,8 @@
//
// SignInBody.qml
//
// Created by Wayne Chen on 10/18/18
// Copyright 2018 High Fidelity, Inc.
// Created by Stephen Birarda on 7 Dec 2016
// Copyright 2016 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html

View file

@ -1,8 +1,8 @@
//
// UsernameCollisionBody.qml
//
// Created by Wayne Chen on 10/18/18
// Copyright 2018 High Fidelity, Inc.
// Created by Clement on 7/18/16
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html