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.
33 lines
656 B
33 lines
656 B
import QtQuick |
|
import QtQuick.Layouts |
|
import QtQuick.Controls |
|
|
|
import org.electrum 1.0 |
|
|
|
WizardComponent { |
|
valid: wiz.isValidNewWalletName(wallet_name.text) |
|
|
|
function apply() { |
|
wizard_data['wallet_name'] = wallet_name.text |
|
} |
|
|
|
ColumnLayout { |
|
width: parent.width |
|
|
|
Label { |
|
text: qsTr('Wallet name') |
|
} |
|
|
|
TextField { |
|
id: wallet_name |
|
Layout.fillWidth: true |
|
focus: true |
|
text: Daemon.suggestWalletName() |
|
inputMethodHints: Qt.ImhNoPredictiveText |
|
} |
|
} |
|
|
|
Component.onCompleted: { |
|
wallet_name.forceActiveFocus() |
|
} |
|
}
|
|
|