2023-12-26 10:19:41 +00:00
|
|
|
import QtQuick 2.14
|
|
|
|
import QtQuick.Layouts 1.14
|
|
|
|
|
|
|
|
import StatusQ.Core 0.1
|
|
|
|
|
|
|
|
import "../stores"
|
|
|
|
import "../panels"
|
|
|
|
|
|
|
|
FocusScope {
|
|
|
|
id: root
|
|
|
|
|
|
|
|
property var store
|
|
|
|
property var contactsStore
|
2024-02-22 14:41:19 +00:00
|
|
|
property var communitiesStore
|
2023-12-26 10:19:41 +00:00
|
|
|
property var networkConnectionStore
|
|
|
|
|
2024-08-12 10:41:27 +00:00
|
|
|
property bool dappsEnabled
|
|
|
|
property bool swapEnabled
|
|
|
|
|
2023-12-26 10:19:41 +00:00
|
|
|
property var sendModal
|
|
|
|
|
|
|
|
property alias header: header
|
|
|
|
property alias headerButton: header.headerButton
|
|
|
|
property alias networkFilter: header.networkFilter
|
|
|
|
|
2024-01-10 09:27:11 +00:00
|
|
|
default property alias content: contentWrapper.children
|
2023-12-26 10:19:41 +00:00
|
|
|
|
|
|
|
ColumnLayout {
|
2024-01-10 09:27:11 +00:00
|
|
|
anchors.fill: parent
|
2023-12-26 10:19:41 +00:00
|
|
|
spacing: 0
|
|
|
|
|
|
|
|
WalletHeader {
|
|
|
|
id: header
|
|
|
|
Layout.fillWidth: true
|
|
|
|
overview: RootStore.overview
|
|
|
|
store: root.store
|
|
|
|
walletStore: RootStore
|
|
|
|
networkConnectionStore: root.networkConnectionStore
|
2024-08-12 10:41:27 +00:00
|
|
|
dappsEnabled: root.dappsEnabled
|
2023-12-26 10:19:41 +00:00
|
|
|
}
|
|
|
|
|
2024-01-31 15:45:23 +00:00
|
|
|
Item {
|
2023-12-26 10:19:41 +00:00
|
|
|
id: contentWrapper
|
|
|
|
Layout.fillWidth: true
|
2024-01-10 09:27:11 +00:00
|
|
|
Layout.fillHeight: true
|
2023-12-26 10:19:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|