2020-06-17 19:18:31 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Controls 2.13
|
|
|
|
import QtQuick.Layouts 1.13
|
2020-05-19 19:44:45 +00:00
|
|
|
import "../../../imports"
|
|
|
|
import "../../../shared"
|
2020-05-27 21:28:25 +00:00
|
|
|
import "./Sections"
|
2020-05-19 19:44:45 +00:00
|
|
|
|
2020-06-11 21:29:30 +00:00
|
|
|
SplitView {
|
2020-06-23 20:49:04 +00:00
|
|
|
property var appSettings
|
|
|
|
|
2020-05-19 19:44:45 +00:00
|
|
|
id: profileView
|
|
|
|
Layout.fillHeight: true
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
2020-06-23 18:51:10 +00:00
|
|
|
handle: SplitViewHandle {}
|
2020-06-11 21:29:30 +00:00
|
|
|
|
2020-06-23 20:49:04 +00:00
|
|
|
Component.onCompleted: this.restoreState(appSettings.profileSplitView)
|
|
|
|
Component.onDestruction: appSettings.profileSplitView = this.saveState()
|
|
|
|
|
2020-05-19 19:44:45 +00:00
|
|
|
LeftTab {
|
|
|
|
id: leftTab
|
2020-07-02 15:14:31 +00:00
|
|
|
SplitView.preferredWidth: Style.current.leftTabPrefferedSize
|
|
|
|
SplitView.minimumWidth: Style.current.leftTabMinimumWidth
|
|
|
|
SplitView.maximumWidth: Style.current.leftTabMaximumWidth
|
2020-05-19 19:44:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
StackLayout {
|
|
|
|
id: profileContainer
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.topMargin: 0
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.bottomMargin: 0
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.rightMargin: 0
|
|
|
|
anchors.left: leftTab.right
|
|
|
|
anchors.leftMargin: 0
|
|
|
|
currentIndex: leftTab.currentTab
|
|
|
|
|
2020-05-27 21:28:25 +00:00
|
|
|
EnsContainer {}
|
2020-05-19 19:44:45 +00:00
|
|
|
|
2020-05-27 21:28:25 +00:00
|
|
|
ContactsContainer {}
|
2020-05-19 19:44:45 +00:00
|
|
|
|
2020-05-27 21:28:25 +00:00
|
|
|
PrivacyContainer {}
|
2020-05-19 19:44:45 +00:00
|
|
|
|
2020-05-27 21:28:25 +00:00
|
|
|
SyncContainer {}
|
2020-05-24 22:23:00 +00:00
|
|
|
|
2020-05-27 21:28:25 +00:00
|
|
|
LanguageContainer {}
|
2020-05-24 22:23:00 +00:00
|
|
|
|
2020-05-27 21:28:25 +00:00
|
|
|
NotificationsContainer {}
|
2020-05-24 22:23:00 +00:00
|
|
|
|
2020-05-27 21:28:25 +00:00
|
|
|
AdvancedContainer {}
|
2020-05-24 22:23:00 +00:00
|
|
|
|
2020-05-27 21:28:25 +00:00
|
|
|
HelpContainer {}
|
2020-05-19 19:44:45 +00:00
|
|
|
|
2020-05-27 21:28:25 +00:00
|
|
|
AboutContainer {}
|
2020-05-19 19:44:45 +00:00
|
|
|
|
2020-05-27 21:28:25 +00:00
|
|
|
SignoutContainer {}
|
2020-05-19 19:44:45 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*##^##
|
|
|
|
Designer {
|
|
|
|
D{i:0;autoSize:true;height:480;width:640}
|
|
|
|
}
|
|
|
|
##^##*/
|