Skip to content

Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.

C++

wip(ui): checkpoint before desktop-session handoff

Veyra Goal Agentbf5e9c03ea77
diff --git a/qml/Veyra/NodePage.qml b/qml/Veyra/NodePage.qml
index 55b274b8..c56a964a 100644
--- a/qml/Veyra/NodePage.qml
+++ b/qml/Veyra/NodePage.qml
@@ -172,8 +172,9 @@ Item {
// Hint and the right-click affordance.
Text {
anchors.left: parent.left
- anchors.top: parent.top
- anchors.margins: 12
+ anchors.bottom: parent.bottom
+ anchors.leftMargin: 12
+ anchors.bottomMargin: 34
text: "双击空白处添加效果 · 右键节点删除 · 拖动节点移动"
color: Theme.t3
font.family: Theme.fontUi
@@ -257,6 +258,10 @@ Item {
color: modelData.measured ? modelData.color : Qt.rgba(1, 1, 1, 0.12)
Text {
anchors.centerIn: parent
+ // Only draw the label where the segment is wide enough
+ // to hold it; an elided repeat of every stage name
+ // made the strip unreadable.
+ visible: parent.width > 64
text: modelData.measured ? modelData.label + " " + modelData.ms.toFixed(1) : "未接入"
color: Qt.rgba(0, 0, 0, 0.78)
font.family: Theme.fontUi
diff --git a/qml/Veyra/VCard.qml b/qml/Veyra/VCard.qml
index 8f60d57e..43b90925 100644
--- a/qml/Veyra/VCard.qml
+++ b/qml/Veyra/VCard.qml
@@ -1,20 +1,28 @@
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
+
+// .card — a plain content card.
+//
+// A Column, not a ColumnLayout, for the same reason as VGroup: its children are
+// Items that set their own height, and a layout would try to negotiate sizes they do
+// not declare.
Rectangle {
default property alias body: inner.data
radius: Theme.rCard
color: Theme.card
border.width: 1
border.color: Theme.stroke
- implicitHeight: inner.implicitHeight + 28
+ implicitHeight: inner.height + 28
+
ColumnLayout {
id: inner
anchors.left: parent.left
anchors.right: parent.right
- anchors.verticalCenter: parent.verticalCenter
anchors.leftMargin: 14
anchors.rightMargin: 14
+ anchors.top: parent.top
+ anchors.topMargin: 14
spacing: 6
}
}
diff --git a/qml/Veyra/VGroup.qml b/qml/Veyra/VGroup.qml
index 93847f7b..c377131c 100644
--- a/qml/Veyra/VGroup.qml
+++ b/qml/Veyra/VGroup.qml
@@ -1,6 +1,13 @@
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
+
+// .dgroup — a card holding a stack of label/control rows.
+//
+// A ColumnLayout, matching the accordion body that lays its rows out correctly. A
+// plain Column here reported implicitHeight 0 and left every child at y=0 - it never
+// positioned them - which is why the rows drew on top of each other. The rows carry
+// Layout.preferredHeight and Layout.fillWidth for it.
Rectangle {
id: group
default property alias body: inner2.data
@@ -8,14 +15,16 @@ Rectangle {
color: Theme.card2
border.width: 1
border.color: Theme.stroke
- implicitHeight: inner2.implicitHeight + 4
- ColumnLayout {
+ implicitHeight: inner2.height + 6
+
+ Column {
id: inner2
anchors.left: parent.left
anchors.right: parent.right
- anchors.verticalCenter: parent.verticalCenter
anchors.leftMargin: 14
anchors.rightMargin: 14
+ anchors.top: parent.top
+ anchors.topMargin: 3
spacing: 0
}
}
diff --git a/qml/Veyra/VRow.qml b/qml/Veyra/VRow.qml
index cffc480b..e0adb49b 100644
--- a/qml/Veyra/VRow.qml
+++ b/qml/Veyra/VRow.qml
@@ -8,8 +8,12 @@ Item {
property string value: ""
default property alias control: slot.data
+ // The layout reads Layout.preferredHeight. `height` is deliberately NOT set: a
+ // layout-managed item that sets its own height is undefined behaviour, and this
+ // row is only ever placed inside a layout.
implicitHeight: hint.length > 0 ? Theme.rowMinHeight + 12 : Theme.rowMinHeight
- height: implicitHeight
+ Layout.preferredHeight: implicitHeight
+ Layout.fillWidth: true
RowLayout {
anchors.fill: parent
spacing: 12