2014-08-19 12:58:02 +00:00
|
|
|
import QtQuick 2.2
|
|
|
|
|
|
|
|
Item {
|
2014-08-20 19:19:21 +00:00
|
|
|
id: page
|
|
|
|
signal createWalletClicked()
|
2014-08-19 12:58:02 +00:00
|
|
|
opacity: 0
|
|
|
|
visible: false
|
|
|
|
Behavior on opacity {
|
|
|
|
NumberAnimation { duration: 100; easing.type: Easing.InQuad }
|
|
|
|
}
|
|
|
|
|
|
|
|
onOpacityChanged: visible = opacity !== 0
|
|
|
|
|
|
|
|
Column {
|
|
|
|
id: headerColumn
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.topMargin: 74
|
|
|
|
spacing: 24
|
|
|
|
|
|
|
|
Text {
|
|
|
|
font.family: "Arial"
|
|
|
|
font.pixelSize: 28
|
|
|
|
//renderType: Text.NativeRendering
|
|
|
|
color: "#3F3F3F"
|
|
|
|
text: qsTr("I want")
|
|
|
|
}
|
|
|
|
|
|
|
|
Text {
|
|
|
|
font.family: "Arial"
|
|
|
|
font.pixelSize: 18
|
|
|
|
//renderType: Text.NativeRendering
|
|
|
|
color: "#4A4646"
|
|
|
|
text: qsTr("Please select one of the following options:")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Row {
|
|
|
|
anchors.centerIn: parent
|
|
|
|
spacing: 50
|
|
|
|
|
|
|
|
Column {
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
spacing: 30
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
width: 202; height: 202
|
|
|
|
radius: 101
|
|
|
|
color: createWalletArea.containsMouse ? "#DBDBDB" : "#FFFFFF"
|
|
|
|
|
|
|
|
Image {
|
|
|
|
anchors.centerIn: parent
|
|
|
|
source: "qrc:///images/createWallet.png"
|
|
|
|
}
|
|
|
|
|
|
|
|
MouseArea {
|
|
|
|
id: createWalletArea
|
|
|
|
anchors.fill: parent
|
|
|
|
hoverEnabled: true
|
2014-08-20 19:19:21 +00:00
|
|
|
onClicked: page.createWalletClicked()
|
2014-08-19 12:58:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Text {
|
|
|
|
font.family: "Arial"
|
|
|
|
font.pixelSize: 16
|
|
|
|
color: "#4A4949"
|
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
|
|
text: qsTr("This is my first time, I want to<br/>create a new account")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Column {
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
spacing: 30
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
width: 202; height: 202
|
|
|
|
radius: 101
|
|
|
|
color: recoverWalletArea.containsMouse ? "#DBDBDB" : "#FFFFFF"
|
|
|
|
|
|
|
|
Image {
|
|
|
|
anchors.centerIn: parent
|
|
|
|
source: "qrc:///images/recoverWallet.png"
|
|
|
|
}
|
|
|
|
|
|
|
|
MouseArea {
|
|
|
|
id: recoverWalletArea
|
|
|
|
anchors.fill: parent
|
|
|
|
hoverEnabled: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Text {
|
|
|
|
font.family: "Arial"
|
|
|
|
font.pixelSize: 16
|
|
|
|
color: "#4A4949"
|
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
|
|
text: qsTr("I want to recover my account<br/>from my 24 work seed")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Column {
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
spacing: 30
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
width: 202; height: 202
|
|
|
|
radius: 101
|
|
|
|
color: openAccountArea.containsMouse ? "#DBDBDB" : "#FFFFFF"
|
|
|
|
|
|
|
|
Image {
|
|
|
|
anchors.centerIn: parent
|
|
|
|
source: "qrc:///images/openAccount.png"
|
|
|
|
}
|
|
|
|
|
|
|
|
MouseArea {
|
|
|
|
id: openAccountArea
|
|
|
|
anchors.fill: parent
|
|
|
|
hoverEnabled: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Text {
|
|
|
|
font.family: "Arial"
|
|
|
|
font.pixelSize: 16
|
|
|
|
color: "#4A4949"
|
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
|
|
text: qsTr("I want to open account file")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|