aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-04-28 17:37:59 +0200
committerSander Ferdinand <sa.ferdinand@gmail.com>2018-05-03 12:35:53 +0200
commit229fba2de9337e8a16449fc7a20b11b8560d7601 (patch)
tree6e2763995110e6b244ed80acc663ed8cfc253a18
parentdc1d5e9e0a1af6b8b3b9ce48a378e2b57a618a36 (diff)
downloadmonzero-gui-229fba2de9337e8a16449fc7a20b11b8560d7601.tar.gz
monzero-gui-229fba2de9337e8a16449fc7a20b11b8560d7601.tar.xz
monzero-gui-229fba2de9337e8a16449fc7a20b11b8560d7601.zip
Introduced 'show advanced options' checkbox
-rw-r--r--pages/Receive.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/pages/Receive.qml b/pages/Receive.qml
index 9ab742c9..f5cac4a9 100644
--- a/pages/Receive.qml
+++ b/pages/Receive.qml
@@ -48,6 +48,7 @@ Rectangle {
property var model
property var current_address
property int current_subaddress_table_index: 0
+ property bool advancedRowVisible: false
property alias receiveHeight: mainLayout.height
property alias addressText : pageReceive.current_address
@@ -398,10 +399,23 @@ Rectangle {
}
}
+ RowLayout {
+ CheckBox2 {
+ id: showAdvancedCheckbox
+ checked: false
+ onClicked: {
+ advancedRowVisible = !advancedRowVisible;
+ }
+ text: qsTr("Advanced options") + translationManager.emptyString
+ }
+ }
+
GridLayout {
+ id: advancedRow
columns: (isMobile)? 1 : 2
Layout.fillWidth: true
columnSpacing: 32 * scaleRatio
+ visible: advancedRowVisible
ColumnLayout {
Layout.alignment: Qt.AlignTop