FreeKill/Fk/LobbyElement/EditProfile.qml
notify be03b04ef0
小修复&Qml美化 (#308)
- 修复了虚拟牌点数相加的bug
- 修复cleaner出错直接爆炸
- QML的代码将宽度控制到80以内
2024-01-25 03:23:29 +08:00

42 lines
739 B
QML

// SPDX-License-Identifier: GPL-3.0-or-later
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
Item {
id: root
signal finished()
TabBar {
id: bar
y: -height
transformOrigin: Item.BottomLeft
rotation: 90
width: root.height
background: Rectangle { color: "#EEEEEEEE" }
TabButton {
text: luatr("Userinfo Settings")
}
TabButton {
text: luatr("BG Settings")
}
TabButton {
text: luatr("Audio Settings")
}
}
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 {}
}
}