Merge branch 'main' into feat/llm-chat-tab
C++ / fmt (pull_request) Failing after 3s
C++ / build (pull_request) Failing after 9s
C++ / clang-tidy (pull_request) Failing after 9s
JS/TS / fmt (pull_request) Successful in 9s
JS/TS / lint (pull_request) Successful in 10s
Python / static (pull_request) Successful in 28s
Rust / build (pull_request) Successful in 49s
Python / verify (pull_request) Successful in 1m40s
Rust / fmt (pull_request) Successful in 27s
Rust / clippy (pull_request) Successful in 46s

This commit is contained in:
2026-09-30 17:59:14 +02:00
298 changed files with 18329 additions and 6057 deletions
+19 -9
View File
@@ -10,21 +10,25 @@ import qs.Services
Item {
id: root
property bool acceptAllowed: true
required property string acceptLabel
required property Component content
required property string header
property int horizontalContentMargin
required property string icon
required property string label
required property Item rootParent
required property string settingAnchor
property bool acceptAllowed: true
property bool first: false
property int horizontalContentMargin
property string icon
property alias iconLabel: openButton.iconLabel
property string subtext: ""
property bool last: false
property bool open
property real openHeight: Math.min(rootParent.height * 0.8, 600)
property real openWidth: Math.min(rootParent.width * 0.8, 400)
required property Item rootParent
property alias rowButton: openButton
property bool separateContent
property bool first: false
property bool last: false
signal accepted
signal cancelled
@@ -58,6 +62,7 @@ Item {
enabled: false
hoverEnabled: enabled
parent: root.open ? root.rootParent : root
preventStealing: true
onClicked: root.open = false
}
@@ -77,7 +82,8 @@ Item {
backdrop.enabled: true
dialogBg.bottomLeftRadius: Tokens.rounding.largeIncreased
dialogBg.bottomRightRadius: Tokens.rounding.largeIncreased
dialogBg.radius: Tokens.rounding.largeIncreased
dialogBg.topLeftRadius: Tokens.rounding.largeIncreased
dialogBg.topRightRadius: Tokens.rounding.largeIncreased
dialogContent.opacity: 1
dialogWrapper.height: root.openHeight
dialogWrapper.width: root.openWidth
@@ -105,7 +111,7 @@ Item {
}
Anim {
properties: "opacity,radius,bottomLeftRadius,bottomRightRadius"
properties: "opacity,topLeftRadius,topRightRadius,bottomLeftRadius,bottomRightRadius"
type: Anim.DefaultEffects
}
@@ -171,6 +177,8 @@ Item {
opacity: 0
sourceComponent: MouseArea {
preventStealing: true
onWheel: event => event.accepted = true
ColumnLayout {
@@ -180,7 +188,7 @@ Item {
spacing: 0
CustomText {
font.pointSize: Tokens.font.size.large
font: Tokens.font.title.builders.large.weight(Font.Normal).build()
text: root.header
}
@@ -221,6 +229,7 @@ Item {
TextButton {
horizontalPadding: Tokens.padding.largeIncreased
isRound: true
stateLayer.preventStealing: true
text: qsTr("Cancel")
type: TextButton.Text
verticalPadding: Tokens.padding.small
@@ -235,6 +244,7 @@ Item {
enabled: root.acceptAllowed
horizontalPadding: Tokens.padding.largeIncreased
isRound: true
stateLayer.preventStealing: true
text: root.acceptLabel
type: TextButton.Text
verticalPadding: Tokens.padding.small