section headers for screenshot page + rename
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 13s
Python / lint-format (pull_request) Successful in 17s
Python / test (pull_request) Successful in 45s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m39s
C++ / build (pull_request) Successful in 2m23s

This commit is contained in:
2026-06-30 13:31:23 +02:00
parent 157bdd8fd9
commit deaeac4dbd
3 changed files with 16 additions and 8 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ QtObject {
// Wallpaper & style
StackPage {
Component {
Wallpaper {
WallpaperPage {
}
}
@@ -36,7 +36,7 @@ QtObject {
// Screenshot
StackPage {
Component {
Screenshot {
ScreenshotPage {
}
}
}
@@ -17,9 +17,14 @@ PageBase {
ColumnLayout {
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
spacing: Appearance.spacing.large
spacing: Appearance.spacing.extraSmall / 2
width: root.cappedWidth
SectionHeader {
first: true
text: qsTr("Effects")
}
ToggleRow {
checked: Config.screenshot.enable_pp
first: true
@@ -29,7 +34,6 @@ PageBase {
}
SelectRow {
Layout.topMargin: Appearance.spacing.extraSmall / 2 - parent.spacing
active: Config.screenshot.mode === "manual" ? menuItems[0] : menuItems[1]
enabled: Config.screenshot.enable_pp
last: true
@@ -55,6 +59,10 @@ PageBase {
}
}
SectionHeader {
text: qsTr("Rounded corners")
}
ToggleRow {
checked: Config.screenshot.rounding
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual"
@@ -65,7 +73,6 @@ PageBase {
}
SpinRow {
Layout.topMargin: Appearance.spacing.extraSmall / 2 - parent.spacing
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual" && Config.screenshot.rounding
from: 0
last: true
@@ -80,6 +87,10 @@ PageBase {
}
}
SectionHeader {
text: qsTr("Shadow")
}
ToggleRow {
checked: Config.screenshot.shadow
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual"
@@ -90,7 +101,6 @@ PageBase {
}
SpinRow {
Layout.topMargin: Appearance.spacing.extraSmall / 2 - parent.spacing
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual" && Config.screenshot.shadow
from: 0
stepSize: 1
@@ -105,7 +115,6 @@ PageBase {
}
SpinRow {
Layout.topMargin: Appearance.spacing.extraSmall / 2 - parent.spacing
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual" && Config.screenshot.shadow
from: -100
stepSize: 10
@@ -120,7 +129,6 @@ PageBase {
}
SpinRow {
Layout.topMargin: Appearance.spacing.extraSmall / 2 - parent.spacing
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual" && Config.screenshot.shadow
from: -100
last: true