Skip to content

More work on Plan item editing#13709

Merged
DonLakeFlyer merged 7 commits intomasterfrom
PlanMobile
Dec 7, 2025
Merged

More work on Plan item editing#13709
DonLakeFlyer merged 7 commits intomasterfrom
PlanMobile

Conversation

@DonLakeFlyer
Copy link
Copy Markdown
Collaborator

  • Altitude field uses new FactTextFieldSlider control which allows for simpler value changes on mobile. Usage of this control will all fields in planning will come in a later pull.
  • Added new userMin/Max properties to the FactSystem as well as MissionCmdParamInfo. Example usage is for a ui slider to adjust Fact values. They differ from the existing min/max properties in that they are user focused as opposed to being the ultimate validated min/max for a Fact. So far example on the Altitude field in mission planning, userMin is set to 0 and userMax is set to 400 feet. This provides a slider which can adjust the altitude to reasonable values for typical use. But you can still type in an altitude value above 400, or below 0 if you need that.
  • QGCSlider has two new properties:
    • showBoundaryValues - true: will show the from/to values below to slider
    • mouseWheelSupport - false: using the mouse wheel is disabled for slider adjustment
  • Changed the Qml coding style example to move the public properties/signals to the top of the control which is the more common style. It's more common since it's more useful for viewing qml source so you can see what is public at the top instead of having to look past other crap first to find them.

Screenshot 2025-12-07 at 9 56 47 AM

Copilot AI review requested due to automatic review settings December 7, 2025 18:05

This comment was marked as resolved.

This comment was marked as resolved.

* mouseWheelSupport - false: mouse wheel does not adjust slider value
* showBoundaryValues - true: from/to value is shown below slider
* removed indicatorBarVisible which is no longer supported
Renamed previous FactTextFieldSlider control to FactTextFieldSlider2
These are used to create ui (like a slider) for adjusting values within reasonable limits. They can be smaller than the ultimate validation limits of min/max.

If they are not specified they are kept to NaN for invalid so the ui can do intelligent things based on their availability
@DonLakeFlyer DonLakeFlyer merged commit 6229661 into master Dec 7, 2025
21 checks passed
@DonLakeFlyer DonLakeFlyer deleted the PlanMobile branch December 7, 2025 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants