forked from Shinonome/dots-hyprland
Merge branch 'main' into main
This commit is contained in:
@@ -178,6 +178,7 @@ Variants {
|
|||||||
StyledImage {
|
StyledImage {
|
||||||
id: wallpaper
|
id: wallpaper
|
||||||
visible: opacity > 0 && !blurLoader.active
|
visible: opacity > 0 && !blurLoader.active
|
||||||
|
opacity: (status === Image.Ready && !bgRoot.wallpaperIsVideo) ? 1 : 0
|
||||||
cache: false
|
cache: false
|
||||||
smooth: false
|
smooth: false
|
||||||
// Range = groups that workspaces span on
|
// Range = groups that workspaces span on
|
||||||
|
|||||||
@@ -19,12 +19,14 @@ RowLayout {
|
|||||||
spacing: 10
|
spacing: 10
|
||||||
OptionalMaterialSymbol {
|
OptionalMaterialSymbol {
|
||||||
icon: root.icon
|
icon: root.icon
|
||||||
|
opacity: root.enabled ? 1 : 0.4
|
||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
id: labelWidget
|
id: labelWidget
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
text: root.text
|
text: root.text
|
||||||
color: Appearance.colors.colOnSecondaryContainer
|
color: Appearance.colors.colOnSecondaryContainer
|
||||||
|
opacity: root.enabled ? 1 : 0.4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ RippleButton {
|
|||||||
spacing: 10
|
spacing: 10
|
||||||
OptionalMaterialSymbol {
|
OptionalMaterialSymbol {
|
||||||
icon: root.buttonIcon
|
icon: root.buttonIcon
|
||||||
|
opacity: root.enabled ? 1 : 0.4
|
||||||
iconSize: Appearance.font.pixelSize.larger
|
iconSize: Appearance.font.pixelSize.larger
|
||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
@@ -26,6 +27,7 @@ RippleButton {
|
|||||||
text: root.text
|
text: root.text
|
||||||
font: root.font
|
font: root.font
|
||||||
color: Appearance.colors.colOnSecondaryContainer
|
color: Appearance.colors.colOnSecondaryContainer
|
||||||
|
opacity: root.enabled ? 1 : 0.4
|
||||||
}
|
}
|
||||||
StyledSwitch {
|
StyledSwitch {
|
||||||
id: switchWidget
|
id: switchWidget
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ SpinBox {
|
|||||||
property real innerButtonRadius: Appearance.rounding.unsharpen
|
property real innerButtonRadius: Appearance.rounding.unsharpen
|
||||||
editable: true
|
editable: true
|
||||||
|
|
||||||
|
opacity: root.enabled ? 1 : 0.4
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: Appearance.colors.colLayer2
|
color: Appearance.colors.colLayer2
|
||||||
radius: root.radius
|
radius: root.radius
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
z: atInitPosition ? (root.windowZ + windowData?.floating) : root.windowDraggingZ
|
z: Drag.active ? root.windowDraggingZ : (root.windowZ + windowData?.floating)
|
||||||
Drag.hotSpot.x: targetWindowWidth / 2
|
Drag.hotSpot.x: targetWindowWidth / 2
|
||||||
Drag.hotSpot.y: targetWindowHeight / 2
|
Drag.hotSpot.y: targetWindowHeight / 2
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ ContentPage {
|
|||||||
title: Translation.tr("Audio")
|
title: Translation.tr("Audio")
|
||||||
|
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "hearing"
|
||||||
text: Translation.tr("Earbang protection")
|
text: Translation.tr("Earbang protection")
|
||||||
checked: Config.options.audio.protection.enable
|
checked: Config.options.audio.protection.enable
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -25,8 +26,9 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigRow {
|
ConfigRow {
|
||||||
// uniform: true
|
enabled: Config.options.audio.protection.enable
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "arrow_warm_up"
|
||||||
text: Translation.tr("Max allowed increase")
|
text: Translation.tr("Max allowed increase")
|
||||||
value: Config.options.audio.protection.maxAllowedIncrease
|
value: Config.options.audio.protection.maxAllowedIncrease
|
||||||
from: 0
|
from: 0
|
||||||
@@ -37,6 +39,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "vertical_align_top"
|
||||||
text: Translation.tr("Volume limit")
|
text: Translation.tr("Volume limit")
|
||||||
value: Config.options.audio.protection.maxAllowed
|
value: Config.options.audio.protection.maxAllowed
|
||||||
from: 0
|
from: 0
|
||||||
@@ -56,6 +59,7 @@ ContentPage {
|
|||||||
ConfigRow {
|
ConfigRow {
|
||||||
uniform: true
|
uniform: true
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "warning"
|
||||||
text: Translation.tr("Low warning")
|
text: Translation.tr("Low warning")
|
||||||
value: Config.options.battery.low
|
value: Config.options.battery.low
|
||||||
from: 0
|
from: 0
|
||||||
@@ -66,6 +70,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "dangerous"
|
||||||
text: Translation.tr("Critical warning")
|
text: Translation.tr("Critical warning")
|
||||||
value: Config.options.battery.critical
|
value: Config.options.battery.critical
|
||||||
from: 0
|
from: 0
|
||||||
@@ -77,8 +82,10 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigRow {
|
ConfigRow {
|
||||||
uniform: true
|
uniform: false
|
||||||
|
Layout.fillWidth: false
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "pause"
|
||||||
text: Translation.tr("Automatic suspend")
|
text: Translation.tr("Automatic suspend")
|
||||||
checked: Config.options.battery.automaticSuspend
|
checked: Config.options.battery.automaticSuspend
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -89,7 +96,8 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
text: Translation.tr("Suspend at")
|
enabled: Config.options.battery.automaticSuspend
|
||||||
|
text: Translation.tr("at")
|
||||||
value: Config.options.battery.suspend
|
value: Config.options.battery.suspend
|
||||||
from: 0
|
from: 0
|
||||||
to: 100
|
to: 100
|
||||||
|
|||||||
@@ -120,6 +120,7 @@ ContentPage {
|
|||||||
title: Translation.tr("Wallpaper parallax")
|
title: Translation.tr("Wallpaper parallax")
|
||||||
|
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "unfold_more_double"
|
||||||
text: Translation.tr("Vertical")
|
text: Translation.tr("Vertical")
|
||||||
checked: Config.options.background.parallax.vertical
|
checked: Config.options.background.parallax.vertical
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -130,6 +131,7 @@ ContentPage {
|
|||||||
ConfigRow {
|
ConfigRow {
|
||||||
uniform: true
|
uniform: true
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "counter_1"
|
||||||
text: Translation.tr("Depends on workspace")
|
text: Translation.tr("Depends on workspace")
|
||||||
checked: Config.options.background.parallax.enableWorkspace
|
checked: Config.options.background.parallax.enableWorkspace
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -137,6 +139,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "side_navigation"
|
||||||
text: Translation.tr("Depends on sidebars")
|
text: Translation.tr("Depends on sidebars")
|
||||||
checked: Config.options.background.parallax.enableSidebar
|
checked: Config.options.background.parallax.enableSidebar
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -145,6 +148,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "loupe"
|
||||||
text: Translation.tr("Preferred wallpaper zoom (%)")
|
text: Translation.tr("Preferred wallpaper zoom (%)")
|
||||||
value: Config.options.background.parallax.workspaceZoom * 100
|
value: Config.options.background.parallax.workspaceZoom * 100
|
||||||
from: 100
|
from: 100
|
||||||
@@ -159,7 +163,7 @@ ContentPage {
|
|||||||
|
|
||||||
ContentSection {
|
ContentSection {
|
||||||
icon: "point_scan"
|
icon: "point_scan"
|
||||||
title: Translation.tr("Crosshair")
|
title: Translation.tr("Crosshair overlay")
|
||||||
|
|
||||||
MaterialTextArea {
|
MaterialTextArea {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
@@ -172,6 +176,12 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
StyledText {
|
||||||
|
Layout.leftMargin: 10
|
||||||
|
color: Appearance.colors.colSubtext
|
||||||
|
font.pixelSize: Appearance.font.pixelSize.smallie
|
||||||
|
text: Translation.tr("Press Super+G to toggle appearance")
|
||||||
|
}
|
||||||
Item { Layout.fillWidth: true }
|
Item { Layout.fillWidth: true }
|
||||||
RippleButtonWithIcon {
|
RippleButtonWithIcon {
|
||||||
id: editorButton
|
id: editorButton
|
||||||
@@ -193,6 +203,7 @@ ContentPage {
|
|||||||
title: Translation.tr("Dock")
|
title: Translation.tr("Dock")
|
||||||
|
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "check"
|
||||||
text: Translation.tr("Enable")
|
text: Translation.tr("Enable")
|
||||||
checked: Config.options.dock.enable
|
checked: Config.options.dock.enable
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -203,6 +214,7 @@ ContentPage {
|
|||||||
ConfigRow {
|
ConfigRow {
|
||||||
uniform: true
|
uniform: true
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "highlight_mouse_cursor"
|
||||||
text: Translation.tr("Hover to reveal")
|
text: Translation.tr("Hover to reveal")
|
||||||
checked: Config.options.dock.hoverToReveal
|
checked: Config.options.dock.hoverToReveal
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -210,6 +222,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "keep"
|
||||||
text: Translation.tr("Pinned on startup")
|
text: Translation.tr("Pinned on startup")
|
||||||
checked: Config.options.dock.pinnedOnStartup
|
checked: Config.options.dock.pinnedOnStartup
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -218,6 +231,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "colors"
|
||||||
text: Translation.tr("Tint app icons")
|
text: Translation.tr("Tint app icons")
|
||||||
checked: Config.options.dock.monochromeIcons
|
checked: Config.options.dock.monochromeIcons
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -231,6 +245,7 @@ ContentPage {
|
|||||||
title: Translation.tr("Lock screen")
|
title: Translation.tr("Lock screen")
|
||||||
|
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "account_circle"
|
||||||
text: Translation.tr('Launch on startup')
|
text: Translation.tr('Launch on startup')
|
||||||
checked: Config.options.lock.launchOnStartup
|
checked: Config.options.lock.launchOnStartup
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -239,28 +254,38 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ContentSubsection {
|
ContentSubsection {
|
||||||
title: Translation.tr("Blurred style")
|
title: Translation.tr("Security")
|
||||||
|
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
text: Translation.tr('Enable blur')
|
buttonIcon: "settings_power"
|
||||||
checked: Config.options.lock.blur.enable
|
text: Translation.tr('Require password to power off/restart')
|
||||||
|
checked: Config.options.lock.security.requirePasswordToPower
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
Config.options.lock.blur.enable = checked;
|
Config.options.lock.security.requirePasswordToPower = checked;
|
||||||
}
|
}
|
||||||
}
|
StyledToolTip {
|
||||||
|
text: Translation.tr("Remember that on most devices one can always hold the power button to force shutdown\nThis only makes it a tiny bit harder for accidents to happen")
|
||||||
ConfigSpinBox {
|
|
||||||
text: Translation.tr("Blur: Extra zoom (%)")
|
|
||||||
value: Config.options.lock.blur.extraZoom * 100
|
|
||||||
from: 1
|
|
||||||
to: 150
|
|
||||||
stepSize: 2
|
|
||||||
onValueChanged: {
|
|
||||||
Config.options.lock.blur.extraZoom = value / 100;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "key_vertical"
|
||||||
|
text: Translation.tr('Also unlock keyring')
|
||||||
|
checked: Config.options.lock.security.unlockKeyring
|
||||||
|
onCheckedChanged: {
|
||||||
|
Config.options.lock.security.unlockKeyring = checked;
|
||||||
|
}
|
||||||
|
StyledToolTip {
|
||||||
|
text: Translation.tr("This is usually safe and needed for your browser and AI sidebar anyway\nMostly useful for those who use lock on startup instead of a display manager that does it (GDM, SDDM, etc.)")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ContentSubsection {
|
||||||
|
title: Translation.tr("Style: general")
|
||||||
|
|
||||||
|
ConfigSwitch {
|
||||||
|
buttonIcon: "center_focus_weak"
|
||||||
text: Translation.tr('Center clock')
|
text: Translation.tr('Center clock')
|
||||||
checked: Config.options.lock.centerClock
|
checked: Config.options.lock.centerClock
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -269,12 +294,37 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "info"
|
||||||
text: Translation.tr('Show "Locked" text')
|
text: Translation.tr('Show "Locked" text')
|
||||||
checked: Config.options.lock.showLockedText
|
checked: Config.options.lock.showLockedText
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
Config.options.lock.showLockedText = checked;
|
Config.options.lock.showLockedText = checked;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
ContentSubsection {
|
||||||
|
title: Translation.tr("Style: Blurred")
|
||||||
|
|
||||||
|
ConfigSwitch {
|
||||||
|
buttonIcon: "blur_on"
|
||||||
|
text: Translation.tr('Enable blur')
|
||||||
|
checked: Config.options.lock.blur.enable
|
||||||
|
onCheckedChanged: {
|
||||||
|
Config.options.lock.blur.enable = checked;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ConfigSpinBox {
|
||||||
|
icon: "loupe"
|
||||||
|
text: Translation.tr("Extra wallpaper zoom (%)")
|
||||||
|
value: Config.options.lock.blur.extraZoom * 100
|
||||||
|
from: 1
|
||||||
|
to: 150
|
||||||
|
stepSize: 2
|
||||||
|
onValueChanged: {
|
||||||
|
Config.options.lock.blur.extraZoom = value / 100;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -285,6 +335,7 @@ ContentPage {
|
|||||||
title: Translation.tr("Notifications")
|
title: Translation.tr("Notifications")
|
||||||
|
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "av_timer"
|
||||||
text: Translation.tr("Timeout duration (if not defined by notification) (ms)")
|
text: Translation.tr("Timeout duration (if not defined by notification) (ms)")
|
||||||
value: Config.options.notifications.timeout
|
value: Config.options.notifications.timeout
|
||||||
from: 1000
|
from: 1000
|
||||||
@@ -301,6 +352,7 @@ ContentPage {
|
|||||||
title: Translation.tr("Sidebars")
|
title: Translation.tr("Sidebars")
|
||||||
|
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "memory"
|
||||||
text: Translation.tr('Keep right sidebar loaded')
|
text: Translation.tr('Keep right sidebar loaded')
|
||||||
checked: Config.options.sidebar.keepRightSidebarLoaded
|
checked: Config.options.sidebar.keepRightSidebarLoaded
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -317,6 +369,7 @@ ContentPage {
|
|||||||
ConfigRow {
|
ConfigRow {
|
||||||
uniform: true
|
uniform: true
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "check"
|
||||||
text: Translation.tr("Enable")
|
text: Translation.tr("Enable")
|
||||||
checked: Config.options.sidebar.cornerOpen.enable
|
checked: Config.options.sidebar.cornerOpen.enable
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -324,6 +377,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "highlight_mouse_cursor"
|
||||||
text: Translation.tr("Hover to trigger")
|
text: Translation.tr("Hover to trigger")
|
||||||
checked: Config.options.sidebar.cornerOpen.clickless
|
checked: Config.options.sidebar.cornerOpen.clickless
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -338,6 +392,7 @@ ContentPage {
|
|||||||
ConfigRow {
|
ConfigRow {
|
||||||
uniform: true
|
uniform: true
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "vertical_align_bottom"
|
||||||
text: Translation.tr("Place at bottom")
|
text: Translation.tr("Place at bottom")
|
||||||
checked: Config.options.sidebar.cornerOpen.bottom
|
checked: Config.options.sidebar.cornerOpen.bottom
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -349,6 +404,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "unfold_more_double"
|
||||||
text: Translation.tr("Value scroll")
|
text: Translation.tr("Value scroll")
|
||||||
checked: Config.options.sidebar.cornerOpen.valueScroll
|
checked: Config.options.sidebar.cornerOpen.valueScroll
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -361,6 +417,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "visibility"
|
||||||
text: Translation.tr("Visualize region")
|
text: Translation.tr("Visualize region")
|
||||||
checked: Config.options.sidebar.cornerOpen.visualize
|
checked: Config.options.sidebar.cornerOpen.visualize
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -369,6 +426,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
ConfigRow {
|
ConfigRow {
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "arrow_range"
|
||||||
text: Translation.tr("Region width")
|
text: Translation.tr("Region width")
|
||||||
value: Config.options.sidebar.cornerOpen.cornerRegionWidth
|
value: Config.options.sidebar.cornerOpen.cornerRegionWidth
|
||||||
from: 1
|
from: 1
|
||||||
@@ -379,6 +437,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "height"
|
||||||
text: Translation.tr("Region height")
|
text: Translation.tr("Region height")
|
||||||
value: Config.options.sidebar.cornerOpen.cornerRegionHeight
|
value: Config.options.sidebar.cornerOpen.cornerRegionHeight
|
||||||
from: 1
|
from: 1
|
||||||
@@ -397,6 +456,7 @@ ContentPage {
|
|||||||
title: Translation.tr("On-screen display")
|
title: Translation.tr("On-screen display")
|
||||||
|
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "av_timer"
|
||||||
text: Translation.tr("Timeout (ms)")
|
text: Translation.tr("Timeout (ms)")
|
||||||
value: Config.options.osd.timeout
|
value: Config.options.osd.timeout
|
||||||
from: 100
|
from: 100
|
||||||
@@ -413,6 +473,7 @@ ContentPage {
|
|||||||
title: Translation.tr("Overview")
|
title: Translation.tr("Overview")
|
||||||
|
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "check"
|
||||||
text: Translation.tr("Enable")
|
text: Translation.tr("Enable")
|
||||||
checked: Config.options.overview.enable
|
checked: Config.options.overview.enable
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -420,6 +481,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "loupe"
|
||||||
text: Translation.tr("Scale (%)")
|
text: Translation.tr("Scale (%)")
|
||||||
value: Config.options.overview.scale * 100
|
value: Config.options.overview.scale * 100
|
||||||
from: 1
|
from: 1
|
||||||
@@ -432,6 +494,7 @@ ContentPage {
|
|||||||
ConfigRow {
|
ConfigRow {
|
||||||
uniform: true
|
uniform: true
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "splitscreen_bottom"
|
||||||
text: Translation.tr("Rows")
|
text: Translation.tr("Rows")
|
||||||
value: Config.options.overview.rows
|
value: Config.options.overview.rows
|
||||||
from: 1
|
from: 1
|
||||||
@@ -442,6 +505,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "splitscreen_right"
|
||||||
text: Translation.tr("Columns")
|
text: Translation.tr("Columns")
|
||||||
value: Config.options.overview.columns
|
value: Config.options.overview.columns
|
||||||
from: 1
|
from: 1
|
||||||
@@ -459,6 +523,7 @@ ContentPage {
|
|||||||
title: Translation.tr("Screenshot tool")
|
title: Translation.tr("Screenshot tool")
|
||||||
|
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "nearby"
|
||||||
text: Translation.tr('Show regions of potential interest')
|
text: Translation.tr('Show regions of potential interest')
|
||||||
checked: Config.options.screenshotTool.showContentRegions
|
checked: Config.options.screenshotTool.showContentRegions
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
|
|||||||
@@ -221,6 +221,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "ev_shadow"
|
||||||
text: Translation.tr("Transparency")
|
text: Translation.tr("Transparency")
|
||||||
checked: Config.options.appearance.transparency.enable
|
checked: Config.options.appearance.transparency.enable
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ ContentPage {
|
|||||||
title: Translation.tr("Resources")
|
title: Translation.tr("Resources")
|
||||||
|
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "av_timer"
|
||||||
text: Translation.tr("Polling interval (ms)")
|
text: Translation.tr("Polling interval (ms)")
|
||||||
value: Config.options.resources.updateInterval
|
value: Config.options.resources.updateInterval
|
||||||
from: 100
|
from: 100
|
||||||
|
|||||||
Reference in New Issue
Block a user