@ -30,7 +30,7 @@ import QtQuick 2.2
import moneroComponents . TranslationManager 1.0
import QtQuick . Dialogs 1.2
import QtQuick . Layouts 1.2
import "../components"
import "../components" as MoneroComponents
import 'utils.js' as Utils
/ / R e u s a b l e c o m p o n e n t f o r m n a g i n g w a l l e t ( a c c o u n t n a m e , p a t h , p r i v a t e k e y )
@ -157,7 +157,7 @@ ColumnLayout {
ColumnLayout {
Layout.bottomMargin: rowSpacing
Label {
MoneroComponents. Label {
Layout.topMargin: 20 * scaleRatio
fontFamily: "Arial"
fontColor: "#555555"
@ -166,7 +166,7 @@ ColumnLayout {
+ translationManager . emptyString
}
LineEdit {
MoneroComponents. LineEdit {
id: accountName
Layout.fillWidth: true
Layout.maximumWidth: 600 * scaleRatio
@ -178,13 +178,20 @@ ColumnLayout {
fontColor: "black"
fontBold: false
}
MoneroComponents . WarningBox {
color: "#DBDBDB"
textColor: "#4A4646"
visible: ! recoverFromDevice && ! recoverMode
text: qsTr ( "WARNING: Copying your seed to clipboard can expose you to malicious software, which may record your seed and steal your Monero. Please write down your seed manually." ) + translationManager . emptyString
}
}
GridLayout {
columns: ( isMobile ) ? 2 : 4
visible: recoverMode
StandardButton {
MoneroComponents. StandardButton {
id: recoverFromSeedButton
text: qsTr ( "Restore from seed" ) + translationManager . emptyString
enabled: recoverFromKeys . visible
@ -194,7 +201,7 @@ ColumnLayout {
}
}
StandardButton {
MoneroComponents. StandardButton {
id: recoverFromKeysButton
text: qsTr ( "Restore from keys" ) + translationManager . emptyString
enabled: recoverFromSeed . visible
@ -204,7 +211,7 @@ ColumnLayout {
}
}
StandardButton {
MoneroComponents. StandardButton {
id: qrfinderButton
text: qsTr ( "From QR Code" ) + translationManager . emptyString
visible : appWindow . qrScannerEnabled
@ -236,7 +243,7 @@ ColumnLayout {
id: recoverFromKeys
visible: recoverMode && ! recoverFromSeedMode
columns: 1
LineEdit {
MoneroComponents. LineEdit {
Layout.fillWidth: true
id: addressLine
Layout.maximumWidth: 600 * scaleRatio
@ -252,7 +259,7 @@ ColumnLayout {
fontColor: "black"
fontBold: false
}
LineEdit {
MoneroComponents. LineEdit {
Layout.fillWidth: true
id: viewKeyLine
Layout.maximumWidth: 600 * scaleRatio
@ -269,7 +276,7 @@ ColumnLayout {
fontBold: false
}
LineEdit {
MoneroComponents. LineEdit {
Layout.fillWidth: true
Layout.maximumWidth: 600 * scaleRatio
Layout.minimumWidth: 200 * scaleRatio
@ -289,7 +296,7 @@ ColumnLayout {
/ / R e s t o r e H e i g h t
RowLayout {
LineEdit {
MoneroComponents. LineEdit {
id: restoreHeightItem
Layout.fillWidth: true
Layout.maximumWidth: 600 * scaleRatio
@ -312,7 +319,7 @@ ColumnLayout {
/ / S u b a d d r e s s l o o k a h e a d
RowLayout {
visible: recoverFromDevice
LineEdit {
MoneroComponents. LineEdit {
id: subaddressLookaheadItem
Layout.fillWidth: true
Layout.maximumWidth: 600 * scaleRatio
@ -332,7 +339,7 @@ ColumnLayout {
/ / D e v i c e n a m e
ColumnLayout {
visible: recoverFromDevice
Label {
MoneroComponents. Label {
Layout.topMargin: 20 * scaleRatio
fontFamily: "Arial"
fontColor: "#555555"
@ -344,7 +351,7 @@ ColumnLayout {
ListElement { column1: qsTr ( "Ledger" ) ; column2: "Ledger" ; }
/ / L i s t E l e m e n t { c o l u m n 1 : q s T r ( " T r e z o r " ) ; c o l u m n 2 : " T r e z o r " ; }
}
StandardDropdown {
MoneroComponents. StandardDropdown {
id: deviceNameDropdown
dataModel: deviceNameModel
Layout.fillWidth: true
@ -358,7 +365,7 @@ ColumnLayout {
/ / W a l l e t s t o r e l o c a t i o n
ColumnLayout {
z: deviceNameDropdown . z - 1
Label {
MoneroComponents. Label {
Layout.fillWidth: true
Layout.topMargin: 20 * scaleRatio
fontSize: 14
@ -367,7 +374,7 @@ ColumnLayout {
text: qsTr ( "Your wallet is stored in" ) + ": " + fileUrlInput . text ;
}
LineEdit {
MoneroComponents. LineEdit {
Layout.fillWidth: true
Layout.maximumWidth: 600 * scaleRatio
Layout.minimumWidth: 200 * scaleRatio