Commit Graph

70 Commits

Author SHA1 Message Date
Klaus Basan
083293c016 Style 2019-09-16 22:41:28 +01:00
Klaus Basan
6e90ec5c72 Ref T709, added settings for lights and message box margins 2019-09-16 22:41:18 +01:00
Klaus Basan
024360a5df Ref T709, avoid pure virtual assert by removing the JSON ctor, which is calling a virtual function in the ctor 2019-09-16 22:41:18 +01:00
Mat Sutcliffe
349da3633b Ref T709 Prevent instantiation of CXSwiftBusSettingsQtFree, to avoid slicing.
- Constructors and destructor are protected.
- Therefore destructor doesn't need to be virtual.
- objectUpdated is pure virtual, so the class is abstract.
- Both derived classes are declared final.
2019-09-16 22:41:16 +01:00
Klaus Basan
e62aa6fb2f Ref T715, setting for "night texture"
* settings class
* UI
2019-09-16 22:41:12 +01:00
Klaus Basan
447152bd13 Ref T709, only update settings if changed 2019-09-16 22:41:04 +01:00
Klaus Basan
77883edf9c Ref T709, bool return value if settings changed 2019-09-16 22:41:03 +01:00
Klaus Basan
7004e85117 Ref T709, ctor from JSON string 2019-09-16 22:41:00 +01:00
Klaus Basan
9982f9cfb9 Ref T709, update function where only changed members are changed 2019-09-16 22:41:00 +01:00
Klaus Basan
34aa8333cc Ref T709, sync Qt free timestamp after parsing with swift version 2019-09-16 22:40:58 +01:00
Klaus Basan
04e57df5f7 Ref T709, virtual function for timestamp setting 2019-09-16 22:40:58 +01:00
Klaus Basan
5ebf119acb Ref T709, added "follow aircraft distance" and timestamp, removed old settings 2019-09-16 22:40:57 +01:00
Klaus Basan
d1db1943ae Ref T709, display settings as string/QString (for logging) 2019-09-16 22:40:56 +01:00
Klaus Basan
81c832457e Ref T709, based on the Qt free base class, added swift compliant settings class 2019-09-16 22:40:53 +01:00
Klaus Basan
a809679b34 Ref T709, added Qt free base class for settings which can be used on XSwiftBus and swift side
This has to be "Qt free"
2019-09-16 22:40:52 +01:00
Klaus Basan
5799e31d27 XPlane sub directory check (model dirs in XPlane dir), unified with settings is valid 2019-09-16 22:40:28 +01:00
Klaus Basan
5bd3507ed9 Ref T660, unify FSX and P3D directory generation (from config files)
* removed unused functions
* sxSimObjectsDirPlusAddOnXmlSimObjectsPaths
* use simulator directory for FSX (same as P3D)
* renamings
2019-09-16 22:40:21 +01:00
Mat Sutcliffe
73d3a341da Ref T689 Add validation that XP model directories are within the XP sim directory. 2019-09-16 22:40:06 +01:00
Mat Sutcliffe
668a77d083 Ref T689 Settings validation can produce more descriptive error messages. 2019-09-16 22:40:05 +01:00
Klaus Basan
6cefb5175d Avoid issues if simulator is NOT yet set in emulateed driver 2019-09-16 22:39:54 +01:00
Klaus Basan
70a350ed66 Ref T683, settings for "record gnd.elevation" (based on own aircraft) 2019-09-16 22:39:32 +01:00
Klaus Basan
33c3ee68f1 Doxygen and style 2019-09-16 22:38:06 +01:00
Klaus Basan
a447c054ca Ref T681, settings for CG from DB 2019-09-16 22:37:59 +01:00
Lars Toenning
8b69b7a637 Ref T631, Adding FG default directories
Only works on windows so far
2019-05-13 11:21:08 +02:00
Klaus Basan
7d025c6293 Ref T650, also remember SB offset setting 2019-05-13 11:21:01 +02:00
Klaus Basan
cbf5c1c445 Ref T650, save FSX/P3D specific settings 2019-05-13 11:20:56 +02:00
Klaus Basan
53fb28d70c Ref T609, setting if COM is synced with simulator 2019-05-13 11:20:39 +02:00
Lars Toenning
37cdb2e246 Remove unused FGSettingsWriter 2019-04-11 22:11:56 +01:00
Lars Toenning
0d77f9d41c Rename FG settings file 2019-04-11 22:11:56 +01:00
Lars Toenning
1b273a36dc Refactoring code of FG plugin 2019-04-11 22:11:56 +01:00
Lars Toenning
8bae56a36c Clean up 2019-04-11 22:11:54 +01:00
ltoenning
68cf4fa63d Initial FlightGear plugin commit 2019-04-11 22:11:52 +01:00
Klaus Basan
46f69217c0 Doxygen comments 2019-04-11 22:11:49 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Mat Sutcliffe
fe7a45afcf Ref T516 Update CStatusMessage call sites to use new syntax. 2019-02-22 20:35:51 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Mat Sutcliffe
c71d358648 Fixed clazy warnings: unnecessary containers and containers being detached. 2019-02-22 20:23:37 +00:00
Mat Sutcliffe
e32ea65a27 Fixed clazy warnings: fully-qualified signal parameter types. 2019-02-22 20:23:34 +00:00
Klaus Basan
50cc9c32d6 Ref T365, find add-on SimObjects
* utility function to compare directories
* parse "add-on.xml"
* use add-on SimObject paths for P3D as default
2018-12-10 03:41:15 +01:00
Klaus Basan
136d161bf0 Ref T430, simulator settings for FG 2018-12-07 02:37:15 +01:00
Klaus Basan
e9101ab4c6 Ref T349, P3D version as setting 2018-11-16 02:49:52 +01:00
Klaus Basan
c12e1585fd Allow to save interpolation/rendering setup
- setting trait
- save/load logic in context
- adjusted UI, allow to reset global setup
2018-09-17 18:28:33 +02:00
Klaus Basan
da2a7f6506 Ref T348, get specialized settings
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:08 +02:00
Klaus Basan
88aee2db1a Macthing settings key lc 2018-08-31 20:08:09 +02:00
Klaus Basan
d310c9c843 Ref T298, model matching settings trait and used settings in simulator context 2018-08-09 01:25:28 +02:00
Klaus Basan
b671c2a0a5 Style, removed redundant CForm overrides 2018-08-07 20:41:06 +02:00
Roland Winklmeier
488ff96ce6 Add DBus P2P support to XSwiftBus
ref T291
2018-08-07 20:40:43 +02:00
Klaus Basan
97da1c9a3c Ref T246, simulator settings improvements 2018-07-17 19:04:57 +02:00
Klaus Basan
80cee12fdb Ref T246, utility for 1st model set directory
* remove empty enries in directories
* allow to add directory
* detect same directories and avoid duplicates
2018-07-14 19:45:21 +02:00