Commit Graph

100 Commits

Author SHA1 Message Date
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
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
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
c2ac37f552 Issue #77 Remove unused methods 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
b1185eb541 Issue #77 toIcon returns a simple enum instead of a full object 2020-12-19 18:50:31 +00:00
Mat Sutcliffe
b80114213d Issue #77 Move mixin classes to separate files
By separating them from unrelated code, their dependents
can use them without depending on unrelated code, which
in turn helps to reduce cyclic dependencies.
2020-08-29 14:16:17 +01:00
Lars Toenning
71c980446d Flash taskbar if new important message arrives 2020-07-28 00:25:33 +02:00
Lars Toenning
f987b81e6d Add feedback when .wallop message is sent
This does the following:
- Opens a message-tab called "SUP" when a .wallop message is sent.
- Throws a validation error if another message is directly send into this "SUP" channel as another .wallop should be used.
2020-07-26 19:46:06 +02:00
Klaus Basan
00ed15f111 Ref T775, special handling for "broadcast" messages
* identify broadcast messages
* do NOT play sound
* use "own" tab for text messages (group together)
2020-06-12 18:42:29 +01:00
Klaus Basan
9dc85da42d Text message view, scroll down if sorted by timestamp 2020-01-07 19:57:28 +00:00
Klaus Basan
1deeaf39e8 [UI] Focus in text message entry field if a text message tab is requested
* requested by AF
* added signals/slots
* foucs functions
2020-01-07 19:57:22 +00:00
Klaus Basan
9aca949aea No notifications for own send messages 2020-01-07 19:57:21 +00:00
Klaus Basan
8d956436e7 [AFV] Ref T739, use the Audio base class with the shared CAfvClient functions 2019-10-18 10:36:24 +02:00
Klaus Basan
1ceac51771 Encode HTML messages, reported as bug in Discord 2019-10-11 19:00:49 +01:00
Klaus Basan
f20855b613 Settings for text messages, ascending or descending (latest first/last) 2019-09-16 22:41:30 +01:00
Klaus Basan
be4a9ee8ae Overlay text message focus setting 2019-05-23 13:12:59 +02:00
Klaus Basan
3f76c87ce9 Ref T664, validate callsign in TM against aircraft/ATC stations in range and use callsign "as set" where applicable 2019-05-23 13:12:58 +02:00
Klaus Basan
4b06d46166 Ref T656, Bug fix for CPZ6092 issue 2019-05-13 11:21:09 +02:00
Klaus Basan
336b87ce86 Ref T617, display real name for private messages
* search by callsign first
* add real name to tab
* flag if real name is to be shown
2019-05-13 11:20:58 +02:00
Klaus Basan
bcbdaaf1a7 COM audio did not tune in (voice room) if channel was already selected at startup
Reason was: hardcoded channel spacing to 8.33kHz

As a result changed to channel spacing based on COM unit, which could also be changed at runtime

* the issue itself was in own aircraft context
* added functions for channel spacing
* changed to COM unit channel spacing (instead of hardcoded spacing)
2019-05-13 11:20:49 +02:00
Klaus Basan
a764a2de7e Added value for notification volume in sound setting 2019-05-13 11:20:49 +02:00
Klaus Basan
ba33ebb1f5 Ref T592, frame around entry line in floating text message window 2019-04-11 22:12:10 +01:00
Klaus Basan
9f0daa58ea Ref T592, made dock widget related slots Qt::QueuedConnection
Rational: the widget emits floating but is not yet in full floating state, so with a direct connection we deal a bit too early with the widget.
Much more stable (hopefully) using queued connection, then all the handling is done if the window is really a floating window.
2019-04-11 22:12:09 +01:00
Klaus Basan
dc6e18b5a2 Ref T591, avoid duplicated text message lines
* also consider Qt::Key_Enter (NUMPAD)
* signal returnPressedUnemptyLine
* use signal returnPressedUnemptyLine instead of returnPressed which avoids empty lines
2019-04-11 22:12:09 +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
d68726080f Ref T536, Ref T531 improved message handling
* do not activate COM/ATC overlay messages as central frame overlay is used
* ignore signals if not activated
2019-02-22 20:36:16 +00:00
Klaus Basan
dfd3d9f884 Ref T531, use UNIT to obtain value. Not using the unit can result in "strange" formats 2019-02-22 20:36:16 +00:00
Klaus Basan
045f79d0bd Ref T536, text message component
* register tab enum
* select tab by frequency
2019-02-22 20:36:13 +00:00
Klaus Basan
e46e89c03e Ref T535, play different souns for private/supervisor message 2019-02-22 20:36:12 +00:00
Klaus Basan
27b9c5e8c8 Text message improvements
* css (text message style sheet)
* settings/send to group boxes NOT checked at beginning
* qss
* string concat with %
2019-02-22 20:35:36 +00:00
Klaus Basan
11daf3b418 Only update ATC buttons if visible 2019-02-22 20:35:36 +00:00
Klaus Basan
b706af4767 Ref T506, better highlite SUP messages
* use stylesheet with properties
* QSS
2019-02-22 20:35:31 +00:00
Klaus Basan
f2722d78f7 Ref T506, only use displayInInfoWindow if not an overlay text message widget 2019-02-22 20:35:25 +00:00
Klaus Basan
a08b2fff3c Ref T506, SUP text message with red close buttons 2019-02-22 20:35:24 +00:00
Klaus Basan
eddaeddfc4 Ref T506, style 2019-02-22 20:35:24 +00:00
Klaus Basan
f6ce579f67 Ref T506, allow to init overlay messages, passivate text messages, improved tab widget selection 2019-02-22 20:35:23 +00:00
Klaus Basan
427c23c5e4 Ref T494, play notification for callsign mentioned
* added audio settings in text message component
* play sound for callsign mentioned in text body
2019-02-22 20:35:08 +00:00
Klaus Basan
03ac54cefa Ref T491, style/minor tweaks 2019-02-22 20:35:05 +00:00
Klaus Basan
ea7694248e Ref T491, prevent standard message tab from closing, search tabs from right to left 2019-02-22 20:35:04 +00:00
Klaus Basan
7a6a822432 Typo fixed, displaying station name on wrong tab 2019-02-22 20:35:04 +00:00
Mat Sutcliffe
7cb581f865 Ref T488 Fixed cppcheck warnings. 2019-02-22 20:34:57 +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
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
9f85a7b560 Fixed clazy warnings: pass large objects by reference to const. 2019-02-22 20:23:33 +00:00
Mat Sutcliffe
333ea1b8df Fixed clazy warnings: empty QStringLiteral. 2019-02-22 20:23:32 +00:00
Klaus Basan
9b06a159f2 Focus text in text entry of overlay text message 2018-12-10 03:41:16 +01:00