File tree Expand file tree Collapse file tree 3 files changed +28
-6
lines changed
Expand file tree Collapse file tree 3 files changed +28
-6
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,36 @@ OptionPopup {
1313 id: root
1414
1515 property alias coinControlEnabled: coinControlToggle .checked
16+ property alias multipleRecipientsEnabled: multipleRecipientsToggle .checked
17+
18+ implicitWidth: 300
19+ implicitHeight: 100
1620
1721 clip: true
1822 modal: true
1923 dim: false
2024
21- EllipsisMenuToggleItem {
22- id: coinControlToggle
25+ ColumnLayout {
26+ id: columnLayout
2327 anchors .centerIn : parent
24- text: qsTr (" Enable Coin control" )
28+ anchors .margins : 10
29+ spacing: 0
30+
31+ EllipsisMenuToggleItem {
32+ id: coinControlToggle
33+ Layout .fillWidth : true
34+ text: qsTr (" Enable Coin control" )
35+ }
36+
37+ Separator {
38+ id: separator
39+ Layout .fillWidth : true
40+ }
41+
42+ EllipsisMenuToggleItem {
43+ id: multipleRecipientsToggle
44+ Layout .fillWidth : true
45+ text: qsTr (" Multiple Recipients" )
46+ }
2547 }
2648}
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ class SendRecipientsListModel : public QAbstractListModel
1414{
1515 Q_OBJECT
1616
17-
1817public:
1918 enum Roles {
2019 AddressRole = Qt::UserRole + 1 ,
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ PageStack {
3333 Settings {
3434 id: settings
3535 property alias coinControlEnabled: sendOptionsPopup .coinControlEnabled
36+ property alias multipleRecipientsEnabled: sendOptionsPopup .multipleRecipientsEnabled
3637 }
3738
3839 ScrollView {
@@ -53,6 +54,7 @@ PageStack {
5354 Layout .fillWidth : true
5455 Layout .topMargin : 30
5556 Layout .bottomMargin : 20
57+
5658 CoreText {
5759 id: title
5860 anchors .left : parent .left
@@ -61,6 +63,7 @@ PageStack {
6163 font .pixelSize : 21
6264 bold: true
6365 }
66+
6467 EllipsisMenuButton {
6568 id: menuButton
6669 anchors .right : parent .right
@@ -75,8 +78,6 @@ PageStack {
7578 id: sendOptionsPopup
7679 x: menuButton .x - width + menuButton .width
7780 y: menuButton .y + menuButton .height
78- width: 300
79- height: 50
8081 }
8182 }
8283
You can’t perform that action at this time.
0 commit comments