status-desktop/ui/app/AppLayouts/Wallet/SetCurrencyModal.qml

44 lines
835 B
QML

import QtQuick 2.13
import QtQuick.Controls 2.13
//import QtQuick.Layouts 1.13
//import Qt.labs.platform 1.1
import utils 1.0
import "../../../shared"
import "../../../shared/status"
import "./components"
ModalPopup {
id: popup
width: 480
height: 510
property string defaultCurrency
onDefaultCurrencyChanged: {
setCurrencyModalContent.currency = defaultCurrency
}
//% "Set Currency"
title: qsTrId("set-currency")
SetCurrencyModalContent {
id: setCurrencyModalContent
}
footer: StatusButton {
anchors.right: parent.right
//% "Save"
text: qsTrId("save")
onClicked: {
console.log("TODO: apply all accounts")
popup.close()
}
}
}
/*##^##
Designer {
D{i:0;autoSize:true;height:480;width:640}
}
##^##*/