feat: rebuild the interface after Haruna
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
54ad4eecf3
commit
614a31db1b
45 files changed
+3818
-798
No files matched your search
@@ -0,0 +1,44 @@
|
||||
// SPDX-FileCopyrightText: 2020 George Florea Bănuș <georgefb899@gmail.com>
|
||||
// SPDX-FileCopyrightText: 2026 Tri Vo Khac
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import org.kde.ki18n
|
||||
|
||||
Menu {
|
||||
id: root
|
||||
|
||||
required property Actions actions
|
||||
required property MpvItem mpv
|
||||
|
||||
title: KI18n.i18nc("@title:menu", "&Subtitles")
|
||||
|
||||
SubtitleTracksMenu {
|
||||
mpv: root.mpv
|
||||
isPrimary: true
|
||||
title: KI18n.i18nc("@title:menu", "Primary Subtitle")
|
||||
}
|
||||
SubtitleTracksMenu {
|
||||
mpv: root.mpv
|
||||
isPrimary: false
|
||||
title: KI18n.i18nc("@title:menu", "Secondary Subtitle")
|
||||
}
|
||||
MenuSeparator {}
|
||||
MenuItem { action: root.actions.translateSubtitle }
|
||||
MenuItem {
|
||||
action: root.actions.cancelTranslation
|
||||
visible: root.actions.cancelTranslation.enabled
|
||||
height: visible ? implicitHeight : 0
|
||||
}
|
||||
MenuSeparator {}
|
||||
MenuItem { action: root.actions.addSubtitle }
|
||||
MenuItem { action: root.actions.subtitleBigger }
|
||||
MenuItem { action: root.actions.subtitleSmaller }
|
||||
MenuItem { action: root.actions.subtitleEarlier }
|
||||
MenuItem { action: root.actions.subtitleLater }
|
||||
MenuItem { action: root.actions.subtitleDelayReset }
|
||||
MenuItem { action: root.actions.subtitleToggle }
|
||||
MenuItem { action: root.actions.subtitleCycleUp }
|
||||
MenuItem { action: root.actions.subtitleCycleDown }
|
||||
}
|
||||
Reference in new issue
Block a user