* update qt6 upgrade progress * add flawed addition for QRenderTarget and link needed libs * update to better logging format * move many assets and qml files into qrc * get rid of deprecation messages * remove additional deprecation notices * make Qt6 finally render on desktop with some progress on vr * initialize QRhi with QQuickRenderControl * use default values to stop SegFaults * fix compilation on windows * add windows files for aiding in running exe * fix formatting of testing qt.conf * first attempt on using textures instead of files in AudioTabController * Fix public/private access issue --------- Co-authored-by: RTUnreal <unreal@rtinf.net>
81 lines
2.1 KiB
QML
81 lines
2.1 KiB
QML
import QtQuick 2.7
|
|
import QtQuick.Controls 2.0
|
|
import QtQuick.Layouts 1.3
|
|
import ovras.advsettings 1.0
|
|
import "../../../common"
|
|
import "." // QTBUG-34418, singletons require explicit import to load qmldir file
|
|
GroupBox {
|
|
id: chaperoneMiscGroupBox
|
|
Layout.fillWidth: true
|
|
|
|
label: MyText {
|
|
leftPadding: 10
|
|
text: "Misc:"
|
|
bottomPadding: -10
|
|
}
|
|
background: Rectangle {
|
|
color: "transparent"
|
|
border.color: "#d9dbe0"
|
|
radius: 8
|
|
}
|
|
|
|
ColumnLayout {
|
|
anchors.fill: parent
|
|
|
|
Rectangle {
|
|
color: "#d9dbe0"
|
|
height: 1
|
|
Layout.fillWidth: true
|
|
Layout.bottomMargin: 5
|
|
}
|
|
|
|
RowLayout {
|
|
spacing: 16
|
|
|
|
MyToggleButton {
|
|
id: chaperoneFloorToggleBtn
|
|
text: "Floor Bounds Always On"
|
|
Layout.preferredWidth: 375
|
|
onCheckedChanged: {
|
|
ChaperoneTabController.setChaperoneFloorToggle(this.checked, false)
|
|
}
|
|
}
|
|
|
|
|
|
MyToggleButton {
|
|
id: legacyCenterMarkerbtn
|
|
text: "Legacy Center Marker"
|
|
Layout.preferredWidth: 375
|
|
onCheckedChanged: {
|
|
ChaperoneTabController.setCenterMarker(this.checked, false)
|
|
}
|
|
}
|
|
|
|
MyPushButton{
|
|
id:btnResetOrientation
|
|
text: "Reset Turn Counter"
|
|
onClicked: {
|
|
StatisticsTabController.statsRotationResetClicked()
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Component.onCompleted: {
|
|
chaperoneFloorToggleBtn.checked = ChaperoneTabController.chaperoneFloorToggle
|
|
legacyCenterMarkerbtn.checked = ChaperoneTabController.centerMarker
|
|
}
|
|
|
|
Connections {
|
|
target: ChaperoneTabController
|
|
function onChaperoneFloorToggleChanged(){
|
|
chaperoneFloorToggleBtn.checked = ChaperoneTabController.chaperoneFloorToggle
|
|
}
|
|
function onCenterMarkerChanged(){
|
|
legacyCenterMarkerbtn.checked = ChaperoneTabController.centerMarker
|
|
}
|
|
}
|
|
}
|