* initial commit for Module / RX version pop up - fixes#2320
* got rid of "no information" module names. Module names are now identical to the settings internal and external RF dialog, expect PXX2 which sets name depending on hw info.
* cosmetics
* hide int/ext status when there is no status to report
* fix: Also unhide PXX2 module status if set
* feat: Move NV14 fw version to module info screen
* New translations for download and update functionality (#2148)
* Minor changes only
* Added translations for setName
* Regenerated translation file using QT Linguist tool "lupdate", now complete to >99%
Regenerated Swedish translation file for Companion, using "lupdate" tool as described here: https://doc.qt.io/qt-5/qtlinguist-index.html.
The result:
Updating 'companion/src/translations/companion_sv.ts'...
Found 2833 source text(s) (185 new and 2648 already existing)
Removed 529 obsolete entries
Number heuristic provided 3 translation(s)
Same-text heuristic provided 29 translation(s)
Then reviewed and added all missing translations.
* Changes after PR review by @pfeerick
* fix: Re-add missing `TR_SF_SET_SCREEN`
Use `-DSPACEMOUSE=YES` CMake option to activate on Horus color targets.
Co-authored-by: Niel Horne (elecpower), Raphael Coeffic (raphaelcoeffic) and Peter Feerick (pfeerick).
* (cpn) Add bullets & length warning
* (fw) Show labels with bullet separators
* (fw) Check all running twice. Remove from here
* (fw) Correct buffer overflow when labels too long
* (fw) Rem bullets in model label string
* (fw, cpn) Labels length
cpn,fw Limit label length
cpn Check correct model on rename length
cpn Focus issues
cpn Add rename, move up/down.. still has an issue with selection. TODO...
cpn Switch to utf8 encoding
cpn Rename button ;)
* (cpn) Move up down working
re-Fix Checkbox, partially isn't what I thought (not greyed)
* (fw) Add CSV string funcs
Limit length of model edit shorter in portrait mode
* (cpn) Correct Label option showing on B&W
* (fw) Radio filename set but no file exists don't create
* (cpn) Simplify wording
* (fw) Correct debug values
* (fw) Reduce truncation length
* (both) Don't allow special chars in label name
(cpn) Prevent move when at top and bottom
(fw) Remove multiple label length defines
(fw) Shorten truncate length even more
* (fw) Close model_select on new model
* fix: Don't allow select MULTI_TRAINER if no MULTI
Fixes#1563 by ensuring Multi Trainer opt is not shown if no MPM
is enabled, as well as if MPM suport is not even compiled in.
* chore: Uppercase "OFF" or equiv for Trainer OFF
* fix: Use degree symbol instead of `@`
For temperature and degree units, @C, @F and @ were being shown, rather than °C, °F and °.
Also hoping this will also resolve the GPS sensor showing @ instead of ° as mentioned in #2163
* fix: B&W need prior `@` for degrees
* fix: `dBm` missing from some translations
* feature: added ability to have radio specific menu items in the bootloader
* added enabling/disabling USB access to the RF module via the bootloader
* enable the internal module on EL18, when RF module USB access is enabled
* moved USB switch pin initialization to the NV14/EL18 specific code
* moved EL18 USB switch defines to boot_menu
* feat: added a symbol for RF USB switch menu option on EL18 bootloader
* Special Function to set main screen (#2135)
* chore: Add new SF to LUA constants list
* Companion support
* Formatting
* get rid of magic number
* Add function to get the number of custom screens
* Change screen numbering from 0-based to 1-based.
* Allow SetScreen custom function for Color LCD only
* add range protection
* cleanup
* yet, range protection once again
* fix: paintSpecialFunctionLine can't alter SF param data
* Fix screen initialization in companion
* move screen switching to the UI
* Trigger view change from guiMain()
* chore: Change "SET" to "Set" for consistency
* fix: Somehow missed extra comma in `TW`
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
This actually probably an underlying issue in the driver, why it's sending two TE_DOWN events and causing multiple beeps
However, this fix will hold until the touch driver interface is re-written
* Dannish special characters
* Danish special characters
* Danish special characters
* Danish special characters
* Danish special characters
* Danish special characters
* chore: Reset header to `copyright-header` template
`tools/copyright-header.txt` template is what should be used.
Also added line at EoF to make git happy
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* Fix definition for signed value
* Support changing order of the labels for two labels
* Swap labels when there is only two due to std::rotate limitation
* Change the order with swap.
* Map rebuid added
I just wanted blue LEDs on my Jumper T-Pro. Instead I found a headache.
PCBX7 STATUS_LED definitions were being used for RADIO_TPRO, resulting in incorrect GPIO pin assignments for GREEN and BLUE LED colors. LED_GREEN_GPIO_PIN would activate the blue LED, and vice versa for LED_BLUE_GPIO_PIN.
To rectify this, a new definition for RADIO_TPRO has been created with proper GPIO pin assignments for LED_GREEN and LED_BLUE
* fix: Get current values for MPM options
* fix: Don't show sub-proto dropdown when empty
* Add suggested call to `update()`
* Add callback to refresh when subtype changed
* Trip `SetValueHandler` rather than setting value
Thank you to @raphaelcoeffic for the hint ;)
* fix: Saving values when changed is a good idea!
* Load option flags properly when using internal proto list
* NumberEdit fields don't implement LV_EVENT_VALUE_CHANGED, use update() instead
* Fix checkbox behaviour
* Fix autobind checkbox after switching away from DSM
* Fix more parameter needing update on MPM sub-proto changes
* fix: Also update servo rate if present
* fix: Channel mapping needs updating also
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
Removed #define TR_NEW, #define TR_NEW_LABEL, #define TR_RENAME_LABEL, #define TR_DELETE_LABEL, #define TR_ENTER_LABEL, #define TR_LABEL, #define TR_NONE, #define TR_CURRENT_MODEL, in untranslated.h, since also in the specific language files, fx. da.h. Give error when translate and the #define differ.
* Model Labels Selector
* Portrait Layout
* Receiver ID Check
* Fix Labels .yml format
* Companion Initial Commit
commit 967ddf3979b4954402fe62c858faba4b7a416bba
Author: dlktdr <cblackburn320@gmail.com>
Date: Mon Aug 29 01:49:15 2022 -0700
Fix Labels .yml format
commit 534221cad9e01146c47a9ac1080a655e04f1f6c8
Author: dlktdr <cblackburn320@gmail.com>
Date: Mon Aug 29 01:20:57 2022 -0700
Receiver ID Check
commit f32c0939d44e9ae60bc0705a9176354c23fec198
Author: dlktdr <cblackburn320@gmail.com>
Date: Sun Aug 28 23:13:25 2022 -0700
Portrait Layout
commit 961181217c7841ff3f21299ac6aa419b810f80e9
Author: dlktdr <cblackburn320@gmail.com>
Date: Sat Dec 11 16:56:13 2021 -0800
Model Labels Selector
commit dc99dd40d2
Author: David PHAM-VAN <1387855+DavBfr@users.noreply.github.com>
Date: Fri Aug 26 03:04:34 2022 -0300
feat: Allow Lua widget to override built-in widget with same name (#2208)
* Allow CPP Widgets Override with LUA
* Reset a widget option it the type differs
commit 4b747caff9
Author: eshifri <46511024+eshifri@users.noreply.github.com>
Date: Thu Aug 25 19:47:53 2022 -0700
fix: Write model name into models.yml when duplicating model (#2224)
* Update model name in the models.yml file (#2214)
* Fix the length of the name.
commit e97f23a305
Author: eshifri <46511024+eshifri@users.noreply.github.com>
Date: Wed Aug 24 21:19:52 2022 -0700
fix(cpn): Fix full path to model notes for Simulator (#2223)
* Correct Highlighted Column
* labels .yml indentation
* Update da.h
New defines translated to Danish
* Update dataconstants.h
Omit warnings due to difference of LEN_MODEL_FILENAME and LEN_MODEL_NAME in modellist.cpp
* Update modelslist.cpp
Wonder if this are the right file in PR #1374 (?), seems a lot are changed to the better in #1374
* Update dataconstants.h
Restore #define for LEN_MODEL_FILENAME to 16
* Rebase, Correct Issues
Delete now deletes instead of select
New model stores correct information
Duplicate save all information in cell
Rework items to use cell over button
Reword function variables
* CMPN: Add context menu
Fix output not functional. Removed Yaml::null at some point :)
Fix some compiler warnings
* CMPN: Compiler warning, replace ,->_ in list
* FW: Various Changes
Change view to a grid
Don't allow comma in label name
Add scroll indicators
Save sort order
Co-authored-by: HThuren <99370924+HThuren@users.noreply.github.com>