status-desktop/ui/shared/StyledButton.qml
emizzle dafd11fbc0 feat: onboarding generate new account
Generates 5 random accounts with identicons, allows user to enter password, then stores the account and logs in to the statusgo node.

Add EventEmitter that notifies nim_status_client.nim once node has started and is logged in (likely needs some refactoring to include the eventemitter in the base controller class).

Add QML StateMachine for the onboarding view.

Add nimcrytpo, uuids, eventemitter, isaac dependencies via submodules.

Add button to Intro view to randomly gen account.
2020-05-21 19:33:14 -04:00

35 lines
649 B
QML

import QtQuick 2.3
import QtQuick.Controls 1.3
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3
import QtQml 2.14
Button {
property alias label: txtBtnLabel.text
font.weight: Font.Medium
id: btnStyled
rightPadding: 32
leftPadding: 32
bottomPadding: 11
topPadding: 11
background: Rectangle {
color: "#ECEFFC"
radius: 8
}
Text {
id: txtBtnLabel
color: "#4360DF"
font.family: "Inter"
font.pointSize: 15
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
text: "Get started"
}
}