2023-03-13 10:52:00 +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
|
|
|
|
|
2023-06-23 06:17:04 +00:00
|
|
|
import AppLayouts.Communities.views 1.0
|
2023-03-13 10:52:00 +00: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 11:48:45 +00:00
|
|
|
MintedTokensView {
|
2023-03-13 10:52:00 +00:00
|
|
|
anchors.fill: parent
|
|
|
|
anchors.margins: 50
|
2023-05-25 14:45:46 +00:00
|
|
|
model: MintedTokensModel.mintedTokensModel
|
2023-06-26 11:48:45 +00:00
|
|
|
onItemClicked: logs.logEvent("MintedTokensView::itemClicked --> " + tokenKey)
|
2023-03-13 10:52:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
LogsAndControlsPanel {
|
|
|
|
id: logsAndControlsPanel
|
|
|
|
|
|
|
|
SplitView.minimumHeight: 100
|
|
|
|
SplitView.preferredHeight: 150
|
|
|
|
|
|
|
|
logsView.logText: logs.logText
|
2023-05-25 14:45:46 +00:00
|
|
|
|
|
|
|
RowLayout {
|
|
|
|
RadioButton {
|
|
|
|
text: "Assets and collectibles"
|
|
|
|
checked: true
|
|
|
|
onCheckedChanged: if(checked) MintedTokensModel.buildMintedTokensModel(true, true)
|
|
|
|
}
|
|
|
|
|
|
|
|
RadioButton {
|
|
|
|
text: "Only assets"
|
|
|
|
onCheckedChanged: if(checked) MintedTokensModel.buildMintedTokensModel(true, false)
|
|
|
|
}
|
|
|
|
|
|
|
|
RadioButton {
|
|
|
|
text: "Only collectibles"
|
|
|
|
onCheckedChanged: if(checked) MintedTokensModel.buildMintedTokensModel(false, true)
|
|
|
|
}
|
|
|
|
}
|
2023-03-13 10:52:00 +00:00
|
|
|
}
|
|
|
|
}
|
2023-05-25 14:45:46 +00:00
|
|
|
|
2023-03-13 10:52:00 +00:00
|
|
|
}
|