mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 02:53:24 +00:00
QML UI: show the cloud credentials in the global drawer banner
This is an additional side-benefit of rolling our own banner. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c8ef3d7924
commit
ca84d96a50
1 changed files with 13 additions and 0 deletions
|
@ -161,6 +161,19 @@ Kirigami.ApplicationWindow {
|
|||
Layout.margins: Kirigami.Units.smallSpacing
|
||||
}
|
||||
}
|
||||
RowLayout {
|
||||
Layout.margins: Kirigami.Units.smallSpacing
|
||||
Kirigami.Heading {
|
||||
Layout.fillWidth: true
|
||||
visible: text.length > 0
|
||||
level: 1
|
||||
color: "white"
|
||||
text: prefs.cloudUserName
|
||||
wrapMode: Text.NoWrap
|
||||
elide: Text.ElideRight
|
||||
font.weight: Font.Normal
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue