diff --git a/CellFrameDashboardGUI/screen/Exchange/DapUiQmlScreenExchangeForm.ui.qml b/CellFrameDashboardGUI/screen/Exchange/DapUiQmlScreenExchangeForm.ui.qml index ef5bb59b8eacc9fed794355edfa00916237934e6..da48babc60c3af22f3ada7c03fefe7e5cbb9c0b1 100644 --- a/CellFrameDashboardGUI/screen/Exchange/DapUiQmlScreenExchangeForm.ui.qml +++ b/CellFrameDashboardGUI/screen/Exchange/DapUiQmlScreenExchangeForm.ui.qml @@ -12,7 +12,7 @@ Page { anchors.leftMargin: 24*pt anchors.topMargin: 12*pt anchors.rightMargin: 24*pt - height:42 * pt + height:30 * pt ///Token ComboBox Rectangle{ @@ -36,6 +36,13 @@ Page { sidePaddingActive: 16*pt sidePaddingNormal: 0 x:popup.visible ? sidePaddingActive * (-1) : sidePaddingNormal + topIndentActive:12 * pt + bottomIndentActive:14 * pt + heightComboBoxNormal:24 * pt + heightComboBoxActive:44 * pt + bottomIntervalListElement:6 * pt + + } } @@ -65,6 +72,11 @@ Page { sidePaddingActive: 16*pt sidePaddingNormal: 0 x:popup.visible ? sidePaddingActive * (-1) : sidePaddingNormal + topIndentActive:12 * pt + bottomIndentActive:14 * pt + heightComboBoxNormal:24 * pt + heightComboBoxActive:44 * pt + bottomIntervalListElement:6 * pt } } diff --git a/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBar.qml b/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBar.qml index 8fcd540cc9bf4ad2fca9820c5d1a82d3d0abb6b1..4b70c0bcb2c3b97376ffd0cb5bfa63fda36e9b7c 100644 --- a/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBar.qml +++ b/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBar.qml @@ -6,71 +6,106 @@ import QtQuick.Layouts 1.3 import "../../" Rectangle { - Rectangle { - anchors.fill: parent - anchors.bottomMargin: 1 - color: "transparent" - + height:60 * pt + anchors{ + top: parent.top + left: parent.left + right: parent.right + } + color: "transparent" Row { anchors.fill: parent - anchors.leftMargin: 30 * pt - anchors.topMargin: 10 * pt - anchors.bottomMargin: 10 * pt - spacing: 10 * pt - Label { + id:labelWaletStatusBar text: qsTr("Wallet") + anchors.left: parent.left + anchors.leftMargin: 48 * pt anchors.top: parent.top anchors.bottom: parent.bottom verticalAlignment: Qt.AlignVCenter + horizontalAlignment: Qt.AlignLeft font.family: fontRobotoRegular.name font.pixelSize: 12 * pt - color: "#A7A7A7" + color: "#ACAAB5" } - DapComboBox { - id: comboboxWallet - width: 190*pt + + + Rectangle{ + id:combBoxStatusBar + anchors.left:labelWaletStatusBar.right + anchors.leftMargin:30 * pt anchors.top: parent.top anchors.bottom: parent.bottom + width:148 * pt + color: "transparent" + DapComboBox { + id: comboboxWallet +// property Label fieldBalance: Label {} +// model: dapWalletModel.wallets + ///Demo model + model: ListModel{ + id:ÑonversionList + ListElement{text:"all wallets"} + ListElement{text:"Money for children"} + ListElement{text:"Money for education"} + ListElement{text:"Money for medicine"} + } - property Label fieldBalance: Label {} - model: dapWalletModel.wallets - - indicatorImageNormal:"qrc:/res/icons/ic_arrow_drop_down.png" - indicatorImageActive: "qrc:/res/icons/ic_arrow_drop_up.png" - sidePaddingNormal:12 * pt - normalColorText:"#FFFFFF" - hilightColorTopText:"#332F49" - hilightColor: "#332F49" - fontSizeComboBox: 14*pt + indicatorImageNormal: "qrc:/res/icons/ic_arrow_drop_down.png" + indicatorImageActive: "qrc:/res/icons/ic_arrow_drop_up.png" + sidePaddingNormal:0 * pt + sidePaddingActive:16 * pt + topIndentActive:10 * pt + normalColorText:"#070023" + hilightColorText:"#FFFFFF" + normalColorTopText:"#FFFFFF" + hilightColorTopText:"#070023" + hilightColor: "#330F54" + normalTopColor: "#070023" + fontSizeComboBox: 14*px + widthPopupComboBoxNormal:148 * pt + widthPopupComboBoxActive:180 * pt + heightComboBoxNormal:24 * pt + heightComboBoxActive:44 * pt + bottomIntervalListElement:8 * pt + topEffect:false + x:popup.visible ? sidePaddingActive * (-1) : sidePaddingNormal + } } Label { id: titleWalletBalance + anchors.left: combBoxStatusBar.right + anchors.leftMargin: 70 * pt anchors.top: parent.top anchors.bottom: parent.bottom verticalAlignment: Qt.AlignVCenter text: qsTr("Wallet balance:") font.family: fontRobotoRegular.name font.pixelSize: 12 * pt - color: "#A7A7A7" + color: "#ACAAB5" } Label { id: fieldWalletBalance anchors.top: parent.top anchors.bottom: parent.bottom + anchors.left: titleWalletBalance.right + anchors.leftMargin: 18 * pt verticalAlignment: Qt.AlignVCenter font.family: fontRobotoRegular.name font.pixelSize: 16 * pt color: "#FFFFFF" - text: dapChainConvertor.toConvertCurrency( - dapWalletModel.walletBalance(comboboxWallet.currentText)) + ///DemoDate + text: "$ 3 050 745.3453289 USD" +// text: dapChainConvertor.toConvertCurrency( +// dapWalletModel.walletBalance(comboboxWallet.currentText)) } } DapUiQmlWidgetStatusBarButtonForm { id: statusBarAddWalletButton - width: 120 * pt + visible: rightPanel.visible ? true : false + width: rightPanel.visible ? 120 * pt : 0 height: 36 * pt name: qsTr("New wallet") fontHeight: 14 * pt @@ -92,7 +127,9 @@ Rectangle { target: rightPanel.header.currentItem onPressedCloseAddWalletChanged: statusBarAddWalletButton.backgroundColor = "#070023" } + } } -} + + diff --git a/libdap-qt-ui-qml b/libdap-qt-ui-qml index 4c38710d45f7e5e7c3ba8139a964c886b4061f10..dd91e44d482c478322350fba08d8cf65292f163f 160000 --- a/libdap-qt-ui-qml +++ b/libdap-qt-ui-qml @@ -1 +1 @@ -Subproject commit 4c38710d45f7e5e7c3ba8139a964c886b4061f10 +Subproject commit dd91e44d482c478322350fba08d8cf65292f163f