Commit Graph

110 Commits

Author SHA1 Message Date
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
Klaus Basan
eabb576b67 fixed SwiftGuiStd::setContextAvailability
(check against isEmptyObject, not isUsingImplementingObject)
2017-04-17 23:58:51 +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
Klaus Basan
aa14c564b0 Fixed SwiftGuiStd::setContextAvailability
(found during testing #895)
2017-04-17 23:58:06 +01:00
Klaus Basan
188669501b Formatting 2017-04-17 23:57:46 +01:00
Klaus Basan
05abf7e359 Minor UI adjustments 2017-04-17 23:57:09 +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
abbcd18d82 refs #883, shortcuts for dock widgets 2017-02-24 15:22:00 +00:00
Klaus Basan
455d9c7b7d refs #883, added menus for core and assigned shortcuts to menu items 2017-02-24 15:21:40 +00:00
Klaus Basan
a34be02e07 refs #617, CActionItem supports icon
* standard paths for applications
* support for Qt::DecorationRole
* QMap<QString, QPixmap> m_availableActions
* Constructor for icon only
* only leafs support actions
2017-02-24 15:20:54 +00:00
Klaus Basan
1889270011 refs #617, init hotkey lists with pilot client menus 2017-02-24 15:20:42 +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
Klaus Basan
ee27ca4d44 Fixed startup in launcher 2017-01-10 23:47:12 +00:00
Klaus Basan
2821cd5213 Minor improvements at startup
Found due to expiry date
2017-01-10 23:46:26 +00:00
Klaus Basan
0fc34be74f refs #846, use CStatusMessageList instead bool
More detailed error messages
2017-01-10 23:46:02 +00:00
Mathew Sutcliffe
6c36cd202b refs #837 ICoordinateGeodetic::geodeticHeight is a CAltitude. 2017-01-10 23:44:34 +00:00
Klaus Basan
fc3ac8b323 refs #787, MS review items + discussion on slack
https://dev.vatsim-germany.org/issues/787#note-4
2016-12-13 19:01:39 +01:00
Klaus Basan
d057158e1d Improvements of swift GUI - pilot client
* support for headers, allow to load files when caches are outdated (refs #787)
* display error when no model set is initialized
* removed some unused members
2016-12-13 19:01:35 +01:00
Mathew Sutcliffe
096e1e9a81 refs #804 Fixed Clang static analysis warnings. 2016-12-13 19:00:49 +01:00
Klaus Basan
281bae1e6e GUI fixes
* added missing support for weather component in main info area
* closing the navigator needs to display main window (otherwise no windows is visible)
2016-12-13 19:00:06 +01:00