feat: dashboard show on hover, media and weather tabs added
C++ / fmt (pull_request) Failing after 6s
C++ / build (pull_request) Failing after 9s
C++ / clang-tidy (pull_request) Failing after 10s
JS/TS / fmt (pull_request) Successful in 13s
JS/TS / lint (pull_request) Successful in 8s
Python / static (pull_request) Successful in 30s
Rust / build (pull_request) Successful in 49s
Rust / fmt (pull_request) Successful in 26s
Python / verify (pull_request) Successful in 1m44s
Rust / clippy (pull_request) Successful in 44s
C++ / fmt (pull_request) Failing after 6s
C++ / build (pull_request) Failing after 9s
C++ / clang-tidy (pull_request) Failing after 10s
JS/TS / fmt (pull_request) Successful in 13s
JS/TS / lint (pull_request) Successful in 8s
Python / static (pull_request) Successful in 30s
Rust / build (pull_request) Successful in 49s
Rust / fmt (pull_request) Successful in 26s
Python / verify (pull_request) Successful in 1m44s
Rust / clippy (pull_request) Successful in 44s
This commit is contained in:
@@ -33,5 +33,33 @@ PageBase {
|
||||
|
||||
onToggled: Config.dashboard.enabled = checked
|
||||
}
|
||||
|
||||
// Behavior
|
||||
SectionHeader {
|
||||
text: qsTr("Behavior")
|
||||
}
|
||||
|
||||
ToggleRow {
|
||||
checked: Config.dashboard.showOnHover
|
||||
first: true
|
||||
settingAnchor: "dashboard-showonhover"
|
||||
text: qsTr("Show on hover")
|
||||
subtext: qsTr("Dashboard %1 be shown when hovering the middle-top part of the shell").arg(checked ? "will" : "will not")
|
||||
|
||||
onToggled: Config.dashboard.showOnHover = checked
|
||||
}
|
||||
|
||||
SpinRow {
|
||||
from: 30
|
||||
settingAnchor: "dashboard-drag-threshold"
|
||||
stepSize: 20
|
||||
enabled: !Config.dashboard.showOnHover
|
||||
subtext: qsTr("How far you need to drag before the panel opens")
|
||||
text: qsTr("Drag threshold")
|
||||
to: 100
|
||||
value: Config.dashboard.dragThreshold
|
||||
|
||||
onMoved: v => Config.dashboard.dragThreshold = v
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user