File tree Expand file tree Collapse file tree 3 files changed +15
-30
lines changed Expand file tree Collapse file tree 3 files changed +15
-30
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,12 @@ ColumnLayout {
58
58
onClicked: loadedItem .clicked ()
59
59
}
60
60
Setting {
61
+ id: gotoDeveloper
61
62
Layout .fillWidth : true
62
63
header: qsTr (" Developer options" )
63
64
description: qsTr (" Only use these if you have development experience" )
64
- actionItem: Button {
65
- icon .source : " image://images/caret-right"
66
- icon .color : Theme .color .neutral9
67
- icon .height : 18
68
- icon .width : 18
69
- background: null
65
+ actionItem: CaretRightButton{
66
+ stateColor: gotoDeveloper .stateColor
70
67
onClicked: {
71
68
aboutSwipe .incrementCurrentIndex ()
72
69
}
Original file line number Diff line number Diff line change @@ -59,15 +59,12 @@ ColumnLayout {
59
59
}
60
60
}
61
61
Setting {
62
+ id: gotoProxy
62
63
last: true
63
64
Layout .fillWidth : true
64
65
header: qsTr (" Proxy settings" )
65
- actionItem: Button {
66
- icon .source : " image://images/caret-right"
67
- icon .color : Theme .color .neutral9
68
- icon .height : 18
69
- icon .width : 18
70
- background: null
66
+ actionItem: CaretRightButton {
67
+ stateColor: gotoProxy .stateColor
71
68
}
72
69
}
73
70
}
Original file line number Diff line number Diff line change @@ -47,44 +47,35 @@ Item {
47
47
onClicked: loadedItem .toggled ()
48
48
}
49
49
Setting {
50
+ id: gotoAbout
50
51
Layout .fillWidth : true
51
52
header: qsTr (" About" )
52
- actionItem: Button {
53
- icon .source : " image://images/caret-right"
54
- icon .color : Theme .color .neutral9
55
- icon .height : 18
56
- icon .width : 18
57
- background: null
53
+ actionItem: CaretRightButton {
54
+ stateColor: gotoAbout .stateColor
58
55
onClicked: {
59
56
nodeSettingsView .push (about_page)
60
57
}
61
58
}
62
59
onClicked: loadedItem .clicked ()
63
60
}
64
61
Setting {
62
+ id: gotoStorage
65
63
Layout .fillWidth : true
66
64
header: qsTr (" Storage" )
67
- actionItem: Button {
68
- icon .source : " image://images/caret-right"
69
- icon .color : Theme .color .neutral9
70
- icon .height : 18
71
- icon .width : 18
72
- background: null
65
+ actionItem: CaretRightButton {
66
+ stateColor: gotoStorage .stateColor
73
67
onClicked: {
74
68
nodeSettingsView .push (storage_page)
75
69
}
76
70
}
77
71
onClicked: loadedItem .clicked ()
78
72
}
79
73
Setting {
74
+ id: gotoConnection
80
75
Layout .fillWidth : true
81
76
header: qsTr (" Connection" )
82
- actionItem: Button {
83
- icon .source : " image://images/caret-right"
84
- icon .color : Theme .color .neutral9
85
- icon .height : 18
86
- icon .width : 18
87
- background: null
77
+ actionItem: CaretRightButton {
78
+ stateColor: gotoConnection .stateColor
88
79
onClicked: {
89
80
nodeSettingsView .push (connection_page)
90
81
}
You can’t perform that action at this time.
0 commit comments