mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 03:32:34 +08:00
be03b04ef0
- 修复了虚拟牌点数相加的bug - 修复cleaner出错直接爆炸 - QML的代码将宽度控制到80以内
47 lines
853 B
QML
47 lines
853 B
QML
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
|
|
Item {
|
|
id: root
|
|
anchors.fill: parent
|
|
|
|
signal finished()
|
|
|
|
TabBar {
|
|
id: bar
|
|
y: -height
|
|
transformOrigin: Item.BottomLeft
|
|
rotation: 90
|
|
width: root.height
|
|
background: Rectangle { color: "#EEEEEEEE" }
|
|
TabButton {
|
|
text: luatr("General Settings")
|
|
}
|
|
TabButton {
|
|
text: luatr("Package Settings")
|
|
}
|
|
TabButton {
|
|
text: luatr("Ban General Settings")
|
|
}
|
|
}
|
|
|
|
SwipeView {
|
|
width: root.width - bar.height - 16
|
|
x: bar.height + 16
|
|
height: root.height
|
|
interactive: false
|
|
orientation: Qt.Vertical
|
|
currentIndex: bar.currentIndex
|
|
RoomGeneralSettings {}
|
|
Item {
|
|
RoomPackageSettings {
|
|
anchors.fill: parent
|
|
}
|
|
}
|
|
BanGeneralSetting {}
|
|
}
|
|
}
|