2020-06-17 19:18:31 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Layouts 1.13
|
2020-05-19 19:44:45 +00:00
|
|
|
import "../../../imports"
|
|
|
|
import "../../../shared"
|
2020-05-27 20:57:36 +00:00
|
|
|
import "./LeftTab"
|
2020-05-19 19:44:45 +00:00
|
|
|
|
|
|
|
ColumnLayout {
|
2020-05-27 20:57:36 +00:00
|
|
|
property alias currentTab: profileMenu.profileCurrentIndex
|
2020-05-19 19:44:45 +00:00
|
|
|
|
|
|
|
id: profileInfoContainer
|
|
|
|
spacing: 0
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.leftMargin: 0
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.topMargin: 0
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.bottomMargin: 0
|
|
|
|
|
2020-05-27 21:28:25 +00:00
|
|
|
RowLayout {
|
|
|
|
id: profileHeader
|
|
|
|
height: 240
|
|
|
|
Layout.fillWidth: true
|
2020-05-19 19:44:45 +00:00
|
|
|
|
2020-06-17 19:59:10 +00:00
|
|
|
Profile {
|
|
|
|
username: profileModel.profile.username
|
|
|
|
identicon: profileModel.profile.identicon
|
2020-06-17 20:17:38 +00:00
|
|
|
pubkey: profileModel.profile.id
|
2020-06-17 19:59:10 +00:00
|
|
|
}
|
2020-05-19 19:44:45 +00:00
|
|
|
}
|
|
|
|
|
2020-05-27 21:28:25 +00:00
|
|
|
RowLayout {
|
|
|
|
height: btnheight * 10
|
|
|
|
Layout.fillHeight: true
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
|
|
|
Menu {
|
|
|
|
id: profileMenu
|
|
|
|
}
|
|
|
|
}
|
2020-05-19 19:44:45 +00:00
|
|
|
}
|