-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #403: Introduce Create Single-Sig wallet flow
a3de255 qml: Introduce Create Wallet Single-Sig flow (johnny9) 0266742 qml: Introduce AddWallet page after onboarding (johnny9) 931d442 qml: Add DISABLED state to ContinueButton (johnny9) 4f11e01 qml: Add color properties to ContinueButton (johnny9) Pull request description: These changes add more pages after the initial onboarding. To test, run the application with the `-resetguisettings` option. Link to github actions build artifacts. [![Build Artifacts](https://img.shields.io/badge/Build%20Artifacts-green )](https://github.com/bitcoin-core/gui-qml/actions/runs/9263281845) ACKs for top commit: D33r-Gee: tACK [a3de255](a3de255) on WSL Ubuntu 22.04 Tree-SHA512: 9970996d1b26a9db7733b050e13d37494c7f0ebbcb0faa00b3a565a5aaeb634ac1d7ad38c11a0de34d15f28c52be953935d025b979e132990bc7dc70a84964a8
- Loading branch information
Showing
27 changed files
with
767 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// Copyright (c) 2022 The Bitcoin Core developers | ||
// Distributed under the MIT software license, see the accompanying | ||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||
|
||
import QtQuick 2.15 | ||
import QtQuick.Controls 2.15 | ||
|
||
TextField { | ||
id: root | ||
|
||
property bool hideText: false | ||
|
||
implicitHeight: 56 | ||
implicitWidth: 450 | ||
font.family: "Inter" | ||
font.styleName: "Regular" | ||
font.pixelSize: 18 | ||
color: Theme.color.neutral9 | ||
placeholderTextColor: Theme.color.neutral5 | ||
echoMode: hideText ? TextInput.Password : TextInput.Normal | ||
rightPadding: hideText ? 46 : 20 | ||
leftPadding: 20 | ||
background: Rectangle { | ||
border.color: Theme.color.neutral5 | ||
border.width: 1 | ||
color: "transparent" | ||
radius: 5 | ||
|
||
Icon { | ||
id: visibleIcon | ||
enabled: hideText | ||
visible: hideText | ||
anchors.right: parent.right | ||
anchors.rightMargin: 12 | ||
size: 24 | ||
anchors.verticalCenter: parent.verticalCenter | ||
source: "qrc:/icons/visible" | ||
color: Theme.color.neutral5 | ||
onClicked: { | ||
if (root.echoMode == TextInput.Password) { | ||
root.echoMode = TextInput.Normal | ||
visibleIcon.source = "qrc:/icons/hidden" | ||
} else { | ||
root.echoMode = TextInput.Password | ||
visibleIcon.source = "qrc:/icons/visible" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.