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,53 @@
|
||||
// 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 QtQuick.Layouts
|
||||
import org.kde.ki18n
|
||||
|
||||
SettingsBasePage {
|
||||
id: root
|
||||
|
||||
GridLayout {
|
||||
columns: 2
|
||||
|
||||
Label {
|
||||
text: KI18n.i18nc("@label:spinbox", "Font size")
|
||||
Layout.alignment: Qt.AlignRight
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
SpinBox {
|
||||
from: 20
|
||||
to: 150
|
||||
stepSize: 2
|
||||
value: QtPotatoSettings.subtitleFontSize
|
||||
onValueModified: {
|
||||
QtPotatoSettings.subtitleFontSize = value
|
||||
QtPotatoSettings.save()
|
||||
}
|
||||
}
|
||||
|
||||
ToolTipButton {
|
||||
toolTipText: KI18n.i18nc("@info:tooltip", "Font size and outline apply to translated and plain-text subtitles. Styled subtitles (ASS) keep the look they were made with. The font itself comes from sub-font in mpv.conf.")
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
text: KI18n.i18nc("@label:spinbox", "Outline size")
|
||||
Layout.alignment: Qt.AlignRight
|
||||
}
|
||||
|
||||
SpinBox {
|
||||
from: 0
|
||||
to: 10
|
||||
value: QtPotatoSettings.subtitleOutlineSize
|
||||
onValueModified: {
|
||||
QtPotatoSettings.subtitleOutlineSize = value
|
||||
QtPotatoSettings.save()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user