mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-31 00:34:45 +00:00
info kcm: move vendorinfo block higher
If present, this is quite important information (e.g. model number, serial, etc.), so give it a more prominent position. For a default configured system, no visual change. Signed-off-by: Sebastian Kügler <sebas@kde.org>
This commit is contained in:
parent
3e781c01c2
commit
8b4abd134a
1 changed files with 25 additions and 25 deletions
|
|
@ -59,6 +59,31 @@ KCM.SimpleKCM {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FormCard.FormHeader {
|
||||||
|
visible: kcm.vendorInfoTitle !== ""
|
||||||
|
title: kcm.vendorInfoTitle
|
||||||
|
}
|
||||||
|
|
||||||
|
FormCard.FormCard {
|
||||||
|
visible: kcm.vendorInfoTitle !== ""
|
||||||
|
Repeater {
|
||||||
|
model: kcm.vendorInfo
|
||||||
|
ColumnLayout {
|
||||||
|
id: delegate
|
||||||
|
|
||||||
|
required property var modelData
|
||||||
|
|
||||||
|
spacing: 0
|
||||||
|
|
||||||
|
FormCard.FormTextDelegate {
|
||||||
|
text: delegate.modelData.Key
|
||||||
|
description: delegate.modelData.Value
|
||||||
|
}
|
||||||
|
FormCard.FormDelegateSeparator {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
FormCard.FormHeader {
|
FormCard.FormHeader {
|
||||||
title: i18nc("@title:group", "Software")
|
title: i18nc("@title:group", "Software")
|
||||||
}
|
}
|
||||||
|
|
@ -122,30 +147,5 @@ KCM.SimpleKCM {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
FormCard.FormHeader {
|
|
||||||
visible: kcm.vendorInfoTitle !== ""
|
|
||||||
title: kcm.vendorInfoTitle
|
|
||||||
}
|
|
||||||
|
|
||||||
FormCard.FormCard {
|
|
||||||
visible: kcm.vendorInfoTitle !== ""
|
|
||||||
Repeater {
|
|
||||||
model: kcm.vendorInfo
|
|
||||||
ColumnLayout {
|
|
||||||
id: delegate
|
|
||||||
|
|
||||||
required property var modelData
|
|
||||||
|
|
||||||
spacing: 0
|
|
||||||
|
|
||||||
FormCard.FormTextDelegate {
|
|
||||||
text: delegate.modelData.Key
|
|
||||||
description: delegate.modelData.Value
|
|
||||||
}
|
|
||||||
FormCard.FormDelegateSeparator {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue