Commit Graph

23 Commits

Author SHA1 Message Date
Klaus Basan
df69ef47a0 [UI] Default sizes for dock widgets plus some smaller fixes:
* renamings
* reset all to defaults
* sizes
2020-06-12 18:42:48 +01: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
c45592f9b5 Ref T592, minor tweaks
* style
* hide wip_CockpitComPanelShowHideBar initially
* sGui guarding
* function initialFloating() public so it can be explicitly called
2019-04-11 22:12:09 +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
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
c2f606089d Ref T536, changed double click to use request signal, NOT own overlay. This now uses the existing frame overlay. 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
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
Klaus Basan
792d2ced30 Ref T384, trigger (show) overlay text messages 2018-10-05 17:39:59 +02:00
Klaus Basan
af75c88784 Cockpit UI improvements
* private slots -> private
* Stylesheet update for readonly
2018-01-30 20:30:18 +01:00
Klaus Basan
4c8ae06eff Ref T111, use COM form in CCockpitComponent 2017-09-24 19:51:53 +01:00
Klaus Basan
6863bf2937 refs #927, linked button with component 2017-04-18 00:07:22 +01:00
Klaus Basan
8e55baaf85 Typos, QStringBuilder 2017-03-01 20:51:39 +01:00
Klaus Basan
bfd94ea6a8 refs #749, SELCAL and cockpit finetuning
* SELCAL combobox was too long
* Use tool instead of push buttons
2016-08-29 00:27:52 +02:00
Roland Winklmeier
f4c2939253 Fix BlackGui header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:31:11 +02:00
Klaus Basan
cd2c7c12a7 Init COM values from ownAircraft context 2014-11-30 00:56:56 +01:00
Klaus Basan
adba17da0f refs #335, improved size handling for cockpit
* minimum values set to avoid issues when docked
* no manual values when just toggled floating
2014-11-30 00:54:40 +01:00
Klaus Basan
8acf8e2ed0 refs #335, support for status bar for dock widgets
* status bar when floating
* improved info area status
* removed ui parts from infoarea
2014-11-30 00:54:28 +01:00
Klaus Basan
858e8895d8 refs #335, improved cockpit
* support for squawk ident
* enable for runtime
* LEDs showing right state when connected to voice room
2014-11-30 00:53:34 +01:00
Klaus Basan
7028bcf66a refs #335, cockpit component:
* COM unit
* show / hide bar
* info area (nested)
2014-11-30 00:52:39 +01:00