initial qml showing on device from IDE over SSH:

This commit is contained in:
talksik
2024-02-12 07:31:29 -08:00
commit a88e98f23e
4 changed files with 179 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
import QtQuick
import QtQuick.VirtualKeyboard
Window {
id: window
width: 640
height: 480
visible: true
title: qsTr("Hello World")
Text {
text: "Yo yo what's up"
}
InputPanel {
id: inputPanel
z: 99
x: 0
y: window.height
width: window.width
states: State {
name: "visible"
when: inputPanel.active
PropertyChanges {
target: inputPanel
y: window.height - inputPanel.height
}
}
transitions: Transition {
from: ""
to: "visible"
reversible: true
ParallelAnimation {
NumberAnimation {
properties: "y"
duration: 250
easing.type: Easing.InOutQuad
}
}
}
}
}