You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

37 lines
677 B

import QtQuick 2.6
import QtQuick.Controls 2.0
import org.electrum 1.0
import "controls"
Item {
id: scanPage
property string title: qsTr('Scan')
property bool toolbar: false
property string scanData
property string error
signal found
QRScan {
anchors.top: parent.top
anchors.bottom: parent.bottom
width: parent.width
onFound: {
scanPage.scanData = scanData
scanPage.found()
}
}
Button {
anchors.horizontalCenter: parent.horizontalCenter
id: button
anchors.bottom: parent.bottom
text: 'Cancel'
onClicked: app.stack.pop()
}
}