mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-22 02:34:36 +00:00
Introduced 'show advanced options' checkbox
This commit is contained in:
parent
dc1d5e9e0a
commit
229fba2de9
1 changed files with 14 additions and 0 deletions
|
@ -48,6 +48,7 @@ Rectangle {
|
||||||
property var model
|
property var model
|
||||||
property var current_address
|
property var current_address
|
||||||
property int current_subaddress_table_index: 0
|
property int current_subaddress_table_index: 0
|
||||||
|
property bool advancedRowVisible: false
|
||||||
property alias receiveHeight: mainLayout.height
|
property alias receiveHeight: mainLayout.height
|
||||||
property alias addressText : pageReceive.current_address
|
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 {
|
GridLayout {
|
||||||
|
id: advancedRow
|
||||||
columns: (isMobile)? 1 : 2
|
columns: (isMobile)? 1 : 2
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
columnSpacing: 32 * scaleRatio
|
columnSpacing: 32 * scaleRatio
|
||||||
|
visible: advancedRowVisible
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
Layout.alignment: Qt.AlignTop
|
Layout.alignment: Qt.AlignTop
|
||||||
|
|
Loading…
Reference in a new issue