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