mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:33:24 +00:00
QML UI: style the DC download dialog
This sets the checkboxes in the dive computer download dialog to match the rest of the theme. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
parent
60b64ceca4
commit
b889bf117d
1 changed files with 20 additions and 0 deletions
|
@ -36,6 +36,26 @@ Kirigami.AbstractListItem {
|
|||
checked: innerListItem.selected;
|
||||
width: childrenRect.heigh - Kirigami.Units.smallSpacing;
|
||||
height: childrenRect.heigh - Kirigami.Units.smallSpacing;
|
||||
indicator: Rectangle {
|
||||
visible: diveIsSelected
|
||||
implicitWidth: 20
|
||||
implicitHeight: 20
|
||||
x: isBluetooth.leftPadding
|
||||
y: parent.height / 2 - height / 2
|
||||
radius: 4
|
||||
border.color: diveIsSelected.down ? subsurfaceTheme.PrimaryColor : subsurfaceTheme.darkerPrimaryColor
|
||||
color: subsurfaceTheme.backgroundColor
|
||||
|
||||
Rectangle {
|
||||
width: 12
|
||||
height: 12
|
||||
x: 4
|
||||
y: 4
|
||||
radius: 3
|
||||
color: diveIsSelected.down ? subsurfaceTheme.PrimaryColor : subsurfaceTheme.darkerPrimaryColor
|
||||
visible: diveIsSelected && diveIsSelected.checked
|
||||
}
|
||||
}
|
||||
}
|
||||
Item {
|
||||
id: diveListEntry
|
||||
|
|
Loading…
Add table
Reference in a new issue