diff --git a/src/ui/StatusBar.qml b/src/ui/StatusBar.qml index 858d7f9..091001c 100644 --- a/src/ui/StatusBar.qml +++ b/src/ui/StatusBar.qml @@ -6,8 +6,37 @@ import "." as App Item { Layout.fillWidth: true Layout.preferredHeight: 28 - Label { - text : qsTr("iDescriptor: %1 device(s) connected").arg(App.DeviceContext.devices.count) - color: "red" + + RowLayout { + anchors.fill: parent + spacing: 12 + Label { + text : qsTr("iDescriptor: %1 device(s) connected").arg(App.DeviceContext.devices.count) + color: "red" + } + Button { + icon.source: "qrc:/resources/icons/lets-icons_horizontal-down-left-main-light.svg" + onClicked: { + App.DeviceContext.showWelcomePage = !App.DeviceContext.showWelcomePage + } + background: Rectangle { + color: "transparent" + } + } + Button { + id: myButton + icon.source: "qrc:/resources/icons/uim_process.svg" + onClicked: { + var globalPos = myButton.mapToGlobal(0, 0) + + StatusWindow.toggle(Window.window,globalPos) + } + background: Rectangle { + color: "transparent" + } + } + + Item { Layout.fillWidth: true } + } } \ No newline at end of file