QT 5.11 finally removes the qt5_use_modules macro.
Instead target_link_libraries with the Qt5::Lib added should be used.
Since we already use that in one place, it should work everywhere. Since
the common companion lib already depends on Core, widges and multimedia
components that link against it, also implicitly link against those
libraries.
* [Companion] Qualify all remaining QObject translations with proper class/object names; Centralize some common strings into constants.h.
* [Companion] Replace all instances of some common strings with macros from constants.h.
* [Companion] Fix translation warnings from lupdate.
* [Companion] RawSourceRange: Fix for timers and RTC; Remove unused "single precision" flag and logic; Add logic for "short" timer handling.
* [Companion] Add TimerEdit class for editing negative times; Implement TimerEdit in LS, CF, and Telemetry (bars) editors;
* [Companion] Refactor LogicalSwitchesPanel for fewer & more efficient updates; Fix newly-added LS not being available in source lists; Fix bug with timer/rtc comparison values getting reset to value of spin box instead of time editor.
* Add forgotten #include.
* [Companion] LogicalSwitchesPanel: Update raw sources list upon screen refresh (fixes#5374); Improve data entry in spin boxes (fixes#5375).
* Make gcc happy.
* [Companion] Set proper RawSourceRange for GVars, trims, mixer scripts, and sticks/switches/cyclic/MAX.
* [Companion] Fix backwards precision/range logic on telemetry sensors offset spinbox; Fix other minor range issues with ratio & offset.
* [Companion] Remove short limit on min/max timer values for LS & telem. bars.
* Switch to TimerEdit in maxLibQt.
* Fix gcc build.
* Remove unused files.
* Caps fix.
* Move MultiposPots & MultiposPotsPositions capability lookups and getAnalogInputName() to Boards class.
* Add RawSource::isAvailable() and RawSwitch::isAvailable(); Add board type param to various RawSource lookup functions.
* Add CustomFunctionData::toString(), FlightModeData::toString(), FactoryInstalledPots board capability, MAX_SWITCH_TYPE, & break out GeneralSettings source/switch defaults to own function.
* Add RadioDataConversionState class for tracking conversion actions.
* Implement RadioDataConversionState handler, add conversion process report, and improve/fix conversion issues:
* Make sure all switches/pots/knobs have default configs for destination board type;
* Try to move more custom control names, intelligently;
* Convert model timers and throttle source;
* Adjust for Horus 6P switch in place of Taranis S2 knob;
* Adjust for extra sliders on X12 and X9E to move LS and RS to proper slots as needed;
* Make sure ALL controls are validated, eg. to always account for extra trims/analogs/switches/etc which don't exist on destination;
* Properly indicate invalid RawSource::toString() items with "???".
* Allow user to cancel out of file conversions & provide ample warnings if switching radio type/profile with unsaved file(s) still open;
Also: Fix bug with some orphaned MdiChild windows never being deleted; Create static bool Storage::isBoardCompatible(b1, b2).
* Add maxLibQt "stub" (will not compile).
* Add ExportableTableView for better presentation of conversion results table.
* Move getFourCC() and isBoardCompatible() to Boards class.
* Update multi protocols
* SFHSS also has failsafe implemented
* Show failsafe setting in Companion
* Fix missing protocol names
* Update failsafe format and only show bind when module reports to support it
* 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
* Implement R9M protocol according to PXX spec 1.7
Some of the things here are guesswork as I don’t have a R9M at hand. Also Companion support for the extra R9M options is not implemented yet.
* Fix build errors
* Fix issue #4961
Fix yet another reference to HORUS_OR_TARANIS that should be IS_ARM
Also rename C9X function to export/import to be inline with the rest
* Another two IS_ARM/HORUS_TARANIS mixups
* Fix condition
* Simplify/fix two if statements
* Really fix if statement
+ some refactoring to hide irrelevant switches in the combobox
More refactoring to come:
- have only one SwitchModel per model instead of one per tab
- only do the update work if something has changed
* Allow to disable telemetry alarams
This mainly useful for cheap transceivers that have telemetry but no power amplifier and very limited range of often 10-20 meters. This includes fishpepper's tinyFISH FC (and its legal/illegal clones) and also Spektrum BNF models.
* Always disable a warning when RSSI Warnings are disabled
* Compile fix
* Fix typos, also mute sensor lost
Refactor the FrskyRSSIAlarm[2] into a EEPROM compatible RssiAlarm struct
* Compile fixes
* Also refactor Companion
* Cleanup unused datastruct on ARM
* Compile fix for AVR
* Change int to uin8_t for avr
* Fix strings
* 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.
* [Companion] Change logical switch abbreviations to "LS##" in Source/Switch selection lists.
* [LogicalSwitchesPanel] Normalize LS name label.
* We had decided on "Lxx"
* Match firmware side
* ARM wasn't using the translations
* Update strhelpers.cpp
* [Companion] Re-format Inputs list to format input name consistently with rest of UI; Add leading zeros to RawSource numbers in names; Show custom channel name in MixerDialog.
* [Companion] Remove colon separator between input number and custom name.
* Fix segfault when no model pointer is passed to RawSource::toString() (problem was only on this branch).
* [Companion] Model editor Setup panel: Prevent bogus modification signals, eg. when populating protocols box or when removing focus from some fields w/out the value actually changing; Remove unnecessary function.
* [SetupPanel] Fix comparison warning and also a translation issue with Multiprotocols subtype and option names.
* [ModelPrinter] Add a missing include.
* [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().