status-desktop/ui/app/AppLayouts/Profile/LeftTab.qml

46 lines
1016 B
QML

import QtQuick 2.13
import QtQuick.Layouts 1.13
import "../../../imports"
import "../../../shared"
import "./LeftTab"
ColumnLayout {
readonly property int w: 340
property alias currentTab: profileMenu.profileCurrentIndex
id: profileInfoContainer
width: w
spacing: 0
anchors.left: parent.left
anchors.leftMargin: 0
anchors.top: parent.top
anchors.topMargin: 0
anchors.bottom: parent.bottom
anchors.bottomMargin: 0
Layout.minimumWidth: 300
RowLayout {
id: profileHeader
height: 240
Layout.fillWidth: true
width: profileInfoContainer.w
Profile {
username: profileModel.profile.username
identicon: profileModel.profile.identicon
pubkey: profileModel.profile.id
}
}
RowLayout {
width: profileInfoContainer.w
height: btnheight * 10
Layout.fillHeight: true
Layout.fillWidth: true
Menu {
id: profileMenu
}
}
}