chore: object names added for wallet right tab buttons and filter button

This commit is contained in:
Valentina Novgorodtceva 2024-03-22 14:55:07 +07:00 committed by Anastasiya
parent af6dd257cc
commit 05df5d1bce
2 changed files with 5 additions and 0 deletions

View File

@ -96,15 +96,18 @@ RightTabBaseView {
Layout.topMargin: Style.current.padding Layout.topMargin: Style.current.padding
StatusTabButton { StatusTabButton {
objectName: "assetsTabButton"
leftPadding: 0 leftPadding: 0
width: implicitWidth width: implicitWidth
text: qsTr("Assets") text: qsTr("Assets")
} }
StatusTabButton { StatusTabButton {
objectName: "collectiblesTabButton"
width: implicitWidth width: implicitWidth
text: qsTr("Collectibles") text: qsTr("Collectibles")
} }
StatusTabButton { StatusTabButton {
objectName: "activityTabButton"
rightPadding: 0 rightPadding: 0
width: implicitWidth width: implicitWidth
text: qsTr("Activity") text: qsTr("Activity")
@ -116,6 +119,7 @@ RightTabBaseView {
StatusFlatButton { StatusFlatButton {
Layout.alignment: Qt.AlignTop Layout.alignment: Qt.AlignTop
id: filterButton id: filterButton
objectName: "filterButton"
icon.name: "filter" icon.name: "filter"
checkable: true checkable: true
icon.color: checked ? Theme.palette.primaryColor1 : Theme.palette.baseColor1 icon.color: checked ? Theme.palette.primaryColor1 : Theme.palette.baseColor1

View File

@ -194,6 +194,7 @@ ColumnLayout {
SortOrderComboBox { SortOrderComboBox {
id: cmbTokenOrder id: cmbTokenOrder
objectName: "cmbTokenOrder"
hasCustomOrderDefined: root.controller.hasSettings hasCustomOrderDefined: root.controller.hasSettings
model: [ model: [
{ value: SortOrderComboBox.TokenOrderCurrencyBalance, text: qsTr("Asset balance value"), icon: "token-sale", sortRoleName: "currentCurrencyBalance" }, // custom SFPM ExpressionRole on "enabledNetworkCurrencyBalance" amount { value: SortOrderComboBox.TokenOrderCurrencyBalance, text: qsTr("Asset balance value"), icon: "token-sale", sortRoleName: "currentCurrencyBalance" }, // custom SFPM ExpressionRole on "enabledNetworkCurrencyBalance" amount