use monero button

This commit is contained in:
marcin 2014-08-29 10:44:31 +02:00
parent ac5d77d7ab
commit c63251f579
3 changed files with 19 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.1.2, 2014-08-21T12:09:35. -->
<!-- Written by QtCreator 3.1.2, 2014-08-29T10:43:43. -->
<qtcreator>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>

View File

@ -303,6 +303,7 @@ ApplicationWindow {
WizardMain {
id: wizard
anchors.fill: parent
onUseMoneroClicked: rootItem.state = "normal"
}
property int maxWidth: leftPanel.width + 655 + rightPanel.width

View File

@ -1,7 +1,9 @@
import QtQuick 2.2
import "../components"
Rectangle {
id: wizard
signal useMoneroClicked()
border.color: "#DBDBDB"
border.width: 1
color: "#FFFFFF"
@ -150,4 +152,19 @@ Rectangle {
onClicked: wizard.switchPage(false)
}
}
StandardButton {
id: sendButton
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.margins: 50
width: 110
text: qsTr("USE MONERO")
shadowReleasedColor: "#FF4304"
shadowPressedColor: "#B32D00"
releasedColor: "#FF6C3C"
pressedColor: "#FF4304"
visible: parent.currentPage === 6
onClicked: wizard.useMoneroClicked()
}
}