6import QGroundControl.Controls
10 spacing: ScreenTools.defaultFontPixelWidth / 4
14 property real _availableHeight: availableHeight
15 property real _availableWidth: availableWidth
31 buttonObjectName: "pidTuning_tab_" + buttonText.replace(/ /g, "")
35 // A single loader tears down the previous tuning page before creating the next one, so the outgoing page
36 // cannot disable the tuning telemetry the incoming page just enabled
39 source: root.model.get(tuningGroup.currentIndex).tuningPage
41 property bool useAutoTuning: true
42 property real availableWidth: _availableWidth - tuningGroup.contentSideInset * 2
43 property real availableHeight: _availableHeight - tuningGroup.y - tuningGroup.contentTopInset - loader.y - tuningGroup.contentSideInset