-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(@desktop/wallet): Implements the Send Modal Footer required for …
…simple send fixes #16918
- Loading branch information
1 parent
77003fb
commit 16e67a2
Showing
11 changed files
with
270 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import QtQuick 2.14 | ||
import QtQuick.Controls 2.14 | ||
|
||
import StatusQ.Core.Theme 0.1 | ||
|
||
import Storybook 1.0 | ||
|
||
import AppLayouts.Wallet.views 1.0 | ||
|
||
SplitView { | ||
orientation: Qt.Vertical | ||
Logs { id: logs } | ||
|
||
Rectangle { | ||
SplitView.fillHeight: true | ||
SplitView.fillWidth: true | ||
color: Theme.palette.indirectColor1 | ||
|
||
SendModalFooter { | ||
id: footer | ||
anchors.centerIn: parent | ||
width: 595 | ||
|
||
loading: loadingCheckbox.checked | ||
|
||
onReviewSendClicked: console.log("review send clicked") | ||
} | ||
} | ||
|
||
LogsAndControlsPanel { | ||
id: logsAndControlsPanel | ||
|
||
SplitView.minimumHeight: 100 | ||
SplitView.preferredHeight: 200 | ||
|
||
logsView.logText: logs.logText | ||
|
||
Column { | ||
CheckBox { | ||
id: loadingCheckbox | ||
text: "loading" | ||
} | ||
|
||
Button { | ||
text: "set fees values" | ||
onClicked: { | ||
loadingCheckbox.checked = false | ||
footer.estimateTime = "~60s" | ||
footer.estimatedFees = "1.45 EUR" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
// category: Views |
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
Oops, something went wrong.