diff --git a/CellFrameDashboardGUI/DapUiQmlWidgetStatusBar.qml b/CellFrameDashboardGUI/DapUiQmlWidgetStatusBar.qml index 044bd3652aecee5e6cee23c2008c831eedbf90fb..41877dd0e02ae9c940fee55ad928f76655d6ab0f 100644 --- a/CellFrameDashboardGUI/DapUiQmlWidgetStatusBar.qml +++ b/CellFrameDashboardGUI/DapUiQmlWidgetStatusBar.qml @@ -61,6 +61,11 @@ Rectangle { color: "#797979" } + DapUiQmlScreenDialogAddWallet + { + id: dialogAddWallet + } + DapUiQmlWidgetStatusBarButton { width: 130 * pt anchors.right: parent.right @@ -69,6 +74,9 @@ Rectangle { anchors.rightMargin: 20 * pt anchors.bottom: parent.bottom anchors.bottomMargin: 10 * pt + + onClicked: addWallet() + onAddWallet: dialogAddWallet.show() } } } diff --git a/CellFrameDashboardGUI/DapUiQmlWidgetStatusBarButton.ui.qml b/CellFrameDashboardGUI/DapUiQmlWidgetStatusBarButton.ui.qml index 704e93498b63a76242a79fb6481d4553fa3b9d62..5c9560a4f1d795176a2a680a9a1e913700b399c6 100644 --- a/CellFrameDashboardGUI/DapUiQmlWidgetStatusBarButton.ui.qml +++ b/CellFrameDashboardGUI/DapUiQmlWidgetStatusBarButton.ui.qml @@ -2,6 +2,8 @@ import QtQuick 2.0 import QtQuick.Controls 2.5 Button { + id: button + signal addWallet contentItem: Rectangle { anchors.fill: parent border.color: "#B5B5B5"