import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 import SortFilterProxyModel 0.2 import StatusQ.Core.Utils 0.1 import Storybook 1.0 import Models 1.0 import AppLayouts.Wallet.popups 1.0 SplitView { orientation: Qt.Horizontal PopupBackground { id: popupBg property var popupIntance: null SplitView.fillWidth: true SplitView.fillHeight: true Button { id: reopenButton anchors.centerIn: parent text: "Reopen" enabled: !dialog.visible onClicked: dialog.open() } ReceiveModal { id: dialog visible: true accounts: ListModel { ListElement { position: 0 name: "My account" } } selectedAccount: { "name": "My account", "emoji": "", "address": "0x1234567890123456789012345678901234567890", "preferredSharingChainIds": "10:42161:1:" } switchingAccounsEnabled: true changingPreferredChainsEnabled: true hasFloatingButtons: true qrImageSource: "https://upload.wikimedia.org/wikipedia/commons/4/41/QR_Code_Example.svg" getNetworkShortNames: function (chainIDsString) { let chainArray = chainIDsString.split(":") let chainNameString = "" for (let i =0; i