Skip to content

Commit

Permalink
Update AppDeveloperStatsPanel.qml
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed May 13, 2024
1 parent 6549170 commit 7da4193
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions qml/ui/configpopup/dev/AppDeveloperStatsPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Rectangle {
text: qsTr("Tele in" + _mavlinkTelemetry.telemetry_pps_in + " pps")
}
GridLayout {
columns: 2
columns: 4
Button {
width: 400
text: "Restart local OHD service"
Expand Down Expand Up @@ -115,31 +115,32 @@ Rectangle {
_mavlinkTelemetry.re_apply_rates()
}
}
RowLayout {
Button {
visible: _qopenhd.is_linux()
Button {
text: "Start openhd"
onClicked: {
_qopenhd.sysctl_openhd(0);
}
text: "Start openhd"
onClicked: {
_qopenhd.sysctl_openhd(0);
}
Button {
text: "Stop openhd"
onClicked: {
_qopenhd.sysctl_openhd(1);
}
}
Button {
visible: _qopenhd.is_linux()
text: "Stop openhd"
onClicked: {
_qopenhd.sysctl_openhd(1);
}
Button {
text: "Enable openhd"
onClicked: {
_qopenhd.sysctl_openhd(2);
}
}
Button {
visible: _qopenhd.is_linux()
text: "Enable openhd"
onClicked: {
_qopenhd.sysctl_openhd(2);
}
Button {
text: "Disable openhd"
onClicked: {
_qopenhd.sysctl_openhd(3);
}
}
Button {
visible: _qopenhd.is_linux()
text: "Disable openhd"
onClicked: {
_qopenhd.sysctl_openhd(3);
}
}
Button {
Expand Down

0 comments on commit 7da4193

Please sign in to comment.