Skip to content
Snippets Groups Projects
Commit 06c4263f authored by littletux89@gmail.com's avatar littletux89@gmail.com
Browse files

Merge branch 'master' into bugs-2797

# Conflicts:
#	libdap-qt-ui-qml
parents 79e3bf06 1fcce308
No related branches found
No related tags found
1 merge request!65Bugs 2797
Pipeline #1464 passed with stage
in 19 minutes and 59 seconds
......@@ -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
}
}
......
......@@ -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"
}
}
}
}
Subproject commit 4c38710d45f7e5e7c3ba8139a964c886b4061f10
Subproject commit dd91e44d482c478322350fba08d8cf65292f163f
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment