2023-04-09 05:35:35 +00:00
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2023-03-14 06:12:13 +00:00
|
|
|
import QtQuick
|
|
|
|
import QtQuick.Controls
|
|
|
|
import QtQuick.Layouts
|
2022-03-27 12:00:29 +00:00
|
|
|
|
|
|
|
Item {
|
2022-04-30 07:27:56 +00:00
|
|
|
id: root
|
2023-03-14 06:12:13 +00:00
|
|
|
anchors.fill: parent
|
2022-03-27 12:00:29 +00:00
|
|
|
|
2022-04-30 07:27:56 +00:00
|
|
|
signal finished()
|
2022-03-27 12:00:29 +00:00
|
|
|
|
2023-03-14 06:12:13 +00:00
|
|
|
TabBar {
|
|
|
|
id: bar
|
|
|
|
y: -height
|
|
|
|
transformOrigin: Item.BottomLeft
|
|
|
|
rotation: 90
|
|
|
|
width: root.height
|
|
|
|
TabButton {
|
|
|
|
text: Backend.translate("General Settings")
|
2022-04-30 07:27:56 +00:00
|
|
|
}
|
2023-03-14 06:12:13 +00:00
|
|
|
TabButton {
|
|
|
|
text: Backend.translate("Package Settings")
|
2022-03-27 12:00:29 +00:00
|
|
|
}
|
2023-08-03 07:24:17 +00:00
|
|
|
TabButton {
|
|
|
|
text: Backend.translate("Ban General Settings")
|
|
|
|
}
|
2022-04-30 07:27:56 +00:00
|
|
|
}
|
2023-03-13 16:12:02 +00:00
|
|
|
|
2023-03-14 06:12:13 +00:00
|
|
|
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
|
|
|
|
}
|
2023-03-13 16:12:02 +00:00
|
|
|
}
|
2023-08-03 07:24:17 +00:00
|
|
|
BanGeneralSetting {}
|
2023-03-13 16:12:02 +00:00
|
|
|
}
|
2022-03-27 12:00:29 +00:00
|
|
|
}
|