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++
feat(ui): transcribe the design tokens and component library
Veyra Goal Agent9d9e03278e30
diff --git a/qml/Veyra/Theme.qml b/qml/Veyra/Theme.qmlindex 884c9b15..677d71a6 100644--- a/qml/Veyra/Theme.qml+++ b/qml/Veyra/Theme.qml@@ -1,27 +1,31 @@-// Design tokens, ported from the approved browser prototype-// (prototypes/ui-redesign-2026-09-25/app.css) so the QML build and the-// prototype that was signed off cannot drift apart.+// Design tokens, transcribed from the approved prototype's app.css.//-// Single dark look on purpose: the user asked for deep black with a slight-// gradient instead of the old translucent glass, and there is no light theme.+// Every value here is copied from the prototype rather than chosen. That is the+// point of this file: the interface has to match the approved design, so the+// numbers live in one place that can be diffed against app.css.pragma Singletonimport QtQuickQtObject {- // --- surfaces ---------------------------------------------------------- readonly property color background: "#070709"- readonly property color backgroundTop: "#17171C"- readonly property color backgroundMid: "#0C0C10"+ // --- surfaces (app.css .vy) -------------------------------------------readonly property color card: "#131317"readonly property color card2: "#19191E"readonly property color card3: "#24242A"+ readonly property color popover: "#1B1B20"+ readonly property color dialog: "#141418"readonly property color stroke: Qt.rgba(1, 1, 1, 0.07)readonly property color stroke2: Qt.rgba(1, 1, 1, 0.13)+ // The app background: a radial gradient in the prototype, approximated here+ // with the three stops it interpolates between.+ readonly property color bgOuter: "#070709"+ readonly property color bgMid: "#0C0C10"+ readonly property color bgInner: "#17171C"+ readonly property color videoBlack: "#000000"// --- text -------------------------------------------------------------- readonly property color text1: "#F3F3F5"- readonly property color text2: Qt.rgba(0.953, 0.953, 0.961, 0.62)- readonly property color text3: Qt.rgba(0.953, 0.953, 0.961, 0.38)+ readonly property color t1: "#F3F3F5"+ readonly property color t2: Qt.rgba(0.953, 0.953, 0.961, 0.62)+ readonly property color t3: Qt.rgba(0.953, 0.953, 0.961, 0.38)// --- accent and state -------------------------------------------------readonly property color accent: "#FF8A3D"@@ -29,40 +33,50 @@ QtObject {readonly property color accentSoft: Qt.rgba(1, 0.541, 0.239, 0.14)readonly property color accentGlow: Qt.rgba(1, 0.541, 0.239, 0.35)readonly property color ok: "#3DDC84"+ readonly property color okGlow: Qt.rgba(0.239, 0.863, 0.518, 0.16)readonly property color warn: "#F5C84B"+ readonly property color warnGlow: Qt.rgba(0.961, 0.784, 0.294, 0.16)readonly property color err: "#FF5D5D"- readonly property color experimental: "#B79BFF"+ readonly property color errGlow: Qt.rgba(1, 0.365, 0.365, 0.16)+ readonly property color exp: "#B79BFF"+ readonly property color expSoft: Qt.rgba(0.718, 0.608, 1.0, 0.14)- // --- geometry ---------------------------------------------------------- // The window radius is small because Windows' own default is small; the- // video itself is NEVER rounded (rounding crops the picture), which is why- // there is no radius token used anywhere near the video host.- readonly property int radiusWindow: 8- readonly property int radiusCard: 14- readonly property int radiusControl: 10+ // --- geometry (--r-win / --r-card / --r-ctl) --------------------------+ // The window radius is 8px, small, because Windows' own default is small.+ // The video surface is NEVER rounded: .video in the prototype carries+ // border-radius:0!important because rounding crops the picture.+ readonly property int rWindow: 8+ readonly property int rCard: 14+ readonly property int rCtl: 10- // --- motion ------------------------------------------------------------ // Elastic by request. The durations are short: this is a player, and an- // interface that animates for half a second gets in the way of playback.- readonly property int durationFast: 120- readonly property int durationNormal: 220- readonly property int durationSlow: 380- // Overshooting curves, the QML equivalent of the prototype's- // cubic-bezier(.34,1.56,.64,1). QEasingCurve.BezierSpline takes exactly four- // control points; passing six made every animation log "Invalid bezier curve"- // and fall back to linear, which is why the interface did not spring.+ // --- motion (--spring / --spring-soft / --out) ------------------------+ // Four control points exactly: QEasingCurve.BezierSpline rejects any other+ // count, and a rejected curve silently falls back to linear.+ readonly property int durFast: 150+ readonly property int durNormal: 240+ readonly property int durSlow: 450readonly property var spring: [0.34, 1.56, 0.64, 1.0]readonly property var springSoft: [0.22, 1.25, 0.36, 1.0]readonly property var easeOut: [0.2, 0.8, 0.2, 1.0]- // --- type -------------------------------------------------------------+ // --- type (--f-ui / --f-mono and the .h1/.h2/.h3 scale) ---------------readonly property string fontUi: "Microsoft YaHei UI"readonly property string fontMono: "Consolas"- readonly property int fontSizeSmall: 12- readonly property int fontSizeBody: 13- readonly property int fontSizeTitle: 16- readonly property int fontSizeHeading: 22+ readonly property int fsEyebrow: 11+ readonly property int fsSmall: 11.5+ readonly property int fsBody: 12.5+ readonly property int fsH3: 15+ readonly property int fsH2: 18+ readonly property int fsH1: 26- readonly property int spacing: 8- readonly property int gutter: 16+ // --- component metrics from the CSS -----------------------------------+ readonly property int ctlHeight: 32 // .btn / .pill+ readonly property int rowMinHeight: 38 // .row+ readonly property int switchWidth: 34 // .sw+ readonly property int switchHeight: 20+ readonly property int switchKnob: 14+ readonly property int sliderKnob: 13+ readonly property int tagHeight: 20+ readonly property int dialogWidth: 640+ readonly property int popoverMinWidth: 220}diff --git a/qml/Veyra/VButton.qml b/qml/Veyra/VButton.qmlnew file mode 100644index 00000000..eb250370--- /dev/null+++ b/qml/Veyra/VButton.qml@@ -0,0 +1,37 @@+import QtQuick+import QtQuick.Controls+import QtQuick.Layouts+Rectangle {+ id: btn+ property string text: ""+ property bool primary: false+ property bool ghost: false+ property bool icon: false+ property string glyph: ""+ signal clicked()++ implicitWidth: icon ? Theme.ctlHeight : (label.implicitWidth + 24)+ implicitHeight: Theme.ctlHeight+ radius: Theme.rCtl+ color: primary ? Theme.accent+ : ghost ? (hover.hovered ? Qt.rgba(1, 1, 1, 0.07) : "transparent")+ : (hover.hovered ? Theme.card3 : Theme.card2)+ border.width: (primary || ghost) ? 0 : 1+ border.color: hover.hovered ? Qt.rgba(1, 1, 1, 0.2) : Theme.stroke2+ Behavior on color { ColorAnimation { duration: Theme.durFast } }+ // .btn:active { transform: scale(.95) }+ scale: tap.pressed ? 0.95 : 1.0+ Behavior on scale { NumberAnimation { duration: 400; easing.bezierCurve: Theme.spring } }++ Text {+ id: label+ anchors.centerIn: parent+ text: btn.glyph.length > 0 ? btn.glyph + (btn.text.length > 0 ? " " + btn.text : "") : btn.text+ color: btn.primary ? Theme.accentInk : (btn.ghost ? Theme.t2 : Theme.t1)+ font.family: Theme.fontUi+ font.pixelSize: Theme.fsBody+ font.weight: btn.primary ? Font.DemiBold : Font.Medium+ }+ HoverHandler { id: hover; cursorShape: Qt.PointingHandCursor }+ TapHandler { id: tap; onTapped: btn.clicked() }+}diff --git a/qml/Veyra/VCard.qml b/qml/Veyra/VCard.qmlnew file mode 100644index 00000000..b9900f4e--- /dev/null+++ b/qml/Veyra/VCard.qml@@ -0,0 +1,16 @@+import QtQuick+import QtQuick.Controls+import QtQuick.Layouts+Rectangle {+ default property alias body: inner.data+ radius: Theme.rCard+ color: Theme.card+ border.width: 1+ border.color: Theme.stroke+ implicitHeight: inner.childrenRect.height + 28+ Item {+ id: inner+ anchors.fill: parent+ anchors.margins: 14+ }+}diff --git a/qml/Veyra/VDot.qml b/qml/Veyra/VDot.qmlnew file mode 100644index 00000000..99dab8e5--- /dev/null+++ b/qml/Veyra/VDot.qml@@ -0,0 +1,25 @@+import QtQuick+import QtQuick.Controls+import QtQuick.Layouts+Rectangle {+ property bool warn: false+ property bool err: false+ property bool off: false+ width: 7; height: 7; radius: 3.5+ color: err ? Theme.err : warn ? Theme.warn : off ? Theme.t3 : Theme.ok+ Rectangle {+ anchors.centerIn: parent+ width: 13; height: 13; radius: 6.5+ z: -1+ color: "transparent"+ border.width: 3+ border.color: err ? Theme.errGlow : warn ? Theme.warnGlow : off ? "transparent" : Theme.okGlow+ }+ // .dot.warn { animation: pulse 1.2s infinite }+ SequentialAnimation on opacity {+ running: warn+ loops: Animation.Infinite+ NumberAnimation { to: 0.35; duration: 600 }+ NumberAnimation { to: 1.0; duration: 600 }+ }+}diff --git a/qml/Veyra/VEyebrow.qml b/qml/Veyra/VEyebrow.qmlnew file mode 100644index 00000000..d70ff538--- /dev/null+++ b/qml/Veyra/VEyebrow.qml@@ -0,0 +1,8 @@+import QtQuick++Text {+ color: Theme.t3+ font.family: Theme.fontUi+ font.pixelSize: Theme.fsEyebrow+ font.letterSpacing: 0.08 * Theme.fsEyebrow+}diff --git a/qml/Veyra/VGroup.qml b/qml/Veyra/VGroup.qmlnew file mode 100644index 00000000..3ef7ab8d--- /dev/null+++ b/qml/Veyra/VGroup.qml@@ -0,0 +1,20 @@+import QtQuick+import QtQuick.Controls+import QtQuick.Layouts+Rectangle {+ id: group+ default property alias body: inner2.data+ radius: 12+ color: Theme.card2+ border.width: 1+ border.color: Theme.stroke+ implicitHeight: inner2.childrenRect.height + 4+ Column {+ id: inner2+ anchors.left: parent.left+ anchors.right: parent.right+ anchors.verticalCenter: parent.verticalCenter+ anchors.leftMargin: 14+ anchors.rightMargin: 14+ }+}diff --git a/qml/Veyra/VH1.qml b/qml/Veyra/VH1.qmlnew file mode 100644index 00000000..530d24fa--- /dev/null+++ b/qml/Veyra/VH1.qml@@ -0,0 +1,8 @@+import QtQuick++Text {+ color: Theme.t1+ font.family: Theme.fontUi+ font.pixelSize: Theme.fsH1+ font.weight: Font.DemiBold+}diff --git a/qml/Veyra/VH2.qml b/qml/Veyra/VH2.qmlnew file mode 100644index 00000000..b65fc363--- /dev/null+++ b/qml/Veyra/VH2.qml@@ -0,0 +1,8 @@+import QtQuick++Text {+ color: Theme.t1+ font.family: Theme.fontUi+ font.pixelSize: Theme.fsH2+ font.weight: Font.DemiBold+}diff --git a/qml/Veyra/VH3.qml b/qml/Veyra/VH3.qmlnew file mode 100644index 00000000..fd89ef67--- /dev/null+++ b/qml/Veyra/VH3.qml@@ -0,0 +1,8 @@+import QtQuick++Text {+ color: Theme.t1+ font.family: Theme.fontUi+ font.pixelSize: Theme.fsH3+ font.weight: Font.DemiBold+}diff --git a/qml/Veyra/VPill.qml b/qml/Veyra/VPill.qmlnew file mode 100644index 00000000..50ea3875--- /dev/null+++ b/qml/Veyra/VPill.qml@@ -0,0 +1,26 @@+import QtQuick+import QtQuick.Controls+import QtQuick.Layouts+Rectangle {+ id: pill+ property string key: ""+ property string value: ""+ signal clicked()+ implicitWidth: pillRow.implicitWidth + 21+ implicitHeight: Theme.ctlHeight+ radius: 999+ color: hover.hovered ? Qt.rgba(1, 1, 1, 0.10) : Qt.rgba(1, 1, 1, 0.05)+ border.width: 1+ border.color: Theme.stroke2+ scale: tap.pressed ? 0.95 : 1.0+ Behavior on scale { NumberAnimation { duration: 400; easing.bezierCurve: Theme.spring } }+ RowLayout {+ id: pillRow+ anchors.centerIn: parent+ spacing: 7+ Text { text: pill.key; color: Theme.t3; font.family: Theme.fontUi; font.pixelSize: Theme.fsBody }+ Text { text: pill.value; color: Theme.t1; font.family: Theme.fontUi; font.pixelSize: Theme.fsBody; font.weight: Font.Medium }+ }+ HoverHandler { id: hover; cursorShape: Qt.PointingHandCursor }+ TapHandler { id: tap; onTapped: pill.clicked() }+}diff --git a/qml/Veyra/VRow.qml b/qml/Veyra/VRow.qmlnew file mode 100644index 00000000..d4de53bf--- /dev/null+++ b/qml/Veyra/VRow.qml@@ -0,0 +1,44 @@+import QtQuick+import QtQuick.Controls+import QtQuick.Layouts+Item {+ id: row+ property string label: ""+ property string hint: ""+ property string value: ""+ default property alias control: slot.data++ implicitHeight: hint.length > 0 ? Theme.rowMinHeight + 12 : Theme.rowMinHeight+ RowLayout {+ anchors.fill: parent+ spacing: 12+ ColumnLayout {+ Layout.fillWidth: true+ spacing: 2+ Text { text: row.label; color: Theme.t2; font.family: Theme.fontUi; font.pixelSize: Theme.fsBody }+ Text {+ visible: row.hint.length > 0+ text: row.hint+ color: Theme.t3+ font.family: Theme.fontUi+ font.pixelSize: 11+ wrapMode: Text.WordWrap+ Layout.fillWidth: true+ }+ }+ Item {+ id: slot+ Layout.preferredWidth: childrenRect.width+ Layout.preferredHeight: childrenRect.height+ }+ Text {+ visible: row.value.length > 0+ text: row.value+ color: Theme.t1+ font.family: Theme.fontMono+ font.pixelSize: Theme.fsSmall+ Layout.minimumWidth: 40+ horizontalAlignment: Text.AlignRight+ }+ }+}diff --git a/qml/Veyra/VSeg.qml b/qml/Veyra/VSeg.qmlnew file mode 100644index 00000000..5e558536--- /dev/null+++ b/qml/Veyra/VSeg.qml@@ -0,0 +1,48 @@+import QtQuick+import QtQuick.Controls+import QtQuick.Layouts+Rectangle {+ id: seg+ property var options: [] // [{ id, label }]+ property string current: ""+ signal picked(string id)++ implicitWidth: segRow.implicitWidth + 6+ implicitHeight: 30+ radius: Theme.rCtl+ color: Qt.rgba(1, 1, 1, 0.05)+ border.width: 1+ border.color: Theme.stroke++ RowLayout {+ id: segRow+ anchors.centerIn: parent+ spacing: 0+ Repeater {+ model: seg.options+ delegate: Item {+ required property var modelData+ implicitWidth: segLabel.implicitWidth + 20+ implicitHeight: 24+ Rectangle {+ anchors.fill: parent+ anchors.margins: 0+ radius: 7+ color: seg.current === modelData.id ? Theme.card3 : "transparent"+ Behavior on color { ColorAnimation { duration: Theme.durFast } }+ }+ Text {+ id: segLabel+ anchors.centerIn: parent+ text: modelData.label+ color: seg.current === modelData.id ? Theme.t1 : Theme.t2+ font.family: Theme.fontUi+ font.pixelSize: Theme.fsBody+ font.weight: Font.Medium+ }+ HoverHandler { cursorShape: Qt.PointingHandCursor }+ TapHandler { onTapped: seg.picked(modelData.id) }+ }+ }+ }+}diff --git a/qml/Veyra/VSelect.qml b/qml/Veyra/VSelect.qmlnew file mode 100644index 00000000..87604ad8--- /dev/null+++ b/qml/Veyra/VSelect.qml@@ -0,0 +1,47 @@+import QtQuick+import QtQuick.Controls+import QtQuick.Layouts+Rectangle {+ id: sel+ property string value: ""+ property var options: [] // [{ id, label }]+ signal picked(string id)++ implicitWidth: 150+ implicitHeight: 30+ radius: 9+ color: hover.hovered ? Qt.rgba(1, 1, 1, 0.09) : Qt.rgba(1, 1, 1, 0.05)+ border.width: 1+ border.color: Theme.stroke+ HoverHandler { id: hover; cursorShape: Qt.PointingHandCursor }+ TapHandler { onTapped: menu.popup() }++ RowLayout {+ anchors.fill: parent+ anchors.leftMargin: 12+ anchors.rightMargin: 10+ Text {+ Layout.fillWidth: true+ text: sel.value+ color: Theme.t1+ font.family: Theme.fontUi+ font.pixelSize: Theme.fsBody+ font.weight: Font.Medium+ elide: Text.ElideRight+ }+ Text { text: "▾"; color: Theme.t3; font.pixelSize: 10 }+ }++ Menu {+ id: menu+ width: Math.max(sel.width, 180)+ Repeater {+ model: sel.options+ delegate: MenuItem {+ required property var modelData+ text: modelData.label+ onTriggered: sel.picked(modelData.id)+ }+ }+ }+}diff --git a/qml/Veyra/VSlider.qml b/qml/Veyra/VSlider.qmlnew file mode 100644index 00000000..220e056f--- /dev/null+++ b/qml/Veyra/VSlider.qml@@ -0,0 +1,64 @@+import QtQuick+import QtQuick.Controls+import QtQuick.Layouts+Item {+ id: slider+ property real value: 0+ property real from: 0+ property real to: 1+ property bool center: false // fill from the middle instead of the left+ property bool enabledControl: true+ signal moved(real value)++ implicitHeight: 20+ implicitWidth: 160+ readonly property real frac: (to > from) ? Math.max(0, Math.min(1, (value - from) / (to - from))) : 0++ Rectangle {+ id: track+ anchors.verticalCenter: parent.verticalCenter+ width: parent.width+ height: 4+ radius: 9+ color: Qt.rgba(1, 1, 1, 0.12)+ }+ Rectangle {+ anchors.verticalCenter: track.verticalCenter+ height: 4+ radius: 9+ color: Theme.accent+ visible: !slider.center+ width: track.width * slider.frac+ x: 0+ }+ Rectangle {+ id: knob+ width: Theme.sliderKnob+ height: Theme.sliderKnob+ radius: width / 2+ color: "#FFFFFF"+ anchors.verticalCenter: track.verticalCenter+ x: track.width * slider.frac - width / 2+ scale: drag.active || hover.hovered ? 1.25 : 1.0+ Behavior on scale { NumberAnimation { duration: 350; easing.bezierCurve: Theme.spring } }+ }+ HoverHandler { id: hover; cursorShape: Qt.PointingHandCursor; enabled: slider.enabledControl }+ DragHandler {+ id: drag+ target: null+ enabled: slider.enabledControl+ onActiveTranslationChanged: {+ const x = Math.max(0, Math.min(track.width, knob.x + activeTranslation.x + knob.width / 2))+ slider.value = slider.from + (x / track.width) * (slider.to - slider.from)+ }+ onActiveChanged: if (!active) slider.moved(slider.value)+ }+ TapHandler {+ enabled: slider.enabledControl+ onTapped: point => {+ const x = Math.max(0, Math.min(track.width, point.position.x))+ slider.value = slider.from + (x / track.width) * (slider.to - slider.from)+ slider.moved(slider.value)+ }+ }+}diff --git a/qml/Veyra/VSwitch.qml b/qml/Veyra/VSwitch.qmlnew file mode 100644index 00000000..69088aff--- /dev/null+++ b/qml/Veyra/VSwitch.qml@@ -0,0 +1,27 @@+import QtQuick+import QtQuick.Controls+import QtQuick.Layouts+Rectangle {+ id: sw+ property bool checked: false+ signal toggled(bool checked)+ width: Theme.switchWidth+ height: Theme.switchHeight+ radius: 99+ color: checked ? Theme.accent : Qt.rgba(1, 1, 1, 0.14)+ Behavior on color { ColorAnimation { duration: 250 } }++ Rectangle {+ id: knob+ width: tap.pressed ? 18 : Theme.switchKnob+ height: Theme.switchKnob+ radius: height / 2+ color: sw.checked ? Theme.accentInk : "#FFFFFF"+ anchors.verticalCenter: parent.verticalCenter+ x: sw.checked ? (parent.width - width - 3) : 3+ Behavior on x { NumberAnimation { duration: 500; easing.bezierCurve: Theme.spring } }+ Behavior on width { NumberAnimation { duration: 200 } }+ }+ HoverHandler { cursorShape: Qt.PointingHandCursor }+ TapHandler { id: tap; onTapped: { sw.checked = !sw.checked; sw.toggled(sw.checked) } }+}diff --git a/qml/Veyra/VTag.qml b/qml/Veyra/VTag.qmlnew file mode 100644index 00000000..8c7af5d5--- /dev/null+++ b/qml/Veyra/VTag.qml@@ -0,0 +1,29 @@+import QtQuick+import QtQuick.Controls+import QtQuick.Layouts+Rectangle {+ id: tag+ property string text: ""+ property string kind: "" // "" | "exp" | "acc" | "warn" | "ok"+ implicitWidth: tagText.implicitWidth + 14+ implicitHeight: Theme.tagHeight+ radius: 6+ color: kind === "exp" ? Theme.expSoft+ : kind === "acc" ? Theme.accentSoft+ : kind === "warn" ? Qt.rgba(0.961, 0.784, 0.294, 0.13)+ : kind === "ok" ? Qt.rgba(0.239, 0.863, 0.518, 0.12)+ : Qt.rgba(1, 1, 1, 0.07)+ Text {+ id: tagText+ anchors.centerIn: parent+ text: tag.text+ color: tag.kind === "exp" ? Theme.exp+ : tag.kind === "acc" ? Theme.accent+ : tag.kind === "warn" ? Theme.warn+ : tag.kind === "ok" ? Theme.ok+ : Theme.t2+ font.family: Theme.fontUi+ font.pixelSize: 11+ font.weight: Font.DemiBold+ }+}diff --git a/qml/Veyra/qmldir b/qml/Veyra/qmldirindex f5085734..e46d10ca 100644--- a/qml/Veyra/qmldir+++ b/qml/Veyra/qmldir@@ -1,13 +1,18 @@module Veyrasingleton Theme 1.0 Theme.qml+VButton 1.0 VButton.qml+VCard 1.0 VCard.qml+VDot 1.0 VDot.qml+VEyebrow 1.0 VEyebrow.qml+VGroup 1.0 VGroup.qml+VH1 1.0 VH1.qml+VH2 1.0 VH2.qml+VH3 1.0 VH3.qml+VPill 1.0 VPill.qml+VRow 1.0 VRow.qml+VSeg 1.0 VSeg.qml+VSelect 1.0 VSelect.qml+VSlider 1.0 VSlider.qml+VSwitch 1.0 VSwitch.qml+VTag 1.0 VTag.qmlMain 1.0 Main.qml-TopDock 1.0 TopDock.qml-HomePage 1.0 HomePage.qml-MinimalPage 1.0 MinimalPage.qml-ProPage 1.0 ProPage.qml-NodePage 1.0 NodePage.qml-ExportPage 1.0 ExportPage.qml-SettingsPage 1.0 SettingsPage.qml-TimingBar 1.0 TimingBar.qml-ChainList 1.0 ChainList.qml-ChainNodeCard 1.0 ChainNodeCard.qml