1 changed files with 0 additions and 37 deletions
@ -1,37 +0,0 @@ |
|||||||
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() |
|
||||||
} |
|
||||||
} |
|
||||||
Loading…
Reference in new issue