From db259636d5a88ff911ef925bc60b5bb33bc11695 Mon Sep 17 00:00:00 2001
From: jonymt <johanmt@yandex.ru>
Date: Mon, 30 Sep 2019 18:29:44 +0200
Subject: [PATCH] [*] added components for statusBar

---
 .../DapUiQmlScreenMainWindowForm.ui.qml       | 79 ++++++++++++++-----
 1 file changed, 60 insertions(+), 19 deletions(-)

diff --git a/CellFrameDashboardGUI/DapUiQmlScreenMainWindowForm.ui.qml b/CellFrameDashboardGUI/DapUiQmlScreenMainWindowForm.ui.qml
index a4c12e547..3a0f65fba 100644
--- a/CellFrameDashboardGUI/DapUiQmlScreenMainWindowForm.ui.qml
+++ b/CellFrameDashboardGUI/DapUiQmlScreenMainWindowForm.ui.qml
@@ -12,9 +12,7 @@ Page {
     property alias listViewTabs: listViewTabs
     property alias stackViewScreenDashboard: stackViewScreenDashboard
 
-
-    Rectangle
-    {
+    Rectangle {
         id: rectangleTabsBorder
         anchors.top: parent.top
         anchors.bottom: parent.bottom
@@ -38,61 +36,106 @@ Page {
                     id: listModelTabs
 
                     ListElement {
-                        name:  qsTr("Dashboard")
+                        name: qsTr("Dashboard")
                         page: "DapUiQmlScreenDialog.qml"
                         source: "qrc:/Resources/Icons/defaul_icon.png"
                     }
                     ListElement {
-                        name:  qsTr("Exchange")
+                        name: qsTr("Exchange")
                         page: "DapUiQmlScreenExchangeForm.ui.qml"
                         source: "qrc:/Resources/Icons/defaul_icon.png"
                     }
                     ListElement {
-                        name:  qsTr("Settings")
+                        name: qsTr("Settings")
                         page: "DapQmlScreenAbout.qml"
                         source: "qrc:/Resources/Icons/defaul_icon.png"
                     }
                     ListElement {
-                        name:  qsTr("Logs")
+                        name: qsTr("Logs")
                         page: "DapUiQmlWidgetChainNodeLogs.qml"
                         source: "qrc:/Resources/Icons/defaul_icon.png"
                     }
                     ListElement {
-                        name:  qsTr("History")
+                        name: qsTr("History")
                         page: "DapUiQmlScreenHistory.qml"
                         source: "qrc:/Resources/Icons/defaul_icon.png"
                     }
                     ListElement {
-                        name:  qsTr("Console")
+                        name: qsTr("Console")
                         page: "DapUiQmlScreenConsoleForm.ui.qml"
                         source: "qrc:/Resources/Icons/defaul_icon.png"
                     }
                     ListElement {
-                        name:  qsTr("About")
+                        name: qsTr("About")
                         page: "DapQmlScreenAbout.qml"
                         source: "qrc:/Resources/Icons/defaul_icon.png"
                     }
                 }
                 delegate: componentItemMainMenuTab
-
             }
             focus: true
         }
     }
 
-    Rectangle
-    {
+    Rectangle {
         id: rectangleStatusBar
         anchors.left: rectangleTabsBorder.right
         anchors.top: parent.top
         anchors.right: parent.right
         color: "#B5B5B5"
-        height: 60
-        Rectangle
-        {
+        height: 60 * pt
+        Rectangle {
             anchors.fill: parent
             anchors.bottomMargin: 1
             color: "#F2F2F4"
+
+            ComboBox {
+                id: comboboxWallet
+                anchors.left: parent.left
+                anchors.top: parent.top
+                anchors.bottom: parent.bottom
+                anchors.leftMargin: 30 * pt
+                anchors.topMargin: 10 * pt
+                anchors.bottomMargin: 10 * pt
+            }
+
+            Label {
+                id: titleWalletBalance
+                anchors.top: parent.top
+                anchors.left: comboboxWallet.right
+                anchors.bottom: parent.bottom
+                anchors.leftMargin: 40 * pt
+                anchors.topMargin: 10 * pt
+                anchors.bottomMargin: 10 * pt
+                verticalAlignment: Qt.AlignVCenter
+                text: "Wallet balance:"
+            }
+
+            Label {
+                id: fieldWalletBalance
+                anchors.top: parent.top
+                anchors.left: titleWalletBalance.right
+                anchors.bottom: parent.bottom
+                anchors.leftMargin: 16 * pt
+                anchors.topMargin: 10 * pt
+                anchors.bottomMargin: 10 * pt
+                verticalAlignment: Qt.AlignVCenter
+                text: "$ 0"
+            }
+
+            Button {
+                icon.source: "qrc:/Resources/Icons/defaul_icon.png"
+                icon.width: 28 * pt
+                icon.height: 28 * pt
+                width: 130 * pt
+                text: qsTr("New wallet")
+                anchors.right: parent.right
+                anchors.top: parent.top
+                anchors.topMargin: 10 * pt
+                anchors.rightMargin: 20 * pt
+                anchors.bottom: parent.bottom
+                anchors.bottomMargin: 10 * pt
+            }
         }
     }
 
@@ -113,10 +156,8 @@ Page {
     }
 }
 
-
-
-
 /*##^## Designer {
     D{i:0;autoSize:true;height:480;width:640}
 }
  ##^##*/
+
-- 
GitLab