2020-06-17 19:18:31 +00:00
|
|
|
import QtQuick 2.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
|
|
|
|
2021-03-26 17:57:30 +00:00
|
|
|
Rectangle {
|
2020-05-27 20:57:36 +00:00
|
|
|
property alias currentTab: profileMenu.profileCurrentIndex
|
2020-10-21 14:45:28 +00:00
|
|
|
property alias changeProfileSection: profileMenu.changeProfileSection
|
2020-05-19 19:44:45 +00:00
|
|
|
|
|
|
|
id: profileInfoContainer
|
2021-03-26 17:57:30 +00:00
|
|
|
color: Style.current.secondaryMenuBackground
|
2020-05-19 19:44:45 +00:00
|
|
|
|
2020-07-21 21:03:22 +00:00
|
|
|
StyledText {
|
|
|
|
id: title
|
2020-08-26 15:52:26 +00:00
|
|
|
//% "Profile"
|
|
|
|
text: qsTrId("profile")
|
2020-07-21 21:03:22 +00:00
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.topMargin: Style.current.padding
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
font.weight: Font.Bold
|
|
|
|
font.pixelSize: 17
|
2020-05-19 19:44:45 +00:00
|
|
|
}
|
|
|
|
|
2020-07-21 21:03:22 +00:00
|
|
|
Menu {
|
|
|
|
id: profileMenu
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.rightMargin: Style.current.smallPadding
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.leftMargin: Style.current.smallPadding
|
|
|
|
anchors.top: title.bottom
|
|
|
|
anchors.topMargin: Style.current.bigPadding
|
|
|
|
anchors.bottom: parent.bottom
|
2021-03-25 18:12:33 +00:00
|
|
|
anchors.bottomMargin: Style.current.padding
|
2020-05-27 21:28:25 +00:00
|
|
|
}
|
2020-05-19 19:44:45 +00:00
|
|
|
}
|
2020-07-21 21:03:22 +00:00
|
|
|
|
|
|
|
/*##^##
|
|
|
|
Designer {
|
|
|
|
D{i:0;autoSize:true;formeditorColor:"#ffffff";height:600;width:340}
|
|
|
|
}
|
|
|
|
##^##*/
|