Commit Graph

108 Commits

Author SHA1 Message Date
Klaus Basan
d3892de593 Ref T783, no longer use stretch factor, but splitter sizes
Using stretch factor can cause ASSERT: https://discordapp.com/channels/539048679160676382/539846348275449887/706825982283350047
2020-06-12 18:42:56 +01:00
Klaus Basan
70c88f0982 [UI] Make completer length font size relative 2020-06-12 18:42:48 +01:00
Klaus Basan
cb814583f6 Ref T783, splitter for ATIS field 2020-06-12 18:42:42 +01:00
Klaus Basan
e1498adc8e Minor fixes, style
* make sure ATC view is updated when disconnected
* prepared rounding, can be enabled at any time
2020-01-07 19:57:22 +00:00
Klaus Basan
be4776ce85 Ref T730, removed voice room selection in ATC station component and settings 2019-10-11 19:00:24 +01:00
Roland Rossgotterer
4772aadc1a Replace INetwork::CConnectionStatus with proper value object 2019-09-17 17:29:25 +02:00
Klaus Basan
cde93e388f Do NOT override METAR if user "manually entered some arbitrary callsign"
See https://discordapp.com/channels/539048679160676382/539486309882789888/621787641976717323
2019-09-16 22:41:36 +01:00
Klaus Basan
2736539b49 Set 0 tab counts if offline 2019-09-16 22:40:42 +01:00
Klaus Basan
eb014639fe Reselect ATC station if data are updated, and update the ATIS info 2019-09-16 22:40:40 +01:00
Klaus Basan
b9366e636c Ref T664, allow hyphen in ATC station callsign 2019-05-23 13:00:28 +02:00
Klaus Basan
c56775e815 Ref T637, allow 3 letter ICAOs in FP
* strict or lenient airport check
* allow to enter 3 letter ICAO codes in FP
2019-05-13 11:20:48 +02: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
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
cc6adc6c40 Ref T539, tree view can select objects and hence refresh ATIS display
* select signal for tree view
* signal/slots and connects
2019-02-22 20:36:17 +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
963ac03be0 Ref T536, ATC and cockpit component request overlay text messages and use COverlayMessagesFrameEnableForDockWidgetInfoArea 2019-02-22 20:36:13 +00:00
Klaus Basan
4e2707f9d1 Ref T534, show filtered counts and info if no ATC stations are shown 2019-02-22 20:36:10 +00:00
Klaus Basan
8bb1915d97 Ref T506, partially reverted QDockWidget overlay messages
* for some reasons overlay message do not work with COverlayMessagesDockWidget when floating
* so using COverlayMessagesFrame for ATC/Cockpit again
* COverlayMessagesFrame does not have the issue with floating
2019-02-22 20:35:26 +00:00
Klaus Basan
8696f45a7c Ref T506, make dock widget overlay message compliant
* overlay widget can used that functionality directly
* no need to use COverlayMessagesFrame
* added COverlayMessagesDockWidget
2019-02-22 20:35:24 +00:00
Klaus Basan
d6f3932e5b Ref T506, init text message overlay in cockpit/ATC component 2019-02-22 20:35:24 +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
Klaus Basan
c14e85a805 ATC stations, display icon+text for buttons 2019-02-22 20:23:52 +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
Klaus Basan
6761a4c08a Ref T442, made ATC station component a QFrame
* details in group box
* count for tree view tab
* formatting of settings
2018-12-10 03:41:16 +01:00
Klaus Basan
82324cb512 Ref T442, ATC station treeview
* store expand/collapsed state
* resize
* clear
2018-12-07 02:37:14 +01:00
Klaus Basan
624de52724 Ref T442, connected tree view signals 2018-12-05 04:04:00 +01:00
Klaus Basan
45e34001a8 Ref T442, moved tree model into own class
* columns can be used as with list model
* own class/file
2018-12-05 04:03:59 +01:00
Klaus Basan
e6ae28b17d Ref T385, allow to filter "by voiceroom"/"by frequency" so co-pilot (OBS login) can be shown 2018-10-07 16:17:27 +02:00
Klaus Basan
4246e12c31 Ref T384, overlay text message in ATC station component 2018-10-05 17:40:00 +02:00
Klaus Basan
a4fc474d09 Ref T345, directly update ATC stations when "in range" radio button changes
- forced update
- use component directly, no copy of settings
2018-09-17 20:03:20 +02:00
Klaus Basan
1de3b28c49 Ref T345, clear online views when disconnected 2018-09-17 18:28:54 +02:00
Klaus Basan
4413d87d43 Ref T345, Qt::QueuedConnection for UI slots 2018-09-17 18:28:47 +02:00
Klaus Basan
3c9b8f98ca Ref T345, fixes in ATC UI
- use toggled to detect all/in range
- update ATIS when row is selected or clicked
- changing all/in range "updates"
2018-09-12 17:40:37 +02:00
Klaus Basan
f07ec8c519 Ref T322, ATC stations UI, request updated distance along with stations 2018-09-08 15:36:22 +02:00
Klaus Basan
6664e8a8ca As another improvement of voice testing beautified/simplified audio UI a bit 2018-06-13 13:59:50 +02:00
Klaus Basan
c750ad1dfc As a follow up of voice testing
* allow to directly go from ATC component to audio component (control volume)
* reordered keypad a bit
* audio setup, "private slots" -> "private"
2018-06-13 13:59:44 +02:00
Klaus Basan
4ced6b4f97 Formatting 2018-05-18 00:24:58 +02:00
Klaus Basan
ae8d9abf0d Improved ATIS update in ATC station component
* signal for ATIS received
* reload ATC statiosns when ATIS changes
2018-05-08 16:06:47 +02:00
Klaus Basan
1f1ea1de5b Minor Ui adjustments ATC component 2018-01-30 20:35:14 +01:00
Klaus Basan
bb7f38face Ref T192, formatting ATC component (no private slots) 2017-12-21 19:46:54 +01:00
Klaus Basan
371ee82f1b Ensure tab index 0 is selected at startup 2017-02-24 15:20:51 +00:00
Klaus Basan
5f7c3f0e9c refs #855, removed hiding where no longer needed 2017-01-10 23:47:32 +00:00
Klaus Basan
99254938b1 refs #844, avoid pending load indicator
* Renamed to settingsChanged
* update bookings even if not connected
2017-01-10 23:46:13 +00:00
Klaus Basan
b3c7be8765 refs #506, use digest signals in pilot client
(less UI updates)
2017-01-10 23:45:52 +00:00
Klaus Basan
5d5da0641f refs #844, use inline UI for settings and settings in ATC component
Allow to toggle stations in/outside range
2017-01-10 23:45:42 +00:00
Klaus Basan
763e92cc2a refs #814, fixed wrong default values for update times causing CPU overload
* use 10s as conservative default value
* check in assert if update time is correct
2016-12-13 19:02:11 +01:00
Klaus Basan
20b4044d29 Minor UI and style fixes
* completer for airports in ATC component
* log messages
* style fixes
2016-12-13 19:01:18 +01:00
Klaus Basan
df64f31dbf refs #799, changed components to use settings
* removed update timer
* Removed getter/setters for update times
* used UI component for settings in main settings component
2016-12-13 18:59:58 +01:00
Klaus Basan
aafff6cd82 Formatting this->ui to ui 2016-09-19 16:18:41 +02:00
Roland Winklmeier
10810f5003 Explicitly use QTabBar scroll buttons
Even though QTabBar's property usesScrollButtons is set to true in Qt
Designer, it is not set explicitly in generated C++ code. The default
value is style dependent, which caused the scroll buttons to be visibile
everywhere except Mac OS/X.

refs #683
2016-08-26 21:05:09 +01:00