* LVGL conversion for telemetry.
* Move RSSI section after Sensors section.
* Replace empty text box with call to grid.nextCell(). Center 'fresh' data indicator vertically.
* Fix build error after rebase.
* Change global variables layout to better match other pages.
* Move internal classes for global variable page from .h to .cpp file. Convert header text in edit page to StaticText object and remove 'paint' function.
* Fix build error.
* chore: Formatting
* Convert theme save and delete dialogs to use ConfirmDialog popup instead of full screen alert.
Add strings for translation.
* Update translations.
* Update translations.
* Update translations.
* CZ translation
* chore: Formatting
* Call 'cancelHandler' if RTN button used to exit ConfirmDialog.
* Possible fix for 'save theme' dialog not working in the theme editor.
* Update logical switch layout:
- Use LVGL flex / grid layout
- Same height for all buttons
- Display logical switch name inside button so entire row acts as button
- Consistent press handler for buttons (always show popup menu)
- Group buttons for empty switch in lines to utilise space
- Remember selected button and reselect after edit.
* Fix incorrect switch being selected when changing tabs.
* Fix selection of focussed button when using 'Clear', and switching tabs.
* Reorganise logical switch edit code.
* Change button style to match input/mixes/outputs pages.
* Single line overview on landscape LCD layout. Convert to using grid and lgvl objects for overview buttons.
* Remove redundant flag.
* Remove logic that tries to center scroll around selected button (not working).
* Remove empty buttons and add a single '+' button at the bottom to match inputs and mixes.
* Remove unused code.
* Correct string usage.
* Add long press handler for quick access to the '+' button functions.
* Display logical switch operation and parameters as an expression. Add 's' suffix to time values.
* Adjust spacing.
* Set V2 number edit control to automatically resize and fit content to prevent clipping of large values.
* Revert to fixed column layout.
* Adjust grid spacing.
* Convert the logical switch view in the channel monitor to LVGL flex.
* chore: Formatting
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* Button and touch handling for throttle / switch alert screen.
* Restore original touch behaviour for confirmation dialog.
* Add buttons for 'actions' at bottom of screen.
* Fix infinite loop that can happen in some instances.
* Remove the option for a long press on the touch screen to close the dialog. On screen buttons must be used to close.
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
* New curve page layout.
* Set scroll to selected curve.
* Cleanup.
* Add #define's for sizing. Show both curve number and name in title bar (if name is set).
* Remove unnecessary call to CurveEdit::SetCurrentSource. Use runtime size for layout where possible.
* Add comments
* Fix base layout position.
* Fix issue with button selection not working properly with scroll wheel.
* Convert Special / Global function page to flex layout.
Move function name text into row button so entire row acts as a button.
Display active functions first, then inactive functions as smaller buttons in a grid.
* Merge duplicate cases in switch, fix indentation.
* Keep selected button focussed after editing a function.
Add long press handler to jump between free and used functions.
* Revert to numerical order for functions list.
Use context menu for empty functions all the time.
* Fix parameter type and remove redundant lines.
* Fix incorrect function being selected when changing tabs.
* Fix selection of focussed button when using 'Clear', 'Delete' and switching tabs.
* Change button style to match input/mixes/outputs pages.
* Fix checked state display for buttons.
* Fix scroll position when adding new entries at the bottom. Center selected button after editing or changes to list.
* Remove logic that tries to center scroll around selected button (not working).
* Convert overview button to lvgl grid.
Display function as more readable expression instead of discrete values.
Single line display for overview button on landscape screen.
Fix display when editing GVAR INC/DEC value (was '--' instead of '-=').
Fix incorrect module displayed for 'Set Failsafe' (swapped).
Show all parameter and values for each function type in overview.
* Fix 'Enabled' indicator so it is not selectable with the scroll wheel and looks less like a radio button.
* Remove empty buttons and add a single '+' button at the bottom to match inputs and mixes.
* Add long press handler for quick access to the '+' button functions.
* Ensure addButton is initialised if not needed (list is full).
* Use formatNumberAsString helper function.
* Adjust grid spacing.
* fix: `STR_VALUE` not `STR_VOLUME`
* Fix error in value conversion when loading logical switch data from YAML files (for 'Edge' and 'Timer' functions).
* Remove debug print.
* Fix handling of telemetry sensors in Companion.
* Layout updates and bug fixes for curve editor.
- Fix issue 2972 where an invalid curve could be created
- Use vertical layout or list of points
- Add border to preview to better show end points
- Fix issue where preview was redrawn very frequently
- Better organisation of curve edit classes
* Fix to refresh curve preview on input edit page when parameters changed.
* Adjust model setup layout to better fix on portrait LCD screen.
* Set buttons to fixed width and allow to grow vertically to fit text.
* Cleanup layout logic - buttons stretched horizontally, centered vertically.
Make ButtonMatrix button text color behave like TextButton for flight modes and pre-flight checks.
Show 'GV' button as checked if corresponding input value is a global var.
* Fix rebase merge issue.
* Incorporate solution from @ParkerEde in PR #2626
* Fix selection logic for models.
* Select model on first press.
* Fix quick model selection when using scroll wheel & enter button.
Add setting to enable quick model selection.
* German translation.
* Fix behaviour when 'model quick select' is off to work like existing 2.8 logic.
* Add translations.
* Prioritise active model as selected model when the set of visible models changes.
* Fix selection ordering when using scroll wheel.
Minor code cleanup.
* Revised color picker:
- add title to popup window
- add Save and Cancel buttons
- Source value only updated when 'Save'' button pressed
- Add editor to select from system theme colors
* Center 'Cancel' and 'Save' buttons, make them both the same size and fill available space.
Reduce width of dialog box on portrait screens.
The YamlStickConfig definition was defined and sized with CPN_MAX_SWITCHES (32) instead of CPN_MAX_STICKS (4).
When loading radio.yml this would overwrite 112 bytes past the end of the stickName array in the GeneralSettings class.
* Change background colour of the ConfirmDialog box to make the buttons more visible.
* Change background colour of the ColorEditorPopup box to make the buttons more visible.
* Fix RTC date editing to limit day max value to actual number of days in the selected month.
If month or year is updated check that day value is still in range, if not update day to max value for selected year and month.
Only update UI values that have actually changed.
* Use struct assignment instead of memcpy to initialise property.
* Fix 2POS switch logic in simulator. Recent change for 6POS switch broke the 2POS switches.
* Rework switch and pot controls in the simulator ensure consistent values, avoid extraneous events in Qt and, hopefully, simplify the code.
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
* Fix for issue #2827.
Ensure consistent values for the TX16, 6 position switch, in the simulator.
* Adjust 'value' to achieve alignment of raw values to step positions.
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>