Commit Graph

3060 Commits

Author SHA1 Message Date
Lars Toenning
e03a811585 fix: Use correct EntityFlag for check 2024-03-21 22:42:02 +01:00
Lars Toenning
254ab22c93 refactor: Remove method without any effect 2024-03-21 22:42:01 +01:00
Lars Toenning
3f825b7111 fix(qss): Set menu background color
As a black text color is enforced for the menu, we should also enforce a
white background for a good contrast.
This is more or less a workaround as this does not respect any system
style settings (dark mode, ...).
This fix will become obsolete once tackling #138 (removing/reducing stylesheet).

Fixes #139
2024-03-21 22:42:01 +01:00
Lars Toenning
7b6f087247 refactor: Fix some clang-tidy warnings
- Mark single argument constructors as explicit
- Remove unused functions
- Avoid default parameters in virtual functions
- Clean up includes
- Do not call static methods through an instance
- And some more...
2024-02-18 23:09:12 +01:00
Lars Toenning
b8a376701b fix: Remove help/version message dialogs for Gui application
These methods did not quit the application and hence the application
exits with code -1. Further, when calling swift with a commandline
argument, the user might expect to get a commandline output and not a
GUI popup.
2024-02-18 22:16:54 +01:00
Lars Toenning
1106365180 refactor: Remove remaining parts of dynamic splashscreen messages
The splash screen was already refactored with bfc27f6 for better readability
2024-02-18 22:16:51 +01:00
Lars Toenning
5e0f3a05d3 refactor: Read AFV URLs from bootstrap.json
This also removes the possibility to change the URL on the fly via the
UI.
Fixes #257
2024-02-18 16:33:16 +01:00
Lars Toenning
c1ae6fe418 refactor: Remove unused NetworkSetupForm 2024-02-06 08:45:34 +01:00
Lars Toenning
9188a5857e refactor: Remove remaining ATC booking parts
Related to #252
2024-02-06 08:45:34 +01:00
Lars Toenning
975944a528 fix: Save datafile update rate in correct setting 2024-02-06 08:45:34 +01:00
Lars Toenning
298c9eeec1 refactor: Remove option to disable autologoff
Auto logoff was always enabled in normal builds anyway, even when the
user tried to disable it (see 8eff8cd).
2024-02-06 08:45:34 +01:00
Lars Toenning
389431ccef refactor: Clean up setup file reader
Previously we already switch to loading the bootstrap file only from the
local file (ec42553910).
This removes the remaining parts of loading the bootstrap file from a
remote location.
This also updates the UI in case of parsing errors of the bootstrap.json.
2024-02-05 22:23:40 +01:00
Lars Toenning
8704d463b8 feat: Show simplified StatusMessageWidget when hiding details 2024-02-05 22:23:40 +01:00
Lars Toenning
da552d60cc refactor: Remove dev flag from bootstrap json
With this, the database debug flag can only be activated when using swift
with a development build. Setting the development flag in the json also
didn't worked previously as expected because the corresponding function
to get the flag in application.cpp was called before the setup was loaded.
2024-02-05 22:23:40 +01:00
Lars Toenning
5842cb627a refactor: Remove wrong forward declaration 2024-02-05 22:23:40 +01:00
Lars Toenning
9f50aaaa4a fix: Remove broken ATC station booking overview
Related to #252
2024-01-27 08:55:46 +01:00
Lars Toenning
945ef36151 refactor: Remove navigation equipment from remark generator
The NAV/ field in the remarks (same as COM/) is a freetext field. The content
may be dependent on the air traffic authority/country.
Further, most of the equipment information is nowadays handled with the
ICAO equipment code. NAV/ is likely required in special cases only, for
example when filing equipment code Z (Other equipment).
2024-01-23 20:25:30 +01:00
Lars Toenning
d2831a17ef feat: Add voice capability to remarks for SimBrief flightplans 2024-01-23 20:25:30 +01:00
Lars Toenning
23e2dc9057 feat: Add ICAOEQ capability to FSD client 2024-01-23 20:25:30 +01:00
Lars Toenning
1f4f60d793 feat: Add wake turbulence category enum 2024-01-23 20:25:30 +01:00
Lars Toenning
c98eff2fa5 refactor: Remove unused variable 2023-12-28 18:27:25 +01:00
Lars Toenning
f209a1743c fix(ui): Reorder radar widget settings 2023-11-26 18:41:07 +01:00
Lars Toenning
9774857169 feat(ui): Display pressure with fixed number of digits on weather page 2023-11-26 18:41:07 +01:00
Lars Toenning
488f9dc119 feat(ui): Display pressure also in inHg on weather page
Fixes #217
2023-11-26 18:41:07 +01:00
Lars Toenning
4902e0615b Extend description of "AFV blocking" setting 2023-11-26 18:41:07 +01:00
Lars Toenning
b58aea75ea Remove unused PTTBlocked notification sound 2023-11-26 18:41:07 +01:00
Lars Toenning
0af28c2708 Separate word "Ground speed" in radar component 2023-11-19 12:51:59 +01:00
Lars Toenning
41e8ddf2ae Add spinbox to change radar tag font size
Fixes #121
2023-11-19 12:51:59 +01:00
Lars Toenning
ee33a75ba0 Add login/logoff notification sound option
Fixes #156
2023-11-16 11:45:06 +01:00
Lars Toenning
e1cf40463f Remove ATC tune in/out notification sound
Related to #156
2023-11-16 11:45:06 +01:00
Lars Toenning
b57dfa1cb8 Remove unused "no audio transmission" notification sound
Related to #156
2023-11-16 11:45:06 +01:00
Lars Toenning
3187835315 Swap frequency and distance column in ATC list view
Fixes #173
2023-11-16 11:45:06 +01:00
Lars Toenning
1deaeba584 Add CMake support 2023-11-12 21:36:21 +01:00
Lars Toenning
3ffb8f689b Remove qmake files 2023-11-01 22:23:15 +01:00
Lars Toenning
bfc27f61a4 Print splashscreen text in separate statusbar 2023-10-05 18:27:18 +02:00
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
7ef0e6e1eb Fix cppcheck warnings 2023-04-18 16:07:19 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
Lars Toenning
72ac4e6b47 Fix doxygen warnings
Fixes #188
2023-04-05 18:59:41 +02:00
Mat Sutcliffe
7691e42a5b Fix doxygen warnings
Fixes #188
2023-04-05 18:57:11 +02:00
Lars Toenning
6dc2492d29 Bootstrap: Remove wasLoadedFromWeb flag 2023-03-03 12:23:43 +01:00
Lars Toenning
d51e4646c6 Clarify CSimulatedAircraft method name 2023-02-10 19:08:49 +01:00
Lars Toenning
8747b91ea6 Remove unused ChannelSpacing parameter 2023-02-10 19:08:49 +01:00
Lars Toenning
a96d792e25 Adapt channel comparison for 8.33 kHz spacing
Related to #186
2023-02-10 19:08:44 +01:00
Lars Toenning
b3e5539ec2 Enable 8.33 kHz frequency spacing support
Related to #186
2023-02-10 19:08:32 +01:00
Lars Toenning
c1dc5b0b06 Add icon and tooltips to plugin selector 2023-02-06 20:58:23 +01:00
Mat Sutcliffe
6e72437824 Guard against window being off-screen
QDesktopWidget::screenNumber can return -1
2022-11-14 18:26:06 +00:00
Lars Toenning
ddc7b3f87b Issue #168 Trigger notification sounds
"Text message on ATC frequency" and "Text message on UNICOM" sounds
weren't triggered before.
2022-06-22 22:33:17 +02:00
Lars Toenning
05293feb8f Initialize sim connection status for logincomponent
When using distributed mode and the simulator is already connected to swiftCore, the GUI will not trigger the update on the login component via the simulatorStatusChanged signal.
Therefore we will  trigger the initial update manually (same is already done for the simulator connection LED).
2022-05-25 19:47:34 +01:00
Lars Toenning
c0efc9ea81 Clean up includes 2022-05-25 19:47:34 +01:00