Commit Graph

76 Commits

Author SHA1 Message Date
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
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
83e8597b14 Ref T659, login dialog and connected signal/slots with main GUI 2019-09-16 22:40:38 +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
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
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
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
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
583a5bfb28 Ref T515, mapping component improvements
* allow to re-display validation dialog
* highlight disabled models
2019-02-22 20:35:40 +00:00
Klaus Basan
6acde8799f Ref T515, display onValidatedModelSet results in UI 2019-02-22 20:35:39 +00:00
Klaus Basan
85cf339e04 Ref T515, some minor adjustments
* use validation status messages for prerequisites
* SwiftGuiStd::onRequestedConsoleMessage
* displayInOverlayWindow for HTML messages
2019-02-22 20:35:37 +00:00
Klaus Basan
fee2f8c5a0 Ref T506, context menu for user view -> COM text messages 2019-02-22 20:35:27 +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
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
2bf9ff6d8b Ref T447, when "on top" is selected trigger follow up actions 2018-12-11 10:53:32 +01:00
Klaus Basan
8003a50ae5 Ref T420, trigger logoff countdown when simulator is no longer vital 2018-11-16 02:49:56 +01: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
6897abe912 Style, singleShot guard, Doxygen 2018-08-09 01:38:52 +02:00
Klaus Basan
92deb19572 Also allow to use SHIFT + button for models, aircraft
* added setTab functions
* shift can be used to reset to first tab
2018-08-09 01:25:51 +02:00
Klaus Basan
bc39695ecc GUI crashes if stylesheet changes, this provides a fix 2018-08-01 03:06:17 +02:00
Klaus Basan
4ca6bb11aa Style change signals used Qt::QueuedConnection 2018-07-31 01:43:38 +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
8df74ce0e6 Ref T259, Ref T243 split mapping info area, new interpolation info area
* new interpolation info area
* added interpolation and parts history to that area
* adjusted keypad and main swift GUI
2018-04-13 23:36:55 +02:00
Klaus Basan
6192aeb77c Ref T131, use context prerequisites testing and XSwiftBus copy in UI 2018-04-05 02:53:45 +02:00
Klaus Basan
3f086e1d52 Allow to display position logs also in the console window
* added requestUiConsoleMessage
* utility functions
2018-04-05 02:52:38 +02:00
Klaus Basan
632e0207ce Ref T224, improved check of DB data availability in swift GUI
* some renamings
* check for empty caches as well
* using fixed timestamp checks
* display info about loading objects
2018-01-15 22:50:35 +01:00
Klaus Basan
b74652c94a Ref T220, renamed some main window / widget functions
Make clearer if dealing with a window or widget
2018-01-14 18:47:03 +01:00
Klaus Basan
3c91164020 Timer member instead of pointer 2018-01-14 18:46:54 +01: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
Klaus Basan
cc35619bbe Ref T192, onConnectionTerminated was never fired and hence removed 2017-12-21 19:46:57 +01:00
Klaus Basan
9375a27c92 Ref T192, Q_ASSERT (just in case) 2017-12-21 19:46:39 +01:00
Klaus Basan
e5d07128ae Ref T168, UI updates made Qt::QueuedConnection 2017-10-10 00:27:25 +01:00
Klaus Basan
27ebf3e43d Ref T168, relay kicked message thru context to UI
* new signal in context, connected with VATLIB
* display in UI
2017-10-10 00:27:23 +01:00
Klaus Basan
7a87f986e2 Ref T167, renaming LocalInDBusServer and verifyModelSet 2017-10-10 00:27:17 +01:00
Klaus Basan
fb5b94e29f Follow up of T167, "private slots" -> "private" 2017-10-10 00:27:10 +01:00
Klaus Basan
9748b5a442 Formatting, comments, Doxygen, minor tweaks 2017-10-10 00:27:03 +01:00
Klaus Basan
48f65ee080 Ref T25, menu starting swift map 2017-09-24 19:50:33 +01:00
Klaus Basan
cbe3122c40 Ref T24, use shared info objects, not header timestamps 2017-04-20 20:41:47 +02:00
Mathew Sutcliffe
2134b4e874 refs #937 Resolved clazy warnings: wrong usage of emit keyword. 2017-04-19 19:31:48 +01:00
Klaus Basan
6863bf2937 refs #927, linked button with component 2017-04-18 00:07:22 +01:00
Klaus Basan
83383f438c Improved kill button handling, now it can be set even if frame is not yet initialized
* default is disabled
* only pilot client needs to enable it
2017-04-17 23:58:50 +01:00
Roland Winklmeier
64a47da67f Use CApplication::isNetworkAccessible() wherever possible
Up to now we had a mixture of different methods to detect whether
network is connected, accessible or both. Even if they implied a
different meaning, they were all doing the same and internally
referred to almost the same code. Almost, since our implementation
of CNetworkUtils::hasConnectedInterface refers to code from Qt 4.4.
However, all of them returned a boolean status whether a network
interface is generally up or not. Instead of maintaining our own
version, use Qt functions.

refs #869
2017-02-24 15:22:11 +00:00
Klaus Basan
cbbab3fa19 Minor GUI adjustments 2017-02-24 00:19:14 +00:00
Klaus Basan
5f2955916c refs #859, improved sending of ICAO code/callsign updates
* use digest signal
* restructured updateOwnAircaftIcaoValuesFromGuiValues / updateOwnAircraftCallsignAndPilotFromGuiValues
* also send change signal when login UI becomes invisible
2017-02-24 00:09:06 +00:00