Commit Graph

102 Commits

Author SHA1 Message Date
Lars Toenning
545fba77c3 refactor: Remove kill button 2024-11-30 16:29:15 +01:00
Lars Toenning
b69b928b06 refactor(ui): Remove rendering setup button 2024-11-22 10:01:12 +01:00
Lars Toenning
1a0b2a8c5f refactor: clang format line length 2024-11-17 09:25:46 +01:00
Lars Toenning
97eed9562a refactor: clang-format 2024-11-16 21:40:55 +01:00
Lars Toenning
6d1812b164 refactor: Rename blackgui to swift::gui 2024-11-11 15:11:40 +01:00
Lars Toenning
3a2447770f refactor: Rename blackcore to swift::core 2024-11-11 15:11:39 +01:00
Lars Toenning
9142a3649b refactor: Rename blackmisc to swift::misc 2024-11-11 15:11:39 +01:00
Lars Toenning
5982296856 refactor: Rename BlackSound to swift::sound 2024-11-11 14:49:01 +01:00
Lars Toenning
0db0c16668 refactor: Rename BlackConfig to swift::config 2024-11-11 13:02:35 +01:00
Lars Toenning
c9ef304ec9 refactor: Remove build-in console
The console feature was not documented very well and was only used for a
few messages.
2024-10-06 19:15:51 +02:00
Lars Toenning
0599241929 refactor: Remove log messages from status bar
With the new warn/error button, the user already is informed if
something important is logged. By only showing nearly all log messages
in the status bar, messages can be missed easily.
Fixes also an issue where the status bar was accessed before it was
initialized (crash with assert). (Fixes #299).
2024-10-06 12:57:13 +02:00
Lars Toenning
e5916b65a9 feat: Add warn/error log buttons
Add buttons to highlight that error or warning messages were logged.

Fixes #106
2024-10-06 12:57:13 +02:00
Lars Toenning
7337e89f0c refactor: Remove old code 2024-10-06 11:38:00 +02:00
Lars Toenning
99de8009be refactor: Emit CApplication::startUpComplete on starting event loop 2024-02-18 22:16:54 +01:00
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
Lars Toenning
963c4ec495 Remove link to web map
swift web map is not running anymore
2022-06-20 23:43:45 +02:00
Mat Sutcliffe
63e8de8f00 Issue #77 getLogCategories returns a simple QStringList instead of our own class 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
86dd91a064 Issue #15 [GUI] Use CLogHistoryReplica in CLogComponent and swift applications 2020-08-01 19:48:36 +01:00
Klaus Basan
bba07ef4c4 [AFV] Signal/handling for authentication failures
* authentication issues in AFV were silently handled
* and there was no re-try, which could mean an initial glitch COULD cause AFV not working properly
* NOW handling in AFV client and context
* also reset connection data so for a new session no old authentication token or check time is used
* check for "invalid" QDateTime(s)
2020-06-12 18:42:54 +01:00
Klaus Basan
e8786f9794 Some CDockWidget improvements
* save original dock areas
* init dw_InfoBarStatus as it is not part of an info area (which does that)
2020-06-12 18:42:41 +01:00
Klaus Basan
8f4c4a249c [5.14.1] UI adjustments
* OS native check of screen resolution (Qt free, experimental)
* changed rounding
* use string for scale factor so we can use fractions as 2/3
* utility functions to clean numbers, parse fractions

It looks like:

* my WIN10 scaling is 250%
* obviously swift rounds that to 3 (device ratio)
* now using FLOOR policy down-rounding to 2
* rational: scaling up (scale factor) is better as down-scaling as the factors would be clearer
* 2->3 1.5, but 3->2 means 0.66667
2020-06-12 18:42:30 +01:00
Klaus Basan
1266ca53ce [experimental, audio] try to avoid taskbar MIC flickering
* sometimes the MIC icon in the windows task bar is flickering (on/off)
* this workaround tries to avoid this
2020-06-12 18:42:25 +01: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
5bed714e75 [UI] Enable version update check in pilot client 2020-01-07 19:46:16 +00:00
Klaus Basan
148824429c Doxygen, style 2019-10-23 00:38:26 +02: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
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