qml: new object names for token selector panel
This commit is contained in:
parent
94c62dae26
commit
9598e9a44c
|
@ -444,6 +444,9 @@ Item {
|
||||||
|
|
||||||
StatusBaseInput {
|
StatusBaseInput {
|
||||||
id: statusBaseInput
|
id: statusBaseInput
|
||||||
|
|
||||||
|
objectName: "statusBaseInput"
|
||||||
|
|
||||||
implicitWidth: parent.width
|
implicitWidth: parent.width
|
||||||
implicitHeight: internal.inputHeight
|
implicitHeight: internal.inputHeight
|
||||||
Layout.alignment: Qt.AlignTop
|
Layout.alignment: Qt.AlignTop
|
||||||
|
|
|
@ -139,6 +139,8 @@ Control {
|
||||||
contentItem: TokenSelectorPanel {
|
contentItem: TokenSelectorPanel {
|
||||||
id: tokenSelectorPanel
|
id: tokenSelectorPanel
|
||||||
|
|
||||||
|
objectName: "tokenSelectorPanel"
|
||||||
|
|
||||||
function findSubitem(key) {
|
function findSubitem(key) {
|
||||||
const count = collectiblesModel.rowCount()
|
const count = collectiblesModel.rowCount()
|
||||||
|
|
||||||
|
|
|
@ -119,6 +119,8 @@ Control {
|
||||||
StatusTabBar {
|
StatusTabBar {
|
||||||
id: tabBar
|
id: tabBar
|
||||||
|
|
||||||
|
objectName: "tokensTabBar"
|
||||||
|
|
||||||
visible: !!root.assetsModel && !!root.collectiblesModel
|
visible: !!root.assetsModel && !!root.collectiblesModel
|
||||||
|
|
||||||
currentIndex: !!root.assetsModel
|
currentIndex: !!root.assetsModel
|
||||||
|
@ -126,6 +128,9 @@ Control {
|
||||||
: TokenSelectorPanel.Tabs.Collectibles
|
: TokenSelectorPanel.Tabs.Collectibles
|
||||||
|
|
||||||
StatusTabButton {
|
StatusTabButton {
|
||||||
|
|
||||||
|
objectName: "assetsTab"
|
||||||
|
|
||||||
text: qsTr("Assets")
|
text: qsTr("Assets")
|
||||||
width: implicitWidth
|
width: implicitWidth
|
||||||
|
|
||||||
|
@ -133,6 +138,9 @@ Control {
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusTabButton {
|
StatusTabButton {
|
||||||
|
|
||||||
|
objectName: "collectiblesTab"
|
||||||
|
|
||||||
text: qsTr("Collectibles")
|
text: qsTr("Collectibles")
|
||||||
width: implicitWidth
|
width: implicitWidth
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue