Commit Graph

210 Commits

Author SHA1 Message Date
Klaus Basan
3a469d4654 [AFV] Ref T730, bring back swift PTT click sounds 2019-10-18 10:36:25 +02: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
dc20359c76 Ref T741, typo 2019-10-16 17:40:32 +02:00
Roland Rossgotterer
7951b9f15d Remove quickwidgets dependency from swiftguistandard
Even though it is not used, MacOS clang decided to link it
anyway and require the library at runtime.
2019-10-12 13:25:42 +02:00
Mat Sutcliffe
57ff07592a [AFV] CInputManager stores icon indexes instead of QPixmap instances
The GUI converts icon indexes to QPixmap indexes when needed.
This fixes the context unittest that was broken by audio context changes.
2019-10-11 19:00:52 +01:00
Klaus Basan
9ddb55e79f Ref T731, Ref T739, adjusted launcher to only support "STANDALONE" and "DISTRIBUTED"
* the audio on core/GUI modes are no longer valid
* aligned the core mode enum
2019-10-11 19:00:42 +01:00
Klaus Basan
cfead08b13 Ref T739, use correct (new) core modes / removed old modes 2019-10-11 19:00:37 +01:00
Klaus Basan
0aeeaa5aef Ref T730, do NOT play own PTT, AFV plays PTT 2019-10-11 19:00:21 +01:00
Klaus Basan
6071e77b7f Ref T730, removed voice room related funcions from audio context 2019-10-11 18:59:59 +01:00
Klaus Basan
81ade55cb5 Ref T730, added QT multimedia in some projects, as it is now needed in blackmisc 2019-10-11 18:59:58 +01:00
Klaus Basan
992d624c18 Ref T731, moved AFV station model and client to BlackCore::Afv
* the QML map can also be used in dialog
* ATC station list also can be used in BlackCore
2019-10-11 18:59:53 +01:00
Klaus Basan
329b1e8c9a Ref T731, moved QML map in dialog
* initial structure
* embedded a QQuickWidget in dialog
2019-10-11 18:59:13 +01:00
Roland Rossgotterer
4772aadc1a Replace INetwork::CConnectionStatus with proper value object 2019-09-17 17:29:25 +02:00
Klaus Basan
4fc151f4cb Another fix for "dialog closing closes swift",
see https://discordapp.com/channels/539048679160676382/567139633964646411/620776182027386880

The signal for the navigator dialog closed
is not send or received in some cases, not clear why.

Using a reference directly to the main window as workaround.
2019-09-16 22:41:35 +01:00
Klaus Basan
2e6eac45bd If using SHIFT and navigator button reset to screen center 2019-09-16 22:41:30 +01:00
Klaus Basan
1409dae355 Ref T717, initial UI components for model browser 2019-09-16 22:41:27 +01:00
Klaus Basan
c9d5a18421 Make sure the main window shows up again if the navigator is closed 2019-09-16 22:41:27 +01:00
Klaus Basan
4e9bf35cfc Improved "kicked" message handling, make sure it goes in the log too 2019-09-16 22:41:10 +01:00
Klaus Basan
b33fe9048a Ref T659, login dialog can display connected and disconnected state and also change its state 2019-09-16 22:41:09 +01:00
Klaus Basan
34cdffc9fa Ref T659, ajusted login component/dialog for poup login 2019-09-16 22:40:42 +01:00
Klaus Basan
83e8597b14 Ref T659, login dialog and connected signal/slots with main GUI 2019-09-16 22:40:38 +01:00
Klaus Basan
7cfd4b390a Ref T659, login dialog to test new login design
* mockup for login dialog
* can be used with SHIFT key
2019-09-16 22:40:36 +01:00
Klaus Basan
f87004c6c8 Ref T554, improved auto publishing handling during shutdown 2019-09-16 22:40:34 +01:00
Klaus Basan
90afa0b93b Remove push_macro, seems no longer to be needed 2019-09-16 22:40:09 +01:00
Klaus Basan
9753173c9f Ref T554, trigger auto publish dialog when shutting down 2019-09-16 22:40:08 +01:00
Klaus Basan
66f19b29be Ref T554, setting for auto publish (timestamp) 2019-09-16 22:40:07 +01:00
Klaus Basan
16e19ad6d3 Fixed typo, style 2019-09-16 22:40:07 +01:00
Klaus Basan
235508ec98 Ref T673, incognito flag/menu 2019-09-16 22:39:57 +01:00
Klaus Basan
67b9e4f560 Ref T554, auto publishing dialog in swift pilot client UI 2019-09-16 22:39:56 +01:00
Klaus Basan
ad22d8b45b Fixed "window on top"
* do not show navigator
* no longer "on top" does not mean "on bottom"
* Qt::QueuedConnection
2019-09-16 20:29:40 +01:00
Roland Rossgotterer
5f00747d19 [MacOS] Ask user for permission to access microphone
This is required for MacOS 10.14 and later. This also requires an explanation why
access is required in the apps Info.plist. Hence added custom Info.plist templates
for each app.
2019-05-13 11:21:05 +02:00
Roland Rossgotterer
a7509669f9 Refactor crashpad initialization
Crashpad handler was initialized quite late since we were waiting for settings. However the settings in crashpad are persistent itself, hence we can start it at the earliest possible time and change the upload settings independently later. The only prerequisite is to have QCoreApplication constructed in order for the application name to be available.
ref T652
2019-05-13 11:21:05 +02:00
Klaus Basan
2139fc2a5f Use definition for PTT 2019-05-13 11:20:57 +02:00
Klaus Basan
9a0f2263cc Ref T639, unify the connect buttons
* toggle connection from button bar directly -> public
* use Qt::QueuedConnection
* allow to reset values
2019-05-13 11:20:47 +02:00
Klaus Basan
e67a54f497 Ref T600, use CTRL/SHIFT for info area shortcut, not conflicting with some other shortcuts 2019-05-13 11:20:35 +02:00
Klaus Basan
24880c39fc Guard 2019-04-11 22:12:19 +01: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
Klaus Basan
66cbe1662e Ref T560, reset move position 2019-04-11 22:12:05 +01:00
Klaus Basan
dfd54e497c [qss] Stylesheet improvements as discussed in Discord for Win 1920x....
* Launcher slightly larger to avoid scrollbars
* XPDR mode in status bar a bit higher
* Cockpit COM component a bit higher
2019-04-11 22:11:58 +01:00
Klaus Basan
e463689490 Ref T573, allow different color in XPDR mode component from stylesheet
* changed signal to trigger reload of stylesheet (only way to update dynamic properties)
* made infobar left aligned (and not spacer aligned), better scaling
* adjusted qss
2019-04-11 22:11:47 +01:00
Klaus Basan
0a013fc906 Style 2019-04-11 22:11:46 +01:00
Klaus Basan
8c83020b92 Ref T567, PTT click also on key up
* added sound
* UI component
2019-04-11 22:11:45 +01:00
Klaus Basan
d8d4fdf766 Ref T565, check for audio context 2019-04-11 22:11:42 +01:00
Klaus Basan
b57003c4e8 Style, typo 2019-04-11 22:11:35 +01:00
Klaus Basan
bd1ef5dfea Use "myself" QPointer with "sGui->processEventsToRefreshGui"
Rational: during "sGui->processEventsToRefreshGui" object can be deleted
2019-04-11 22:11:32 +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
08578e202a Ref T536, use always the same overlay widget for text messages
* handle request signals
* "slot" functions (e.g. nShowOverlayInlineTextMessageCallsign) so we can later react on settings
2019-02-22 20:36:14 +00:00
Klaus Basan
2d30c1cce8 Style 2019-02-22 20:35:59 +00:00
Mat Sutcliffe
fe7a45afcf Ref T516 Update CStatusMessage call sites to use new syntax. 2019-02-22 20:35:51 +00:00