Commit Graph

79 Commits

Author SHA1 Message Date
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Mat Sutcliffe
eb6b0ff289 Fix clang-tidy and clazy warnings 2021-08-29 17:02:27 +01:00
Mat Sutcliffe
a22591c8c0 Issue #77 Move CMultiAircraftModelLoaderProvider into a new module
This breaks the cyclic dependencies between IAircraftModelLoader and its subclasses.
2020-12-19 18:50:40 +00:00
Mat Sutcliffe
63e8de8f00 Issue #77 getLogCategories returns a simple QStringList instead of our own class 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
8e065a8fef Issue #77 Factor out parts of CDirectoryUtils into CSwiftDirectories
CDirectoryUtils is utilities for manipulating directories.
CSwiftDirectories is getters that return directories used by swift.
2020-08-29 14:16:12 +01:00
Mat Sutcliffe
660f3fc17b Issue #69 Menu item to launch CSL2XSB in own models component 2020-08-10 12:51:24 +01:00
Klaus Basan
a7b7998f15 [Mappimg tool] Use "showOverlayMessagesOrHTMLMessage" 2020-06-12 18:42:39 +01:00
Klaus Basan
9c01983f25 [Mappimg tool] Clear "own models" if there are NO models and hence NO "models changed" signal 2020-06-12 18:42:39 +01:00
Klaus Basan
655209333c [FS family] follow up of the log. message changes,
display a confirmation if user wants to see all the details

Based on RPs comment here: https://discordapp.com/channels/539048679160676382/594962359441948682/674013220687577109
2020-06-12 18:42:29 +01:00
Klaus Basan
09a3447047 Style 2020-06-12 18:42:25 +01:00
Klaus Basan
79c947f8fa Style 2019-09-16 22:41:32 +01:00
Klaus Basan
3c200034dc Ref T660, add simulator settings in own models/model set component so simulator director can be used for validation 2019-09-16 22:40:22 +01:00
Klaus Basan
7b5c071d97 Fixed wrong call of "FORCED RELOAD" 2019-09-16 22:40:16 +01:00
Klaus Basan
08fcc54695 Button for "force model reload", own models component 2019-09-16 20:29:59 +01:00
Klaus Basan
048c20a2a3 First model set wizard improvements
* overlay messages
* hide load indicator in case of a failure
2019-04-11 22:12:02 +01:00
Klaus Basan
3988fbdb32 Ref T430, follow ups of FG integration fixing wrong distributor handling
* fixing a bug where the radio button and check box names got mixed
* removed code for FG disabling
* style

Backend T576
2019-04-11 22:11:59 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
fb46947252 Ref T529, own models UI component message sorting
* if errors sort by severity
* timeout if there is no error
* check connects
2019-02-22 20:36:06 +00:00
Klaus Basan
f55db48cef Mapping tool: improved setting of simulator
* problem: tab was not updated
* use "setSimulator" to reload from context menu
* forced "setSimulator" possible
2019-02-22 20:36:03 +00:00
Klaus Basan
474b1aad6c Ref T514, signal/slot for model loading progress displayed in UI 2019-02-22 20:35:32 +00:00
Klaus Basan
f8ee2acf5d Ref T430, context menus in mapping tool for FG 2019-02-22 20:35:32 +00:00
Mat Sutcliffe
225ff81252 Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API. 2019-02-22 20:34:55 +00:00
Mat Sutcliffe
d6b5dca6b2 Return a default-constructed QString instead of implicitly converting an empty string literal. 2019-02-22 20:23:49 +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
Klaus Basan
76913fd069 Ref T455, use combobox in model dialogs as radio boxes are too wide 2018-12-07 02:37:16 +01:00
Klaus Basan
978fc42fe5 Doxygen, style 2018-09-20 00:47:12 +02:00
Klaus Basan
33a93bf0f4 Adjusted signal (added count) and overlay message if model loading succeeded 2018-09-18 03:09:05 +02:00
Klaus Basan
0db1683aa3 Init simulator display field, shorter text, typo 2018-08-27 18:58:20 +02:00
Klaus Basan
35b70db67d Ref T310, removed "m_separator" from IMenuDelegate as it is not used 2018-08-26 15:27:05 +02:00
Klaus Basan
73ddec5147 Ref T306, directory setting in models component loading, plus QPointer guard 2018-08-26 15:27:05 +02:00
Klaus Basan
4814178961 Own models component message box if disk loaded models shall be written to cache 2018-08-26 15:26:50 +02:00
Klaus Basan
94e3b89479 Ref T292, Ref T285 model loader and cache improvements
* multi caches also emit when values are set and synchronized
* model loader detects cache changed
* added CCentralMultiSimulatorModelCachesAware
2018-07-26 04:32:40 +02:00
Klaus Basan
94bf4b2249 Ref T292, Ref T285 added signal in loader for "disk loading" and fixed displaying of "already loading" messages 2018-07-25 02:37:14 +02:00
Klaus Basan
5faace2bb2 Ref T292, using the central loader in UI component plus adjustments as of other changes 2018-07-25 02:36:57 +02:00
Klaus Basan
93d33e3130 Own model set component
* Removed changeSimulator function in model set component (merged with setSimulator)
* menu to clear caches
* remember simulator "in selector", not in own value
2018-07-25 02:36:47 +02:00
Klaus Basan
562520dbab Simulator selector can be set and remembered 2018-07-20 18:09:05 +02:00
Klaus Basan
9d4989fab4 Ref T246, avoid unnecessary roundtrips if simulator did not change or is not applicable 2018-07-17 19:05:09 +02:00
Klaus Basan
3b460af8a6 Ref T246, avoid endless reloading if simulator did not change in DB models component 2018-07-17 19:05:06 +02:00
Klaus Basan
29389d5dbb Ref T246, extended the DB components a bit
* change signals
* distributor selection
* public slots -> public
* renamings
2018-07-17 19:04:58 +02:00
Klaus Basan
ac406d43f6 Ref T286, renaming / adding utility functions in simulator info 2018-07-09 22:30:24 +02:00
Klaus Basan
f265222a45 Ref T252, use overlay messages for model loading messages 2018-02-22 01:26:25 +01:00
Klaus Basan
4f63c04225 Ref T246, 1st version of model set wizard
* dialog for CDbOwnModelsComponent / CDbOwnModelSetComponent
* qss
* added page in wizard
2018-02-10 21:57:36 +01:00
Klaus Basan
d64ddfa8af Ref T246, functions to access values of model loader/models component
* direct access to simulator settings
* load models for simulator
2018-02-09 04:44:04 +01:00
Klaus Basan
dd9cff778f Ref T118, "private slots" -> "private" 2017-10-31 15:39:15 +01:00
Klaus Basan
2f0253b3eb Ref T118, support multiple model directories
* this was recently discussed https://swift-project.slack.com/archives/C04J6J76N/p1508430536000065
* for config parser already implemented
* for XP the loading from multiple dirs still needs to be implemented (see todo)
2017-10-31 15:39:15 +01:00
Klaus Basan
65bc1c00fb Formatting, "this->m_" to "m_", comments 2017-09-24 20:29:09 +01:00
Klaus Basan
725341cdbe Fixed some formatting for T152 (before changing the classes) 2017-09-24 20:29:05 +01:00
Klaus Basan
0bbad2ff83 Minor tweaks (found during T125)
* formatting/typos
* authentication: private slots => private
2017-09-24 19:53:10 +01:00