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
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:
@@ -22,7 +22,7 @@ QtObject {
|
|||||||
// Wallpaper & style
|
// Wallpaper & style
|
||||||
StackPage {
|
StackPage {
|
||||||
Component {
|
Component {
|
||||||
Wallpaper {
|
WallpaperPage {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ QtObject {
|
|||||||
// Screenshot
|
// Screenshot
|
||||||
StackPage {
|
StackPage {
|
||||||
Component {
|
Component {
|
||||||
Screenshot {
|
ScreenshotPage {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+14
-6
@@ -17,9 +17,14 @@ PageBase {
|
|||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
spacing: Appearance.spacing.large
|
spacing: Appearance.spacing.extraSmall / 2
|
||||||
width: root.cappedWidth
|
width: root.cappedWidth
|
||||||
|
|
||||||
|
SectionHeader {
|
||||||
|
first: true
|
||||||
|
text: qsTr("Effects")
|
||||||
|
}
|
||||||
|
|
||||||
ToggleRow {
|
ToggleRow {
|
||||||
checked: Config.screenshot.enable_pp
|
checked: Config.screenshot.enable_pp
|
||||||
first: true
|
first: true
|
||||||
@@ -29,7 +34,6 @@ PageBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SelectRow {
|
SelectRow {
|
||||||
Layout.topMargin: Appearance.spacing.extraSmall / 2 - parent.spacing
|
|
||||||
active: Config.screenshot.mode === "manual" ? menuItems[0] : menuItems[1]
|
active: Config.screenshot.mode === "manual" ? menuItems[0] : menuItems[1]
|
||||||
enabled: Config.screenshot.enable_pp
|
enabled: Config.screenshot.enable_pp
|
||||||
last: true
|
last: true
|
||||||
@@ -55,6 +59,10 @@ PageBase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SectionHeader {
|
||||||
|
text: qsTr("Rounded corners")
|
||||||
|
}
|
||||||
|
|
||||||
ToggleRow {
|
ToggleRow {
|
||||||
checked: Config.screenshot.rounding
|
checked: Config.screenshot.rounding
|
||||||
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual"
|
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual"
|
||||||
@@ -65,7 +73,6 @@ PageBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SpinRow {
|
SpinRow {
|
||||||
Layout.topMargin: Appearance.spacing.extraSmall / 2 - parent.spacing
|
|
||||||
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual" && Config.screenshot.rounding
|
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual" && Config.screenshot.rounding
|
||||||
from: 0
|
from: 0
|
||||||
last: true
|
last: true
|
||||||
@@ -80,6 +87,10 @@ PageBase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SectionHeader {
|
||||||
|
text: qsTr("Shadow")
|
||||||
|
}
|
||||||
|
|
||||||
ToggleRow {
|
ToggleRow {
|
||||||
checked: Config.screenshot.shadow
|
checked: Config.screenshot.shadow
|
||||||
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual"
|
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual"
|
||||||
@@ -90,7 +101,6 @@ PageBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SpinRow {
|
SpinRow {
|
||||||
Layout.topMargin: Appearance.spacing.extraSmall / 2 - parent.spacing
|
|
||||||
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual" && Config.screenshot.shadow
|
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual" && Config.screenshot.shadow
|
||||||
from: 0
|
from: 0
|
||||||
stepSize: 1
|
stepSize: 1
|
||||||
@@ -105,7 +115,6 @@ PageBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SpinRow {
|
SpinRow {
|
||||||
Layout.topMargin: Appearance.spacing.extraSmall / 2 - parent.spacing
|
|
||||||
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual" && Config.screenshot.shadow
|
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual" && Config.screenshot.shadow
|
||||||
from: -100
|
from: -100
|
||||||
stepSize: 10
|
stepSize: 10
|
||||||
@@ -120,7 +129,6 @@ PageBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SpinRow {
|
SpinRow {
|
||||||
Layout.topMargin: Appearance.spacing.extraSmall / 2 - parent.spacing
|
|
||||||
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual" && Config.screenshot.shadow
|
enabled: Config.screenshot.enable_pp && Config.screenshot.mode === "manual" && Config.screenshot.shadow
|
||||||
from: -100
|
from: -100
|
||||||
last: true
|
last: true
|
||||||
Reference in New Issue
Block a user