2023-03-06 12:18:25 +00: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
|
|
|
|
|
|
|
|
import AppLayouts.Chat.views.communities 1.0
|
|
|
|
|
|
|
|
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-05-23 16:34:16 +00:00
|
|
|
CommunityNewTokenView {
|
2023-03-06 12:18:25 +00:00
|
|
|
anchors.fill: parent
|
|
|
|
anchors.margins: 50
|
2023-05-25 10:30:16 +00:00
|
|
|
isAssetView: isAssetBox.checked
|
2023-03-08 13:44:47 +00:00
|
|
|
layer1Networks: NetworksModel.layer1Networks
|
|
|
|
layer2Networks: NetworksModel.layer2Networks
|
|
|
|
testNetworks: NetworksModel.testNetworks
|
|
|
|
enabledNetworks: NetworksModel.enabledNetworks
|
|
|
|
allNetworks: enabledNetworks
|
2023-03-17 15:09:27 +00:00
|
|
|
accounts: WalletAccountsModel {}
|
2023-05-25 14:45:46 +00:00
|
|
|
tokensModel: MintedTokensModel.mintedTokensModel
|
2023-03-06 12:18:25 +00:00
|
|
|
|
2023-05-23 16:34:16 +00:00
|
|
|
onPreviewClicked: logs.logEvent("CommunityNewTokenView::previewClicked")
|
2023-03-06 12:18:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
LogsAndControlsPanel {
|
|
|
|
id: logsAndControlsPanel
|
|
|
|
|
|
|
|
SplitView.minimumHeight: 100
|
|
|
|
SplitView.preferredHeight: 150
|
|
|
|
|
|
|
|
logsView.logText: logs.logText
|
|
|
|
}
|
|
|
|
}
|
2023-05-25 10:30:16 +00:00
|
|
|
|
|
|
|
Pane {
|
|
|
|
SplitView.minimumWidth: 300
|
|
|
|
SplitView.preferredWidth: 300
|
|
|
|
|
|
|
|
CheckBox {
|
|
|
|
id: isAssetBox
|
|
|
|
text: "Is Assets View?"
|
|
|
|
checked: false
|
|
|
|
}
|
|
|
|
}
|
2023-03-06 12:18:25 +00:00
|
|
|
}
|