File tree Expand file tree Collapse file tree 3 files changed +9
-18
lines changed Expand file tree Collapse file tree 3 files changed +9
-18
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,5 @@ ColumnLayout {
31
31
ButtonGroup .group : group
32
32
text: qsTr (" Only when on Wi-Fi" )
33
33
description: qsTr (" Loads quickly when on wi-fi and pauses when on cellular data." )
34
- detail: ProgressIndicator {
35
- implicitWidth: 50
36
- SequentialAnimation on progress {
37
- loops: Animation .Infinite
38
- SmoothedAnimation { to: 1 ; velocity: 1 ; }
39
- SmoothedAnimation { to: 0 ; velocity: 1 ; }
40
- }
41
- }
42
34
}
43
35
}
Original file line number Diff line number Diff line change @@ -19,19 +19,11 @@ ColumnLayout {
19
19
description: qsTr (" Uses about 2GB." )
20
20
recommended: true
21
21
checked: true
22
- detail: ProgressIndicator {
23
- implicitWidth: 75
24
- progress: 0.25
25
- }
26
22
}
27
23
OptionButton {
28
24
Layout .fillWidth : true
29
25
ButtonGroup .group : group
30
26
text: qsTr (" Default" )
31
27
description: qsTr (" Uses about 423GB." )
32
- detail: ProgressIndicator {
33
- implicitWidth: 75
34
- progress: 0.8
35
- }
36
28
}
37
29
}
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ Button {
12
12
id: button
13
13
padding: 15
14
14
checkable: true
15
- property alias detail: detail_loader .sourceComponent
16
15
implicitWidth: 450
17
16
background: Rectangle {
18
17
border .width : 1
@@ -67,7 +66,15 @@ Button {
67
66
}
68
67
Loader {
69
68
id: detail_loader
70
- visible: item
69
+ visible: button .checked
70
+ active: true
71
+ sourceComponent: Button {
72
+ icon .source : " image://images/check"
73
+ icon .color : Theme .color .neutral9
74
+ icon .height : 24
75
+ icon .width : 24
76
+ background: null
77
+ }
71
78
}
72
79
}
73
80
}
You can’t perform that action at this time.
0 commit comments