19import QtQuick.Controls.Suru 2.2
20import QtGraphicalEffects 1.0
21import Lomiri.Components 1.3
22import Dekko.Components 1.0
23import Dekko.Lomiri.Components 1.0
24import Dekko.Mail.API 1.0
25import Dekko.Mail.Stores.Accounts 1.0
26import Dekko.Lomiri.Constants 1.0
30 objectName: "noAccountsUI"
31 pageHeader.title: qsTr(
"Accounts")
32 signal createAccount()
42 contentHeight: ibxContainer.height + b.height + l.height + units.gu(7)
48 height: inbox.height + units.gu(5)
57 color: LomiriColors.ash
63 name: Icons.AccountIcon
68 horizontalCenter: parent.horizontalCenter
71 color: Suru.neutralColor
81 top: ibxContainer.bottom
82 topMargin:
Style.defaultSpacing
90 horizontalCenter: parent.horizontalCenter
92 width: parent.width - units.gu(4)
93 text: qsTr(
"No email account is setup.")
94 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
96 horizontalAlignment: Text.AlignHCenter
102 text: qsTr(
"Add now")
103 Suru.highlightType: Suru.PositiveHighlight
104 color: Suru.highlightColor
107 topMargin: units.gu(3)
108 horizontalCenter: parent.horizontalCenter
110 onClicked: AccountSetup.createAccount()