1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 19:57:45 +00:00
astra/launcher/tablet/qml/main.qml

50 lines
718 B
QML
Raw Normal View History

import QtQuick 2.7
2022-06-08 12:55:22 -04:00
import QtQuick.Controls 2.15
import QtQuick.Window 2.0
ApplicationWindow {
id: window
width: 640
height: 480
visible: true
Label {
2022-06-08 12:55:22 -04:00
id: usernameLabel
2022-06-08 12:55:22 -04:00
text: "Username"
}
TextField {
id: usernameField
anchors.top: usernameLabel.bottom
}
Label {
id: passwordLabel
text: "Password"
anchors.top: usernameField.bottom
}
TextField {
id: passwordField
echoMode: TextInput.Password
anchors.top: passwordLabel.bottom
}
Button {
id: loginButton
text: "Login"
anchors.top: passwordField.bottom
onClicked: print("Hooray!");
}
}