mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 11:42:45 +08:00
2acec5f20a
重组qml文件,使用qmldir文件实现模块化
41 lines
726 B
QML
41 lines
726 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
|
|
TabButton {
|
|
text: Backend.translate("Userinfo Settings")
|
|
}
|
|
TabButton {
|
|
text: Backend.translate("BG Settings")
|
|
}
|
|
TabButton {
|
|
text: Backend.translate("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 {}
|
|
}
|
|
}
|