Commit Graph

87 Commits

Author SHA1 Message Date
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
Klaus Basan
280c9a4e56 Improved size calculation of overlay text message
* larger text message overlay
* fixed min.size calculation
2018-12-07 02:37:13 +01:00
Klaus Basan
3edbd09732 Ref T438, allow to collapse "Message to" button area and disable icons 2018-11-23 19:57:33 +01:00
Klaus Basan
e9fd49731c Ref T438, open text message from aircraft context menu 2018-11-22 19:55:04 +01:00
Klaus Basan
d9788115c7 Ref T432, display more detailed tooltip for COM frequency 2018-11-16 02:49:56 +01:00
Klaus Basan
228e686b77 Ref T384, ATC button component and integration in text message component 2018-10-05 17:40:00 +02:00
Klaus Basan
d556383090 Ref T384, text message component "self connecting" to contexts.
Also allow to remove "all messages" tab
2018-10-05 17:39:59 +02:00
Klaus Basan
b71936c6a1 Ref T384, addjusted text message component to be used with overlay text messages
* Tab enum in own file
* Funtions to change tab and hide UI elements
2018-10-05 17:39:58 +02:00
Klaus Basan
3d2c177637 Ref T369, text message component style / font size +/- 2018-10-03 03:03:39 +02:00
Klaus Basan
b9ae33d126 Ref T369, fixed findChildren by adding Q_OBJECT macro
https://swift-project.slack.com/archives/G7GD2UP9C/p1537898045000100
2018-09-27 02:35:19 +02:00
Klaus Basan
6962a7bddb Ref T369, adjusted text message component to support settings 2018-09-23 20:12:45 +02:00
Klaus Basan
3d2d999f7a Ref T338, style 2018-09-09 02:55:16 +02:00
Klaus Basan
30669a4d35 Ref T331, closing "X" on message tab 2018-09-09 02:55:15 +02:00
Klaus Basan
2270c8c38b Ref T215, fixed text message sending from keypad command line
* context menu delete history
* signals to relay messages which are not "dot" commands
2018-01-13 05:04:29 +01:00