Commit Graph

130 Commits

Author SHA1 Message Date
Klaus Basan
9192d13a6c Dialog (no longer overlay frame) for new DB data
* allows to select the entities
* allows to consolidate
2018-05-04 23:03:21 +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
221be08c42 Ref T257, add menus sp we can attach/detach simulator window 2018-02-22 01:26:48 +01:00
Klaus Basan
5aad426ced Ref T239, removed "QTimer m_xxx { this };" pattern
* not in worker classes as parent might have a relevance there
* in UI classes it is useless
2018-02-02 21:26:50 +01:00
Klaus Basan
cec94e2819 Make sure SwiftGuiStd::reloadOwnAircraft is not called during shutdown 2018-01-30 20:31:19 +01:00
Klaus Basan
fff9585c5d Minor UI adjustments 2018-01-17 03:33:35 +01: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
8bb47a555c Formatting comments and "private slots" -> "private" 2018-01-15 22:50:26 +01:00
Roland Winklmeier
de4fe44156 Fix sending the correct pressure altitude for a pilot position
* Before this commit, only the true altitude was known for an aircraft situation. The pressure altitude was not available anywhere yet.
* This caused a wrong altitude in radar clients.
* We fix this reading the pressure altitude from the simulators and set it in the own aircraft situation.
* MS Flight Simulators have the pressure altitude in the APIs available.
* For X-Plane and emulated simulator, we need to calculate it from the pressure at sea level.
* Finally, we use the new available pressure altitude to send it to the FSD server.

Maniphest Tasks: Ref T223
2018-01-15 22:49:08 +01:00
Klaus Basan
7dd77b8ca3 Ref T220, use improved version of screen geometry detection
* use cmd.line argument to skip restoring if needed
* close splash screen as last
* log metrics info
2018-01-14 18:47:26 +01:00
Klaus Basan
8e130aa895 Ref T220, cmd.line option for window resizing 2018-01-14 18:47:22 +01:00
Klaus Basan
ef25192424 Ref T220, register main widget 2018-01-14 18:47:20 +01:00
Klaus Basan
e1d044521e Ref T220, save/store main window geometry/state 2018-01-14 18:47:08 +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
4733d91b4e Ref T220, UI min size adjustment as requested
https://swift-project.slack.com/archives/G7GD2UP9C/p1515417903000311
2018-01-14 18:46:57 +01:00
Klaus Basan
3c91164020 Timer member instead of pointer 2018-01-14 18:46:54 +01:00
Klaus Basan
c23fe86f7f Ref T219, changed or removed some log category functions
* removed unused
* used standard "static const CLogCategoryList &getLogCategories()" patten
2018-01-14 18:46:04 +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
c3f3a30b35 Ref T192, parser finds illegal cmd argument combinations 2017-12-21 19:46:48 +01:00
Klaus Basan
2c2e850668 Ref T192, improved display/log of DBus connection
* log level
* more detailed messages
2017-12-21 19:46:42 +01:00
Klaus Basan
9375a27c92 Ref T192, Q_ASSERT (just in case) 2017-12-21 19:46:39 +01:00
Klaus Basan
63fbeecc00 Ref T192, formatting and minor tweaks 2017-12-21 19:46:33 +01:00
Klaus Basan
d01893a18a Ref T192, formatting 2017-12-21 19:45:32 +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
2aa5ed431f Ref T167, utility functions in CCoreFacadeConfig and better check in SwiftGuiStd::displayDBusReconnectDialog 2017-10-10 00:27:21 +01:00
Klaus Basan
7a87f986e2 Ref T167, renaming LocalInDBusServer and verifyModelSet 2017-10-10 00:27:17 +01:00
Klaus Basan
988a4791ab Ref T167, improved tryToReconnectWithDBus
* use exit to abort (close might fail)
* core facade init() now private
* CCoreFacade::getDBusAddress
* display DBusAddress
2017-10-10 00:27:14 +01:00
Klaus Basan
0179e6e757 Ref T167, toggle DBus led if core is not available 2017-10-10 00:27:13 +01:00
Klaus Basan
fb5b94e29f Follow up of T167, "private slots" -> "private" 2017-10-10 00:27:10 +01:00
Klaus Basan
8b1ef20146 Ref T167, in swift GUI
* removed isContextNetworkAvailableCheck / isContextAudioAvailableCheck
* replaced those by displayDBusReconnectDialog
* using a counter to ignore some errors before showing re-connect dialog
2017-10-10 00:27:07 +01:00
Klaus Basan
9748b5a442 Formatting, comments, Doxygen, minor tweaks 2017-10-10 00:27:03 +01:00
Klaus Basan
d2b364c291 Unified formatting this->m_XX -> m_XX 2017-09-24 20:28:53 +01:00
Klaus Basan
6c3a0243ab Follow up of Ref T154, overlay messages can be appended and cleared
* changed signatures
* aligned naming to showOverlayMessage, ...
2017-09-24 20:28:52 +01:00
Klaus Basan
fedcd76a05 Ref T156, allow to interactively resolve setup issues
* interactivelySynchronizeSetup
* utility function parseAndSynchronizeSetup, explicit loading of setup
* removed m_startSetupReader;
2017-09-24 20:28:42 +01:00
Klaus Basan
29e1d54e05 Ref T111, some fixes in the vicinity of plugin / drivers
* mostly style / doxygen / formatting
* assert/verify
2017-09-24 19:51:02 +01:00
Klaus Basan
48f65ee080 Ref T25, menu starting swift map 2017-09-24 19:50:33 +01:00
Klaus Basan
07b096b398 Ref T103, verify important files/directories
* utility function in CDirectoryUtils
* deployed in main/application
2017-09-24 19:49:58 +01:00
Klaus Basan
efd82f4391 Minor UI improvements 2017-06-27 20:50:27 +02:00
Roland Winklmeier
cf2c0d0f35 Use qt.conf to override plugin path on Mac OS
Summary:
QCoreApplication::addLibraryPath is called before QCoreApplication
was constructed and this caused the returned string to be different
depending from which working directory it was called and not always
the intended binary path.
Using qt.conf has a fixed prefix relative to the binary path
inside the application bundle and therefore is easier to be used
with a relative path.

Reviewers: kbasan, msutcliffe

Reviewed By: msutcliffe

Differential Revision: https://dev.swift-project.org/D18
2017-05-05 23:08:40 +01:00
Roland Winklmeier
a3bc5c2936 Add <swiftInstall>/bin to library lookup paths
Summary:
This change adds <swiftInstall>/bin to the library lookup paths.
Without, QFactoryLoader is not able to find the Qt plugins
on Mac OS since on this platform the hard coded path defaults to
'foo.app/Contents/MacOS' for app bundles.
This change also adds the installation of QtPrintSupport framework which
is a dependency from cocoa platform plugin.

ref T48

Reviewers: kbasan, msutcliffe

Reviewed By: kbasan

Subscribers: jenkins

Maniphest Tasks: T48

Differential Revision: https://dev.swift-project.org/D15
2017-05-05 22:40:43 +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
be24d069fe refs #935, resizing for message frame
also avoid showing overlay message too soon (ie when not full initialized)
2017-04-19 19:31:03 +01:00
Klaus Basan
a22631777d Check on reader to avoid redundant error messages 2017-04-18 00:07:24 +01:00
Klaus Basan
6863bf2937 refs #927, linked button with component 2017-04-18 00:07:22 +01:00
Klaus Basan
142bc82e03 refs #912, application description as functions
(can be reused in identifier)
2017-04-18 00:04:43 +01:00