2023-03-06 13:18:25 +01:00
|
|
|
import QtQuick 2.14
|
|
|
|
import QtQuick.Controls 2.14
|
|
|
|
import QtQuick.Layouts 1.14
|
|
|
|
|
|
|
|
import StatusQ.Core.Theme 0.1
|
|
|
|
import StatusQ.Components 0.1
|
|
|
|
|
2023-06-23 08:17:04 +02:00
|
|
|
import AppLayouts.Communities.views 1.0
|
2023-03-06 13:18:25 +01:00
|
|
|
|
|
|
|
import Storybook 1.0
|
|
|
|
import Models 1.0
|
|
|
|
|
|
|
|
import utils 1.0
|
|
|
|
|
|
|
|
SplitView {
|
|
|
|
|
|
|
|
Logs { id: logs }
|
|
|
|
|
|
|
|
SplitView {
|
|
|
|
orientation: Qt.Vertical
|
|
|
|
SplitView.fillWidth: true
|
|
|
|
|
|
|
|
Item {
|
|
|
|
SplitView.fillWidth: true
|
|
|
|
SplitView.fillHeight: true
|
|
|
|
|
2023-06-26 13:48:45 +02:00
|
|
|
EditCommunityTokenView {
|
2023-03-06 13:18:25 +01:00
|
|
|
anchors.fill: parent
|
|
|
|
anchors.margins: 50
|
2023-05-25 12:30:16 +02:00
|
|
|
isAssetView: isAssetBox.checked
|
2023-03-08 14:44:47 +01:00
|
|
|
layer1Networks: NetworksModel.layer1Networks
|
|
|
|
layer2Networks: NetworksModel.layer2Networks
|
|
|
|
enabledNetworks: NetworksModel.enabledNetworks
|
|
|
|
allNetworks: enabledNetworks
|
2023-03-17 16:09:27 +01:00
|
|
|
accounts: WalletAccountsModel {}
|
2023-06-27 23:05:33 +02:00
|
|
|
tokensModel: MintedTokensModel {}
|
2023-07-04 16:21:15 +03:00
|
|
|
tokensModelWallet: ListModel {
|
|
|
|
ListElement {
|
|
|
|
symbol: "MAI"
|
|
|
|
}
|
|
|
|
}
|
2023-06-26 13:48:45 +02:00
|
|
|
onPreviewClicked: logs.logEvent("EditCommunityTokenView::previewClicked")
|
2023-03-06 13:18:25 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
LogsAndControlsPanel {
|
|
|
|
id: logsAndControlsPanel
|
|
|
|
|
|
|
|
SplitView.minimumHeight: 100
|
|
|
|
SplitView.preferredHeight: 150
|
|
|
|
|
|
|
|
logsView.logText: logs.logText
|
2023-05-25 12:30:16 +02:00
|
|
|
|
2023-06-27 23:05:33 +02:00
|
|
|
CheckBox {
|
|
|
|
id: isAssetBox
|
|
|
|
text: "Is Assets View?"
|
|
|
|
checked: false
|
|
|
|
}
|
2023-05-25 12:30:16 +02:00
|
|
|
}
|
|
|
|
}
|
2023-03-06 13:18:25 +01:00
|
|
|
}
|
2023-07-31 14:21:14 +02:00
|
|
|
|
|
|
|
// category: Views
|