2020-06-17 15:18:31 -04:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Layouts 1.13
|
2020-05-19 14:44:45 -05:00
|
|
|
import "../../../imports"
|
|
|
|
import "../../../shared"
|
2020-05-27 16:57:36 -04:00
|
|
|
import "./LeftTab"
|
2020-05-19 14:44:45 -05:00
|
|
|
|
|
|
|
ColumnLayout {
|
2020-05-27 16:57:36 -04:00
|
|
|
property alias currentTab: profileMenu.profileCurrentIndex
|
2020-05-19 14:44:45 -05: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 17:28:25 -04:00
|
|
|
RowLayout {
|
|
|
|
id: profileHeader
|
|
|
|
height: 240
|
|
|
|
Layout.fillWidth: true
|
2020-05-19 14:44:45 -05:00
|
|
|
|
2020-06-17 15:59:10 -04:00
|
|
|
Profile {
|
|
|
|
username: profileModel.profile.username
|
|
|
|
identicon: profileModel.profile.identicon
|
2020-06-17 16:17:38 -04:00
|
|
|
pubkey: profileModel.profile.id
|
2020-06-17 15:59:10 -04:00
|
|
|
}
|
2020-05-19 14:44:45 -05:00
|
|
|
}
|
|
|
|
|
2020-05-27 17:28:25 -04:00
|
|
|
RowLayout {
|
2020-06-25 12:58:21 -04:00
|
|
|
height: profileMenu.btnheight * 10
|
2020-05-27 17:28:25 -04:00
|
|
|
Layout.fillHeight: true
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
|
|
|
Menu {
|
|
|
|
id: profileMenu
|
|
|
|
}
|
|
|
|
}
|
2020-05-19 14:44:45 -05:00
|
|
|
}
|