Stefan d5afd6beac chore(CPP): Create new wallet accounts - POC UI
The UI is for demo purposes. Also architecture decisions are open for change

Closes: #6321
2022-08-02 15:30:08 +02:00

30 lines
679 B
QML

import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import Status.Application.Navigation
import Status.Controls.Navigation
/// Only one button, squared
NavigationBarSection {
id: root
property alias name: button.name
property alias mutuallyExclusiveGroup: button.mutuallyExclusiveGroup
// Size of the current button
implicitHeight: implicitWidth
NavigationBarButton {
id: button
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: root.sideMargin
anchors.rightMargin: root.sideMargin
selected: root.selected
onSelectedChanged: root.selected = selected
}
}