FreeKill/Fk/LobbyElement/EditProfile.qml

41 lines
726 B
QML
Raw Normal View History

// SPDX-License-Identifier: GPL-3.0-or-later
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
2022-03-27 12:00:29 +00:00
Item {
id: root
2022-03-27 12:00:29 +00:00
signal finished()
2022-03-27 12:00:29 +00:00
2023-04-28 10:24:31 +00:00
TabBar {
id: bar
y: -height
transformOrigin: Item.BottomLeft
rotation: 90
width: root.height
TabButton {
text: Backend.translate("Userinfo Settings")
}
2023-04-28 10:24:31 +00:00
TabButton {
text: Backend.translate("BG Settings")
}
2023-04-28 10:24:31 +00:00
TabButton {
text: Backend.translate("Audio Settings")
}
}
2023-04-28 10:24:31 +00:00
SwipeView {
width: root.width - bar.height - 16
x: bar.height + 16
height: root.height
interactive: false
orientation: Qt.Vertical
currentIndex: bar.currentIndex
UserInfo {}
BGSetting {}
AudioSetting {}
}
2022-03-27 12:00:29 +00:00
}