page: welcomepage: add some icons for style points

This commit is contained in:
Torrie Fischer
2022-10-10 13:35:44 +02:00
parent 6e0aa7f683
commit e8f72a44fb
4 changed files with 5 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ Kirigami.LoadingPlaceholder {
property var showContinueButton: false property var showContinueButton: false
property var showBackButton: false property var showBackButton: false
text: i18n("Synchronizing with your homeserver…") text: i18n("Synchronizing with your homeserver…")
icon.name: "cloud-download"
anchors.centerIn: parent anchors.centerIn: parent

View File

@@ -66,5 +66,6 @@ LoginStep {
} }
} }
enabled: LoginHelper.homeserverReachable enabled: LoginHelper.homeserverReachable
iconName: "go-next"
} }
} }

View File

@@ -25,6 +25,7 @@ LoginStep {
onTriggered: { onTriggered: {
LoginHelper.login(); LoginHelper.login();
} }
iconName: "go-next"
} }
Connections { Connections {

View File

@@ -44,8 +44,6 @@ Kirigami.ScrollablePage {
} }
} }
property var showAvatar: LoginHelper.loginAvatar != ""
ColumnLayout { ColumnLayout {
Item { Item {
Layout.preferredHeight: Kirigami.Units.gridUnit * 10 Layout.preferredHeight: Kirigami.Units.gridUnit * 10
@@ -152,6 +150,7 @@ Kirigami.ScrollablePage {
onClicked: { onClicked: {
module.source = welcomePage.currentStep.previousUrl module.source = welcomePage.currentStep.previousUrl
} }
icon.name: "go-back"
} }
Controls.Button { Controls.Button {
@@ -164,6 +163,7 @@ Kirigami.ScrollablePage {
} }
Kirigami.LoadingPlaceholder { Kirigami.LoadingPlaceholder {
icon.name: "online"
opacity: LoginHelper.testing ? 1 : 0 opacity: LoginHelper.testing ? 1 : 0
text: i18n("Connecting to your homeserver...") text: i18n("Connecting to your homeserver...")
Behavior on opacity { NumberAnimation {} } Behavior on opacity { NumberAnimation {} }