This repository has been archived on 2023-11-19. You can view files and clone it, but cannot push or open issues or pull requests.
goober-bb10/assets/LoginSheet.qml

46 lines
No EOL
1.5 KiB
QML

import bb.cascades 1.4
Sheet {
// peekEnabled: false
signal login
Page {
Container {
verticalAlignment: VerticalAlignment.Fill
horizontalAlignment: HorizontalAlignment.Fill
layout: DockLayout {}
Container {
verticalAlignment: VerticalAlignment.Center
horizontalAlignment: HorizontalAlignment.Center
Container {
Label {
text: "Goober"
horizontalAlignment: HorizontalAlignment.Center
textStyle.fontSize: FontSize.XXLarge
}
Label {
text: "A short messaging client for the pnut.io network."
multiline: true
bottomMargin: ui.du(6.0)
}
Button {
text: qsTr("Sign In")
onClicked: {
login()
}
horizontalAlignment: HorizontalAlignment.Center
}
Container {
}
Label {
text: "<a href=\"https://zoidberg.monkeystew.net/tmp/X3.cer\">DST Root CA X3</a>"
textFormat: TextFormat.Html
horizontalAlignment: HorizontalAlignment.Center
}
}
}
}
}
}