Commit Graph

220 Commits

Author SHA1 Message Date
Klaus Basan
8eaa4f7f15 Qt 5.14 hi-res adjustments, as HI-DPI screen handling has changed
* see // https://lists.qt-project.org/pipermail/development/2019-September/037434.html
* qss adjustemnts
* larger default sizes for core/launcher/client for 1920x1080 screens
2020-01-07 19:57:28 +00:00
Mat Sutcliffe
bb65506d22 Fix version number embedding in Windows EXE and DLL files
Remove our Windows resource files (*.rc)
and let qmake generate them instead.
2020-01-07 19:57:27 +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
076813e866 [PTT] Make sure the "other" PTT keys light the LEDs and play notification
Remark: Eventually it would be best to really hook up with audio to
display the PTT key really consumed (instead directly consuming the action)
2020-01-07 19:46:17 +00:00
Klaus Basan
5bed714e75 [UI] Enable version update check in pilot client 2020-01-07 19:46:16 +00:00
Klaus Basan
b1315593f8 [UI] Avoid too many ("deadlocking") modal dialogs 2020-01-07 19:46:16 +00:00
Klaus Basan
9d218f39f8 [UI] Show VATSIM AFV map until our own map is ready 2020-01-07 19:46:16 +00:00
Klaus Basan
5150fb4e86 [AFV] Ref T739, cmd.line args for "no audio" 2020-01-07 19:05:42 +00:00
Klaus Basan
0fa9bcb520 Doxygen, style 2020-01-07 19:05:42 +00:00
Klaus Basan
148824429c Doxygen, style 2019-10-23 00:38:26 +02:00
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