mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
mobile-widgets: move rest of gridlayout to section advanced
Create section advanced around the remaining gridlayouts, and adjust. Signed-off-by: jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5bce4895cc
commit
11c6851c74
1 changed files with 131 additions and 141 deletions
|
@ -380,8 +380,13 @@ Kirigami.ScrollablePage {
|
|||
}
|
||||
}
|
||||
|
||||
TemplateSection {
|
||||
id: sectionAdvanced
|
||||
title: qsTr("Advanced")
|
||||
|
||||
GridLayout {
|
||||
id: gpsPrefs
|
||||
visible: sectionAdvanced.isExpanded
|
||||
columns: 2
|
||||
|
||||
TemplateLabel {
|
||||
|
@ -420,17 +425,13 @@ Kirigami.ScrollablePage {
|
|||
PrefLocationService.time_threshold = timeThreshold.text * 60
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Rectangle {
|
||||
color: subsurfaceTheme.darkerPrimaryColor
|
||||
height: 1
|
||||
opacity: 0.5
|
||||
Layout.fillWidth: true
|
||||
TemplateLine {
|
||||
visible: sectionAdvanced.isExpanded
|
||||
}
|
||||
|
||||
GridLayout {
|
||||
id: filterPrefs
|
||||
visible: sectionAdvanced.isExpanded
|
||||
columns: 2
|
||||
|
||||
TemplateLabel {
|
||||
|
@ -468,18 +469,13 @@ Kirigami.ScrollablePage {
|
|||
PrefGeneral.filterCaseSensitive = checked
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
color: subsurfaceTheme.darkerPrimaryColor
|
||||
height: 1
|
||||
opacity: 0.5
|
||||
Layout.fillWidth: true
|
||||
TemplateLine {
|
||||
visible: sectionAdvanced.isExpanded
|
||||
}
|
||||
|
||||
GridLayout {
|
||||
id: whichBluetoothDevices
|
||||
visible: sectionAdvanced.isExpanded
|
||||
columns: 2
|
||||
TemplateLabel {
|
||||
text: qsTr("Bluetooth")
|
||||
|
@ -503,16 +499,12 @@ Kirigami.ScrollablePage {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
color: subsurfaceTheme.darkerPrimaryColor
|
||||
height: 1
|
||||
opacity: 0.5
|
||||
Layout.fillWidth: true
|
||||
TemplateLine {
|
||||
visible: sectionAdvanced.isExpanded
|
||||
}
|
||||
|
||||
GridLayout {
|
||||
id: developer
|
||||
visible: sectionAdvanced.isExpanded
|
||||
columns: 2
|
||||
TemplateLabel {
|
||||
text: qsTr("Developer")
|
||||
|
@ -536,8 +528,6 @@ Kirigami.ScrollablePage {
|
|||
}
|
||||
}
|
||||
}
|
||||
Item {
|
||||
height: Kirigami.Units.gridUnit * 6
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue