comma-not-found, binds, extensions, etc

This commit is contained in:
atagen 2025-08-19 11:08:55 +10:00
parent 7bb0a4bc31
commit 5003fc7953
9 changed files with 99 additions and 75 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 958 KiB

View file

@ -14,7 +14,7 @@ Singleton {
Timer {
id: closeTimer
interval: 400
interval: 600
running: false
repeat: false
onTriggered: launcherData.active = false
@ -36,8 +36,8 @@ Singleton {
}
Behavior on curWidth {
NumberAnimation {
duration: 400
easing.type: Easing.InOutQuad
duration: 600
easing.type: Easing.InOutExpo
}
}
}

View file

@ -64,7 +64,7 @@ Singleton {
Behavior on openness {
NumberAnimation {
duration: topLevel.openTime
easing.type: Easing.InOutQuad
easing.type: Easing.InOutExpo
}
}
}
@ -103,6 +103,11 @@ Singleton {
keyboardFocus: WlrKeyboardFocus.Exclusive
focusable: true
exclusionMode: ExclusionMode.Ignore
Item {
Keys.onPressed: event => {
console.log(event);
}
}
Rectangle {
id: gridParent
@ -117,13 +122,23 @@ Singleton {
}
property var dims: {
"h": (parent.width - margins.h) / 8,
"v": (parent.height - margins.v) / 8
"v": (parent.height - margins.v) / 12
}
anchors {
fill: parent
leftMargin: 128 - topLevel.width * (1.0 - logoutData.openness)
rightMargin: 128 + topLevel.width * (1.0 - logoutData.openness)
margins: 128
margins: parent.width / 2.5
topMargin: (parent.height / 8) + topLevel.height * (1.0 - logoutData.openness)
bottomMargin: (parent.height / 8) - topLevel.height * (1.0 - logoutData.openness)
}
topLeftRadius: 0
bottomRightRadius: 0
topRightRadius: 10
bottomLeftRadius: 10
Keys.onPressed: event => {
console.log(event);
if (event.key == Qt.Key_Escape) {
logoutData.open = false;
}
}
Column {
spacing: gridParent.margins.v
@ -134,6 +149,7 @@ Singleton {
anchors {
fill: parent
alignWhenCentered: true
verticalCenter: parent.verticalCenter
// topMargin: gridParent.margins.v
// bottomMargin: gridParent.margins.v
}
@ -143,6 +159,7 @@ Singleton {
id: button
required property int index
anchors.horizontalCenter: parent.horizontalCenter
Process {
id: thisProcess
running: false

View file

@ -31,7 +31,7 @@ ShellRoot {
asynchronous: true
width: 2560
height: 1440
source: "assets/pathway-m.png"
source: "assets/pathway-m-rework.png"
}
}
}