Reorder QML files to follow coding conventions
https://doc.qt.io/qt-5/qml-codingconventions.html#qml-object-declarations
This commit is contained in:
@@ -20,7 +20,6 @@ HFlickableColumnPage {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
HLabel {
|
||||
wrapMode: Text.Wrap
|
||||
horizontalAlignment: Qt.AlignHCenter
|
||||
|
@@ -21,7 +21,6 @@ HFlickableColumnPage {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
HLabel {
|
||||
wrapMode: Text.Wrap
|
||||
horizontalAlignment: Qt.AlignHCenter
|
||||
|
@@ -8,7 +8,6 @@ import "../../Base/Buttons"
|
||||
HFlickableColumnPage {
|
||||
id: page
|
||||
|
||||
|
||||
property var loginFuture: null
|
||||
|
||||
property string signInWith: "username"
|
||||
@@ -17,7 +16,6 @@ HFlickableColumnPage {
|
||||
serverField.item.text.trim() && idField.item.text.trim() &&
|
||||
passwordField.item.text && ! serverField.item.error
|
||||
|
||||
|
||||
function takeFocus() { idField.item.forceActiveFocus() }
|
||||
|
||||
function signIn() {
|
||||
@@ -95,7 +93,6 @@ HFlickableColumnPage {
|
||||
onKeyboardAccept: page.signIn()
|
||||
onKeyboardCancel: page.cancel()
|
||||
|
||||
|
||||
Timer {
|
||||
id: signInTimeout
|
||||
interval: 30 * 1000
|
||||
@@ -190,11 +187,11 @@ HFlickableColumnPage {
|
||||
Layout.fillWidth: true
|
||||
|
||||
HTextField {
|
||||
readonly property string cleanText: text.toLowerCase().trim()
|
||||
|
||||
width: parent.width
|
||||
text: "https://matrix.org"
|
||||
error: ! /.+:\/\/.+/.test(cleanText)
|
||||
|
||||
readonly property string cleanText: text.toLowerCase().trim()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user