Commit Graph
80 Commits
Author SHA1 Message Date
elecpower 0d281cf5dd Major refactoring 2020-12-31 17:15:35 +11:00
elecpower 613ed78527 Curve reference add ui data models and fix invalid memory crashes 2020-12-21 23:33:18 +11:00
elecpower f14c1be306 Merge remote-tracking branch 'origin/elecpower/dynamic-datamodels' into elecpower/crvref-add-models 2020-12-21 23:27:32 +11:00
elecpower d10b16d4c6 Dynamic ui data models continued 2020-12-20 14:25:25 +11:00
elecpower 19cb9ef441 Model printer use adjust ref toString function 2020-12-13 21:02:28 +11:00
elecpower 1a7437cbff Refresh lists if curves updated 2020-12-12 22:25:50 +11:00
elecpower 91a5c438dd Add shared curves ui model to curve ref 2020-12-12 22:10:54 +11:00
elecpower ca7ca82f01 Remove module choice from SF set failsafe 2020-12-11 08:11:19 +11:00
elecpower 83561fe6fe Refactor curve reference 2020-12-05 06:50:43 +11:00
elecpower d6dcc6ccc4 Use firmware capability for reset tele upd refs 2020-11-08 06:57:02 +11:00
elecpower 9901a4a0db Add missing update refs for reset telemetry sensor 2020-11-08 06:50:43 +11:00
Neil HorneandGitHub b0fdcaef2f Fix print telemetry sensor and remove unused code (#8048)
Thanks!
2020-10-30 17:07:00 +01:00
elecpower 600fbc0cb1 Revert model edit method of adding tabs 2020-10-26 14:30:12 +11:00
elecpower 5b49a3a295 Use firmware capability for functions reset list and upd refs 2020-10-26 07:48:05 +11:00
elecpower 7f358b5dbf Fix upd model refs special function reset telem sensor 2020-10-25 18:35:10 +11:00
elecpower 4e71a63a50 Fix special functions refresh 2020-10-25 18:27:01 +11:00
elecpower 7c974286cc Fix telem refresh 2020-10-25 08:12:52 +11:00
elecpower 44c001916a Fix cpn setup failsafes refresh after start channel changed 2020-10-25 07:30:53 +11:00
elecpower 4bf5a93747 Reimplement LS update ui models on function changed from or to none 2020-10-24 16:11:28 +11:00
elecpower c15dd90986 Improve memory management 2020-10-22 09:27:34 +11:00
elecpower 5767e9a7c1 Do not apply offset when clearing model references 2020-10-02 07:17:36 +10:00
elecpower af4c5524b1 Refactor to directly call updates to data models 2020-10-02 07:06:00 +10:00
elecpower 1364a88eb0 Add back refresh line on LS func change and cosmetics 2020-09-24 06:42:10 +10:00
elecpower 8eceebd779 Workaround for LS ui data model updates 2020-09-24 06:24:12 +10:00
elecpower 0922e56f0b More attempts to stop LS crash 2020-09-23 06:37:04 +10:00
elecpower 12d8d1118f Inputs signal changes and LS try to solve timing crash 2020-09-22 22:56:14 +10:00
elecpower eb69f2c950 Cosmetic 2020-09-20 07:58:43 +10:00
elecpower 1b40c69593 Input and mix source list use filter to remove none entry 2020-09-20 07:43:54 +10:00
elecpower 4feee9c665 Inputs create filtered list once 2020-09-20 05:48:49 +10:00
elecpower 775d8db1e9 Mixes create filtered lists once 2020-09-20 05:36:55 +10:00
elecpower e534749940 Release memory 2020-09-19 21:25:58 +10:00
elecpower ff64a949a5 Model upd refs do not apply offset on custom clear 2020-09-19 21:07:20 +10:00
elecpower 26b7f26660 FM refresh 2020-09-19 20:58:50 +10:00
elecpower 1e0e22955d Refactor to Model level ui datamodels for sources, switches and curves 2020-09-17 14:30:20 +10:00
Neil HorneandGitHub 6fa0382608 Fix channel reorder affect on mixes (#7911) 2020-09-06 10:59:37 +02:00
Neil HorneandGitHub 3323597a8a Companion fix global and special functions context menu (#7885) 2020-09-06 10:58:33 +02:00
Neil HorneandGitHub 5a500cc055 Companion enhanced telemetry sensors context menu and other refinements across context menus (#7716)
Companion enhanced telemetry sensors context menu with reference updates
2020-09-04 18:36:58 +02:00
Neil HorneandGitHub fbb26af47f Companion add external R9M 2019 to X7 ACCESS (#7907) 2020-08-31 18:54:24 +02:00
Neil HorneandGitHub 94026e5d7f Companion fix radio setup console runtime qt warnings (#7886) 2020-08-28 16:00:35 +02:00
Neil HorneandGitHub 1a9a6c1f49 Companion fix sources lists for X10 and T16 radios and improve radio conversion of sources (#7888)
* Fix Horus T16 rawsource conversions

* Companion fix unknown source

* Refactor rawsource conversion between radios

* Better handling of Mouse Analogs for x10

* Fix unknown sources for X10 and T16

* Revert "Fix unknown sources for X10 and T16"

This reverts commit dfe3909ee4f7c985ac5ec27cae3a55cb6c0a15fc.

* Companion fix unknown source

* Cosmetics

* Cosmetics

* Clear rawswitch when no match

* Check forced conv successful
2020-08-28 15:59:20 +02:00
Neil HorneandGitHub bb19720edf Companion improve switch conversions (#7895)
* Companion refactor rawswitch conversions

* Consistency
2020-08-28 15:57:24 +02:00
Neil HorneandGitHub 6264e8524e Add timer name to source lists and remove unused code (#7838) 2020-07-31 16:23:29 +02:00
Neil HorneandGitHub 9b64561246 Automate Companion About copyright years (#7754) 2020-06-18 23:25:24 +02:00
Neil HorneandGitHub ad83a78901 Align companion telemetry sensor units to radio (#7653)
* Align cpn sensor units to radio

* Add cpn conversion for sensor unit
2020-05-31 16:46:56 +02:00
Neil HorneandGitHub 40f9b05ce2 Companion update model references from enhanced context menus (#7325)
Companion update model references from enhanced context menus
2020-05-15 15:25:50 +02:00
Neil HorneandGitHub 70507779a8 Option to prompt for radio profile on companion start (#7565)
* Optional prompt for radio profile on companion start

* Sort out timings and use std appdata function

* Change dialog title
2020-05-04 14:44:33 +02:00
Neil HorneandGitHub 5cf4e9be4e Add basic context menu to telemetry sensors in companion model edit (#7500) 2020-04-09 10:32:57 +02:00
Neil HorneandBertrand Songis 135effa536 Context menu enhancements (#7029) 2019-11-21 08:31:22 +01:00
Neil HorneandBertrand Songis 4b15e3910c New LimitData::isEmpty function and context menu enhancements (#7030) 2019-11-21 08:28:24 +01:00
Neil HorneandBertrand Songis 64bdcbc4b1 force save as if file read only (#7100) 2019-11-20 11:57:13 +01:00
Neil HorneandRaphael Coeffic 645fb219f8 Fix SF changing adjust GV# not resetting mode (#6343) 2019-08-18 21:05:20 +02:00
Neil HorneandBertrand Songis 3ec6498155 Companion wizard fixes (#6536)
Fix string copies
2019-07-03 17:42:16 +02:00
Neil HorneandBertrand Songis cd6c599f43 Add RX numbers to CPN models list (2.3) (#6447)
Add RX numbers to models list (#5088)
2019-06-08 10:45:38 +02:00
Neil HorneandBertrand Songis 882e9638cc Fixes 5602 Special Functions Inc/Dec Gvar (#6442)
Fixes #5602 (2.3)
2019-06-01 15:30:07 +02:00
Neil HorneandBertrand Songis 1ec55792f7 Add mouseover tool tips to label fields with context menus (#6448) 2019-05-25 10:16:57 +02:00
Neil HorneandBertrand Songis be035ed612 Fixes missing or invalid SD path (#6441) 2019-05-22 16:02:09 +02:00
Neil HorneandBertrand Songis b4175eade3 Companion enhancements for checklist editor, model print and compare (2 3 branch) (#6434)
* Model print and compare include GFs enhancement

* Model print and compare include checklist contents

* Add missing brackets and code tidy up

* Print message if cannot open or read checklist file

* Missing GV label translation
Move some checklist code to helpers

* Refactor to use helpers and add cursor position

* Move improved version of removeAccents to helpers and apply to checklist

* Force fixed width font for edit window
2019-05-20 18:56:23 +02:00
Neil HorneandBertrand Songis 9d84ca9578 Wrong search & replace 2019-05-18 23:39:55 +02:00
Neil HorneandKilrah e67cb385be Add file name to model edit window title (#6288) 2019-01-07 09:33:56 +01:00
elecpower a006abb94b Fix getSize corrupting model and settings 2018-09-05 19:13:32 +10:00
elecpower a4e92e8821 Refactor center beep 2018-09-05 17:35:20 +10:00
Neil HorneandBertrand Songis d460f005c6 Companion curve enhancements (#5947)
* Add point to custom curve using mouse click

* Add more curve enhancements delete and resize points

* add scene constructor
2018-06-09 11:35:41 +02:00
Neil HorneandBertrand Songis 48f804210c Use fixed width font for checklist (#5925) 2018-06-02 18:15:53 +02:00
Neil HorneandBertrand Songis 2f91eba85d Model print and compare user customisable style (#5866)
* New feature: Model print and compare customisable style

* Layout cosmetics.

* File handling tweak
Message cosmetics
2018-05-21 10:07:49 +02:00
Neil HorneandBertrand Songis 33998c2981 Add Companion Outputs context menu (#5665)
* Start of cut copy paste delete

* Outputs context menu continued

* Mods from testing

* Add tool tip to channel label
2018-03-25 09:44:41 +02:00
Neil HorneandBertrand Songis d745e14cb5 Model print telemetry (#5645)
Model Print Telemetry
2018-01-26 18:53:15 +01:00
Neil HorneandMax Paperno 96d9ae4776 Model print enhancements - General settings (#5568)
* General model settings enhancements
* General model settings add custom failsafe settings
2017-12-29 06:19:34 -05:00
Neil HorneandBertrand Songis 16f219d6d3 Various model print fixes (#5433)
* Fixes #5411 print curve
Rename Limits to Outputs for consistency with radio and Companion
Fix gvars printed as values
Print PPM Center and Linear Subtrims

* code formatting
2017-11-30 19:14:02 +01:00
Neil HorneandBertrand Songis 5b4dc4ee08 Fixes 4944 Skeleton input after cancel of add (#5397) 2017-11-23 23:27:26 +01:00
Neil HorneandBertrand Songis f7828ad4a3 Companion gvar refactor for special functions to match radio (#5361) 2017-11-18 11:25:46 +01:00
Neil HorneandBertrand Songis e6542a78d0 Fix displayed file path for Windows OS (#5355) 2017-11-13 15:30:15 +01:00
Neil HorneandBertrand Songis 8e9d370770 Companion global variables refactor (#5328)
* Companion Global Variables refactor to support changes to radio in 2.2

* Update model print for global variables refactor

* Check and if necessary update all flight modes gvar after updating min or max

* Fix loop limit

* Add clear single gvar context menu
Add gvar popup values to model print
Minor fixes
2017-11-11 08:56:30 +01:00
Neil HorneandAndre Bernet 5bb759a0e7 Replace spaces in model name with underscores for file name (#5335) 2017-11-08 21:33:12 +01:00
Neil HorneandBertrand Songis c00775b2d1 Add model checklist edit to Companion (#5047)
* Add model checklist edit to Companion

* minor fix

* Add only write file if text changed.
Add @bsongis feedback.
Minor code changes.
2017-06-28 22:09:47 +02:00
Neil HorneandBertrand Songis 3b149a22d1 Inputs and Mixes dialogs - add flight modes context menu to set, clear and invert all modes (#4494) 2017-02-26 12:51:06 +01:00
Neil HorneandBertrand Songis 05ca719522 Port #4189 to next (#4235)
Add data modification for su trim, min and max
2017-01-15 15:27:23 +01:00
Neil HorneandBertrand Songis dd12d09c92 Issue 3473 port to next (#3587) 2016-06-12 10:49:59 +02:00
Neil HorneandDamjan Adamic beb21ab7db Fixes #3547: Flight modes linked trims display value (#3568) (ported from master) 2016-06-09 19:37:22 +02:00
Neil HorneandBertrand Songis 98798c1e42 Fixes #3459 Rotary encoders linked flight mode can freeze Companion (#3470) 2016-05-14 20:18:17 +02:00
elecpowerandDamjan Adamic 5f648b2050 Fixes #3214: Flight mode clear (ported from master, Re #3460) 2016-05-08 20:39:37 +02:00