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++

极简 pill: 载入 icon opens the sources menu

Veyra Goal Agentd0ae39e0fb39
diff --git a/qml/Veyra/CineBar.qml b/qml/Veyra/CineBar.qml
index 097b4898..c2cbd878 100644
--- a/qml/Veyra/CineBar.qml
+++ b/qml/Veyra/CineBar.qml
@@ -25,7 +25,7 @@ Rectangle {
// Set by FullscreenBar so upward menus stop above the playback pill.
property real menuBottomLimit: -1
// Any popover needs the owner window's full mask, not just the preset menu.
- readonly property bool menuOpen: presetMenu.visible || ccMenu.visible || audioMenu.visible
+ readonly property bool menuOpen: presetMenu.visible || ccMenu.visible || audioMenu.visible || loadMenu.visible
// The pointer is over the pill.
readonly property bool hovered: barHover.hovered
readonly property bool seekPreviewOpen: seekMouse.containsMouse && seekMouse.enabled
@@ -155,6 +155,8 @@ Rectangle {
TapHandler { id: cTap; gesturePolicy: TapHandler.WithinBounds; onTapped: cbtn.tapped() }
}
+ // 载入 (field request 2026-10-02): the home page's sources without leaving 极简.
+ CBtn { objectName: "cine-load"; glyph: "folder"; tip: "载入片源"; onTapped: loadMenu.openAt(this, "up") }
CBtn { glyph: "cc"; onTapped: ccMenu.openAt(this, "up") }
CBtn { glyph: "back10"; onTapped: veyra.seekBy(-10) }
@@ -451,6 +453,33 @@ Rectangle {
}
}
+ // 载入: the same six sources as the home page's cards, each opening its own dialog
+ // (or the file picker) in the main window; the pill steps aside while one is open.
+ VMenu {
+ id: loadMenu
+ objectName: "cine-load-menu"
+ aboveLimit: bar.menuBottomLimit
+ title: "载入片源"
+ items: [
+ { label: "打开视频", note: "MP4 · MKV · 图片", icon: "folder", act: "file" },
+ { label: "采集卡", note: "HDMI 采集设备", icon: "video", act: "capture" },
+ { label: "PS5 串流", note: "局域网串流", icon: "gamepad", act: "ps5" },
+ { label: "PC 串流", note: "Sunshine 主机", icon: "cast", act: "moonlight" },
+ { label: "Xbox 串流", note: "账号登录 · 实验", icon: "gamepad", act: "xbox" },
+ { label: "屏幕捕获", note: "窗口或显示器", icon: "monitor", act: "screen" }
+ ]
+ onPicked: (i, o) => {
+ switch (o.act) {
+ case "file": veyra.openFileDialog(); break
+ case "capture": veyra.openCaptureDialog(); break
+ case "ps5": veyra.openPs5Dialog(); break
+ case "moonlight": veyra.openMoonlightDialog(); break
+ case "xbox": veyra.openXboxDialog(); break
+ case "screen": veyra.openScreenCaptureDialog(); break
+ }
+ }
+ }
+
// 音轨: this one is real - the bridge exposes the file's audio streams and the
// selected index, so the list and the check mark both come from the engine.
VMenu {
diff --git a/scripts/ui-check/pill-load-menu.qml b/scripts/ui-check/pill-load-menu.qml
new file mode 100644
index 00000000..371f880d
--- /dev/null
+++ b/scripts/ui-check/pill-load-menu.qml
@@ -0,0 +1,36 @@
+
+ // ---- 极简 pill: the 载入 icon opens the sources menu; picking 采集卡 opens its dialog ----
+ function uitestFind(item, test) {
+ if (!item) return null
+ if (test(item)) return item
+ const kids = item.children || []
+ for (let k = 0; k < kids.length; ++k) { const f = uitestFind(kids[k], test); if (f) return f }
+ return null
+ }
+ Timer { interval: 150; running: true; repeat: true; onTriggered: veyra.logUi("uitest-tick", "") }
+ Timer {
+ interval: 1000; running: true; repeat: true
+ property int ticks: 0
+ onTriggered: {
+ ++ticks
+ if (ticks === 2) veyra.openUrl("@VIDEO@")
+ if (ticks === 6) {
+ const b = uitestFind(fullBar.contentItem, it => it.objectName === "cine-load")
+ if (!b) { veyra.logUi("uitest", "UITEST_FAIL no load button"); running = false; return }
+ const p = b.mapToGlobal(b.width / 2, b.height / 2)
+ veyra.logUi("uitest", "UITEST_CLICK " + p.x + " " + p.y)
+ }
+ if (ticks === 8) veyra.logUi("uitest", "UITEST_SHOT menu")
+ if (ticks === 9) {
+ const t = uitestFind(fullBar.contentItem, it => it.text === "采集卡" && it.visible)
+ if (!t) { veyra.logUi("uitest", "UITEST_FAIL menu item not found"); running = false; return }
+ const p = t.mapToGlobal(t.width / 2, t.height / 2)
+ veyra.logUi("uitest", "UITEST_CLICK " + p.x + " " + p.y)
+ }
+ if (ticks === 11) veyra.logUi("uitest", "UITEST_SHOT dialog")
+ if (ticks === 12) {
+ veyra.logUi("uitest", dialogs.dialog === "capture" ? "UITEST_DONE" : "UITEST_FAIL dialog=" + dialogs.dialog)
+ running = false
+ }
+ }
+ }