Commit Graph
72 Commits
Author SHA1 Message Date
Neil HorneandGitHub cb08a4de25 feat(cpn): Only show active channels in source lists (#3971) 2023-09-02 18:45:29 +10:00
elecpowerandPeter Feerick b4f0e7ca8e Fix cpn mix list highlight 2021-10-28 19:46:27 +10:00
ruddy douglass 9d383c7f08 Reformat to adhere to coding standards 2021-03-09 16:38:40 -05:00
ruddy douglass 4660dd852f Resolve issue 8347 by checking if the for nullptr. Additionally resolve a couple other similar issues for keyboard accellerators 2021-03-08 16:42:34 -05:00
elecpower 905886774f Major refactoring continued 2021-01-08 20:24:46 +11:00
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 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 c15dd90986 Improve memory management 2020-10-22 09:27:34 +11:00
elecpower af4c5524b1 Refactor to directly call updates to data models 2020-10-02 07:06:00 +10:00
elecpower 1b40c69593 Input and mix source list use filter to remove none entry 2020-09-20 07:43:54 +10:00
elecpower 775d8db1e9 Mixes create filtered lists once 2020-09-20 05:36:55 +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 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
Bertrand Songis 725d5606d7 More warnings removed 2019-08-12 15:01:10 +02:00
Bertrand Songis 2c47883cc2 Companion GCC8 warnings removed 2018-08-05 19:33:28 +02:00
Max PapernoandBertrand Songis 1de4d86661 [Companion][MixesPanel] Fix disappearing mixer lines after an invalid line is removed. (#5957) 2018-06-13 22:27:45 +02:00
Max PapernoandBertrand Songis 3f5a3995cc [Companion] Inputs and Mixes lists formatting & DnD fixes: (#4919)
* Fix/improve margin/padding issues, consistent between inp/mix views, better x-platform and older Qt (closes #4599, closes #4341);
    * Allow dropping onto lines instead of only between them;
    * Fix dropped data always going to line above the actual drop target (closes #4622);
    * Always force DnD move operations between windows to copy instead (fixes deletion of any selected line in target window, and source line was never actually removed but looked like it was);
    * Add alternate-row coloring for each Input/Mixer group;
    * Fix non-contrasting selected row font color on Linux & OS X (was black on blue);
    * Add actions to change font size (size persists until app close);
    * Show inactive lines with dimmer font for input/channel name;
    * Make drop indicator more obvious;
    * Restore mouse hover highlight (Win), which also helps indicate actual drop target (also re: #4622);
    * cosmetics: Code indentation in MixersListWidget.
2017-06-10 23:35:16 +02:00
Max PapernoandBertrand Songis 72b1ad085f [Companion] Show custom channel, G-Var, and Curve names throughout UI. (#4874)
* [Companion] Move RadioData constructor.

* [Companion] Move getCapability(SwitchPositions) to Boards class.

* [Companion] Show custom channel, g-var, & curve names throughout UI; Remove redundant name formatting and other unused functions in ModelPrinter and Helpers; Add CustomFunctionData::isEmpty().

* [Companion] Add LogicalSwitchData::isEmpty().

* [Companion] Fix small bug in HardwarePanel.

* [Companion] Rename logical switches to "LSw##" in selections lists to avoid confusion with "L#" and "LS" hardware controls; remove unused RotaryEncoderString().
2017-04-29 09:03:53 +02:00
Bertrand SongisandGitHub 70cfbbd646 Bsongis/issue 4400 (#4425)
* Cosmetics before fixing #4400

* Cosmetics before fixing #4400

* Now one more conversion issue (SF => SH sources conversion from X9D to X7)

I don't know what is exactly the conversion issue as I don't have the original EEPROM, but I used this one for my tests, so I fix it

* Now we display correctly the corrupted mixers list so that copy/paste will work correctly (it was not consistent)

+ some cosmetics

* Test removed too quickly

* One global removed ;)
2017-02-10 17:17:52 +01:00
Max PapernoandBertrand Songis 52b68c9ea2 [companion] Fix a few reasonable warnings brought up by MSVC /W3. (#4206) 2017-01-07 08:33:56 +01:00
Andre Bernet 625babc55e Companion modification propagation fixes (Fix #4155 and #3254) 2016-12-24 11:31:57 +01:00
Bertrand Songis b0f5b646af [Companion] Copyright added to all files 2016-11-23 16:40:47 +01:00
3djc b1332c6494 Port to next work by Elecpower: https://github.com/opentx/opentx/pull/3838 2016-09-22 07:43:24 +02:00
Bertrand Songis aec2170e7e Move to Qt5 and Qt5Multimedia 2016-03-10 07:12:44 +01:00
Damjan Adamic 89bb1226ac Fixes #2808: Mixes multiplex representation now the same as on the radio 2015-08-30 21:35:53 +02:00
Damjan Adamic 0c7e545b42 Cosmetics 2015-08-23 15:33:09 +02:00
Bertrand Songis ed05174fc8 PrintDialog / CompareDialog refactoring 2015-08-23 09:54:15 +02:00
Damjan Adamic 4e4d0fe883 Re #1063: Deduplication of code for Inputs, Mixers, Logical Switches and Special Functions 2015-07-28 20:57:06 +02:00
bsongis 38a639cef6 Refactoring 2014-12-16 21:17:39 +01:00
bsongis ef7bbea285 Global Functions now integrated inside Companion - Fixes #502 2014-09-18 15:32:55 +02:00
bsongis ed90015503 Fixes #1272 2014-06-19 11:59:18 +02:00
Damjan Adamic 6689919a39 Fixes #1294 - Companion, Delete action without a selection 2014-06-17 09:25:57 +02:00
Damjan Adamic a596001338 Companion mixer tab, if CH1 is empty the Move up button will never bring something there, fixes #1261 2014-06-12 15:16:50 +02:00
Damjan Adamic 5a0f154876 Fixes #1215 2014-06-08 19:31:02 +02:00
Damjan Adamic d641147ef0 The "No DR/Expo" was (after conversion from 215) showing in mixes for Taranis. Taranis does not have this setting. 2014-06-01 16:01:35 +02:00
Damjan Adamic 8787dd05cd Many improvements of print dialog. Some minor changes in mixes and inputs formatting. 2014-05-04 10:37:49 +02:00
Damjan Adamic 1a6906bbb3 Input name missing from mixer sources 2014-04-30 22:58:54 +02:00
Damjan Adamic a6ad130df7 Reverted commit 8c5fc3a01f (which prevented moving second mixer to the first line) 2014-04-21 12:22:25 +02:00
Damjan Adamic 27600ba37e Cosmetic changes 2014-04-20 22:12:55 +02:00
Damjan Adamic 65521d96d4 Code refactoring
Added documentation
2014-04-20 19:06:55 +02:00
Damjan Adamic a8c828f105 Corrected list items width (long items were wrapping)
Refactored inputs tab, same system as mixes tab (grouping of lines)
Fixed incorrect spacing for first list item
2014-04-20 18:27:28 +02:00
Damjan Adamic 0e7b420b71 Code cleanup 2014-04-20 15:40:40 +02:00
Damjan Adamic 95e7f7915b Better implementation, spacing now correct, drag&drop working.
Inputs tab still needs spaces converted to  
2014-04-20 14:22:54 +02:00
Damjan Adamic 3df9fcb67a Working, but drawing is not perfect 2014-04-20 13:21:28 +02:00
bsongis 50a73a3af5 Each ModelEdit window now has its own FirmwareInterface (it means that
we could open 2 ModelEdit windows on different firmwares)
2014-04-18 16:55:53 +02:00
bsongis c5ac19a054 Refactoring FirmwareInterface / EepromInterface 2014-04-18 16:27:27 +02:00
Andre Bernet e312454aca Translation/typo cleanup part 7 2014-04-16 09:43:40 +02:00
bsongis f47cd81108 ExtraChannels Capacity removed 2014-04-16 07:27:39 +02:00