Commit Graph
61 Commits
Author SHA1 Message Date
Eder NucciandGitHub 1e8ef179d6 feat(cpn): Reorder log graph line colors for better reading (#2001)
Yellow as the choice for the third line colour was nearly unreadable with a white background
2022-06-07 10:27:19 +10:00
3djcandGitHub 00cd0f918c Fix #7332 (#7355) 2020-02-06 15:33:32 +01:00
Bertrand Songis 725d5606d7 More warnings removed 2019-08-12 15:01:10 +02:00
Max Paperno 8de53f18e6 [LogsDialog] Fix GE export on OSX (since 9796654). 2018-06-04 05:12:57 -04:00
Andre Bernet 14a96e17be OSX compilation 2018-06-04 07:57:28 +01:00
Max PapernoandBertrand Songis 9796654816 [Companion] Log viewer Google Earth fixes (#5937)
* [Companion][LogsDialog] Use relative path for Google Earth track icon (fixes #5080); Use detached process to launch GE (does not restart GE for every export, does not keep handle to GE process); Fix typo in warning message.

* [LogsDialog] Use GE export file path as base for icon path (don't assume TempDir); Fix auto-connection warning from Qt due to misnamed function; Remove redundant check for existing GE file.
2018-06-03 23:19:25 +02:00
Max PapernoandBertrand Songis f018425e12 [Companion] Qualify all translation strings (#5557)
* [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.
2017-12-25 13:36:34 +01:00
HarpalykeandAndre Bernet a9c25d1935 Adding a button to the log viewer to save the currently selected session to its own CSV log file (#5379) 2017-11-18 12:14:55 +01:00
Max PapernoandBertrand Songis 1eead1504c Clean up build warnings (#4169)
* [build][OSX] Fix clang warnings.

* [build][OSX] A few more warnings taken care of.

* [build] Fixed yet more build warnings across all platforms.

* [build] Fix final warning due to bad CMake flag.

* [build] Remove unused variables as requested, fix indent.

* Fix output display limit type for 8-bit targets.
2016-12-30 18:16:11 +01:00
Max PapernoandBertrand Songis e90bd0fd70 Enable Windows build with Qt5.5+ & MinGW-w64 (#4150)
* [Windows][MinGW] Update some WIN32 macro checks in source code to be MSVC-specific (not needed for GCC-based builds).

* [build] CMakeLists updates:
  Adjust for Windows MinGW builds: now fully compatible with Qt5.5+ and MinGW-w64 toolchain (included in Qt installs);
  Add option to specify path to required libraries/includes (instead of hard-coding `c:\programs`);
  Add package check for Python and use found executable name;
  Remove custom FindSdl package handler in favor of stock (and improved) CMake one (still works with Windows);
  Do not force SIMU_AUDIO and LUA_COMPILER in SIMU builds (leave it up to user);
  Add SIMU_LUA_COMPILER option specifically for SIMU builds (default = ON);

* [build][Windows] Rewrite/Fix Windows Companion `install` target, with two options:
    a) just copy supporting Qt and c++ DLLs to build folder so programs can be quickly be run from there (this is default and similar to the old behavior);
    b) full installation to CMAKE_INSTALL_PREFIX path, including all binaries, supporting DLLs, language files, and OTx utilities.
  Option b) can be selected with new WIN_DO_FULL_INSTALL parameter;
  Also cleans up the Linux install a bit and consolidates the OS X parts;

* [simulator][Windows] Add option to build Windows simulator with system console/terminal enabled (both standalone and when launched from Companion). Mostly useful for debug as it gives output messages much sooner in the startup process than the current debug console. Also helpful because you don't have to open it manually on every launch, and it remembers last window position and size. Possible candidate for a user-selectable runtime option in the future.

* [Windows] Fix MSVC build issues.

* [build] More build fixes:
  Use a customized FindSDL.cmake script again due to bugs and deficiencies in the official version (based on script from CMake v3.7);
  Fixes missing SDL DLL error in NSIS installer);
  Use string for Timers option (checkbox in GUI is confusing);
  Remove an unused variable.

* [simu][Windows] Fix f_getcwd() cutting off too many characters (fixes SD browser interactions).
2016-12-24 00:11:07 +01:00
Bertrand Songis b0f5b646af [Companion] Copyright added to all files 2016-11-23 16:40:47 +01:00
Damjan Adamic ff2fdacfb2 Fixes #3872: Companion export to Google Earth now converts feet to meters if GPS altitude is logged in feet. 2016-10-31 11:58:35 +01:00
Bertrand Songis e8f043921f [Companion] Warning removed 2016-10-21 08:37:05 +02:00
Damjan Adamic 5157a9f33c Fixes #3843: GPS logging in decimal degrees format. Companion export to Google Earth fixed. 2016-10-05 17:57:02 +02:00
Damjan Adamic 7522e54c83 More decimal places for small climb rates. 2016-08-28 11:38:38 +02:00
Bertrand Songis 43d618a1de Cosmetics 2016-07-22 18:16:50 +02:00
Damjan AdamicandBertrand Songis c6f13de505 Log viewer improvements (#3442)
* Added:
 * max altitude
 * two cursors for time/altitude measurement

* Fix if multiple altitude related telemetry items are selected (only put cursors on the first one)
2016-04-29 18:59:39 +02:00
Damjan Adamic 981d133607 Log viewer session finder fix (caused by different Qt4/5 behavior of QDateTime) 2016-04-23 20:40:18 +02:00
Bertrand Songis aec2170e7e Move to Qt5 and Qt5Multimedia 2016-03-10 07:12:44 +01:00
Damjan Adamic 70d67dd7dd Export to Google Earth now working (only) with the new telemetry fields (GPS, GAlt and GSpd) 2015-08-01 10:53:06 +02:00
bsongis e1dfb15ba9 Fixes #2546 2015-07-24 10:42:12 +02:00
Damjan Adamic 64315baf3a Added session duraton information in Log Viewer 2015-06-29 20:38:20 +02:00
Damjan Adamic c0afcb51f7 Fixes #2326: Google Earth export GPS glitch filtering and lat/lon synchronization (ported from master) 2015-06-19 18:40:42 +02:00
Grieb 546aa42f56 logsdialog.cpp: removes unused function. 2015-05-21 22:08:47 -03:00
Grieb 3609e2df56 Log Viewer: add a second legend and reference to axes in the legends. 2015-05-21 22:08:47 -03:00
Grieb 46ccd15924 Log Viewer multi-axes. Fixes #2267. 2015-05-21 22:08:46 -03:00
Grieb 22dab11ccf No real changes, just preparing for multi axes in Log Viewer. 2015-05-21 22:08:45 -03:00
Grieb 7f4567c165 Solves item 2 of #2267. And add top/botton margin in graphs. 2015-05-21 22:08:44 -03:00
Grieb 99ee35f88c [companion][logsdialog]Small glitch when loading a second file. 2015-04-28 09:48:11 -03:00
Grieb 647693909a Fix bug found by @projectkk2glider: X axis was messed up in fly sessions. 2015-04-25 14:11:52 -03:00
Grieb a1d9e31bac [companion][logsDialog]Removed some old comented out code. 2015-04-21 22:50:48 -03:00
Grieb da62ac501f [companion][logsDialog]A 50% improvement performance on open file. 2015-04-21 12:47:29 -03:00
Grieb a341c7f4f2 [companion][logsDialog]Two recomendations from QCustomPlot for performance. 2015-04-14 15:52:45 -03:00
Grieb bf7c083590 [companion][logsDialog]Fixed last commit performance decrease when closing log viewer. 2015-04-14 14:18:07 -03:00
Grieb 5707e89ddd [companion][logsDialog]Improved, a bit, performance when opening a new log file. 2015-04-14 12:37:17 -03:00
Grieb 208f80f07e [companion][logsDialog]Updated qCustomPlot. Made fly sessions selection instantaneous. 2015-04-14 01:39:31 -03:00
Grieb bc60135f86 [companion][logsDialog]Add missing tr(). 2015-04-13 09:58:04 -03:00
Grieb e150310715 [Companion][logsDialog]Fixes for #1863 in next. 2015-04-11 00:49:26 -03:00
Damjan Adamic d732bb836c Fixes #1869: Google Earth additional fields exported as strings, support for variable number of columns 2014-12-14 10:05:43 +01:00
Damjan Adamic 741ef45f3e Re #1567:
introduced generateProcessUniqueTempFileName() which is used everywhere we need temporary file
renamed unlink() into qunlink()
fixed missing deletion of curve pngs in print dialog
2014-08-03 19:21:46 +02:00
Andy Jenkinson bd42cbed33 Fixes #1302 2014-06-20 01:57:53 +01:00
bsongis e9b28898d0 OSX compilation errors fixed 2014-06-05 07:45:34 +02:00
Andre Bernet db419fd459 Reset button in telemetry log viewer (fix #962) 2014-04-12 15:57:32 +02:00
Kjell Kernen d57697460b Cleaned tabs from code. The ones in mainwindow.cpp are mine. The rest come from other contributors. 2014-02-26 15:23:42 +01:00
Kjell Kernen 58d8a99511 Merge branch 'origin/next'
Conflicts:
	companion/src/eeprominterface.cpp
	companion/src/firmwares/opentx/opentxinterface.cpp
	companion/src/mainwindow.cpp
	companion/src/simulatordialog.cpp
	companion/src/xsimulatordialog.cpp
2014-02-20 21:37:51 +01:00
Kjell Kernen 2ac79a7791 Most icons set correctly. Icons only seen in Windows (perhaps Mac).
I have not figured out how to set icons of daughter-windows, only dialogs.
2014-02-20 15:34:13 +01:00
Kjell Kernen 80ef2b8d38 All function names changed to a consistent standard.
Cleaned up indentation of appdata.h
2014-02-19 14:01:34 +01:00
Kjell Kernen da68c593cf Changed every single QSetting in Companion.
Next step: Function renaming
2014-02-18 23:48:57 +01:00
Kjell Kernen c23a096a73 Almost all global settings wrapped in protective object to guarantee type safety and protect against tag spelling errors (I have found and corrected a lot of those!).
Joystick settings and burner configuration is not yet within the global object.
2014-02-17 23:47:40 +01:00
Romolo Manfredini 125650d230 Google Earth export fixes and proper process startup implementation on MACOS 2014-01-20 20:49:13 +01:00