Skip to content
Snippets Groups Projects
Commit 56b2a51e authored by Andrey Daragan's avatar Andrey Daragan
Browse files

Merge branch 'develop' into bugs-2893

# Conflicts:
#	CellFrameDashboardGUI/screen/desktop/Dashboard/DapDashboardTopPanelForm.ui.qml
parents f4bfd6c0 3c5a3889
No related branches found
No related tags found
1 merge request!11Cellframe clone
...@@ -3,23 +3,26 @@ import QtQuick.Controls 2.0 ...@@ -3,23 +3,26 @@ import QtQuick.Controls 2.0
import "qrc:/widgets" import "qrc:/widgets"
import "../../" import "../../"
DapAbstractTopPanel { DapAbstractTopPanel
{
anchors.fill: parent anchors.fill: parent
// Static text "Wallet" // Static text "Wallet"
Label { Label
{
id: textHeaderWallet id: textHeaderWallet
text: qsTr("Wallet") text: qsTr("Wallet")
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 24 * pt anchors.leftMargin: 24 * pt
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
font.family: DapMainApplicationWindow.dapFontRobotoRegular.name font.family: DapMainApplicationWindow.dapFontRobotoRegular.name
font.pointSize: 12 font.pixelSize: 12 * pt
color: "#ACAAB5" color: "#ACAAB5"
} }
// Wallet selection combo box // Wallet selection combo box
Rectangle { Rectangle
{
id: frameComboBox id: frameComboBox
anchors.left: textHeaderWallet.right anchors.left: textHeaderWallet.right
...@@ -28,25 +31,30 @@ DapAbstractTopPanel { ...@@ -28,25 +31,30 @@ DapAbstractTopPanel {
width: 148 * pt width: 148 * pt
color: "transparent" color: "transparent"
DapComboBox { DapComboBox
{
id: comboboxWallet id: comboboxWallet
model: ListModel { model: ListModel
{
id: сonversionList id: сonversionList
ListElement { ListElement
{
text: "all wallets" text: "all wallets"
} }
ListElement { ListElement
{
text: "Money for children" text: "Money for children"
} }
ListElement { ListElement
{
text: "Money for education" text: "Money for education"
} }
ListElement { ListElement
{
text: "Money for medicine" text: "Money for medicine"
} }
} }
indicatorImageNormal: "qrc:/res/icons/ic_arrow_drop_down.png" indicatorImageNormal: "qrc:/res/icons/ic_arrow_drop_down.png"
indicatorImageActive: "qrc:/res/icons/ic_arrow_drop_up.png" indicatorImageActive: "qrc:/res/icons/ic_arrow_drop_up.png"
sidePaddingNormal: 0 * pt sidePaddingNormal: 0 * pt
...@@ -65,35 +73,54 @@ DapAbstractTopPanel { ...@@ -65,35 +73,54 @@ DapAbstractTopPanel {
bottomIntervalListElement: 8 * pt bottomIntervalListElement: 8 * pt
topEffect: false topEffect: false
x: popup.visible ? sidePaddingActive * (-1) : sidePaddingNormal x: popup.visible ? sidePaddingActive * (-1) : sidePaddingNormal
normalColor: "#FFFFFF"
hilightTopColor: normalColor
topIndentNormal: 12 * pt
bottomIndentNormal: 14 * pt
bottomIndentActive: bottomIndentNormal
paddingTopItemDelegate: 8 * pt
paddingBottomItemDelegate: paddingTopItemDelegate
heightListElement: 32 * pt
intervalListElement: 10 * pt
indicatorWidth: 24 * pt
indicatorHeight: indicatorWidth
colorTopNormalDropShadow: "#00000000"
colorDropShadow: "#40ABABAB"
fontComboBox.pixelSize: 14 * pt
fontComboBox.family: "Roboto"
} }
} }
// Static wallet balance text "Wallet balance" // Static wallet balance text "Wallet balance"
Label { Label
{
id: headerWalletBalance id: headerWalletBalance
text: qsTr("Wallet balance") text: qsTr("Wallet balance")
anchors.left: frameComboBox.right anchors.left: frameComboBox.right
anchors.leftMargin: 70 * pt anchors.leftMargin: 70 * pt
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
font.family: DapMainApplicationWindow.dapFontRobotoRegular.name font.family: DapMainApplicationWindow.dapFontRobotoRegular.name
font.pointSize: 12 * pt font.pixelSize: 12 * pt
color: "#ACAAB5" color: "#ACAAB5"
} }
// Dynamic wallet balance text // Dynamic wallet balance text
Label { Label
{
id: textWalletBalance id: textWalletBalance
text: "$ 3 050 745.3453289 USD" text: "$ 3 050 745.3453289 USD"
anchors.left: headerWalletBalance.right anchors.left: headerWalletBalance.right
anchors.leftMargin: 18 * pt anchors.leftMargin: 18 * pt
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
font.family: DapMainApplicationWindow.dapFontRobotoRegular.name font.family: DapMainApplicationWindow.dapFontRobotoRegular.name
font.pointSize: 16 * pt font.pixelSize: 16 * pt
color: "#FFFFFF" color: "#FFFFFF"
} }
// Wallet create button // Wallet create button
DapButton { DapButton
{
id: addWalletButton id: addWalletButton
textButton: "New wallet" textButton: "New wallet"
anchors.right: parent.right anchors.right: parent.right
...@@ -115,5 +142,10 @@ DapAbstractTopPanel { ...@@ -115,5 +142,10 @@ DapAbstractTopPanel {
existenceImage: true existenceImage: true
borderColorButton: "#000000" borderColorButton: "#000000"
borderWidthButton: 0 borderWidthButton: 0
fontButton.family: "Roboto"
fontButton.weight: Font.Normal
horizontalAligmentText:Qt.AlignRight
colorTextButton: "#FFFFFF"
} }
} }
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