FreeKill/Fk/LobbyElement/CreateRoom.qml

47 lines
853 B
QML
Raw Permalink 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
anchors.fill: parent
2022-03-27 12:00:29 +00:00
signal finished()
2022-03-27 12:00:29 +00:00
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")
2022-03-27 12:00:29 +00:00
}
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 {}
}
2022-03-27 12:00:29 +00:00
}