Commit Graph

92 Commits

Author SHA1 Message Date
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
Klaus Basan
bb0a96749e refs #799, adjusted swift client reg. the settings updates 2016-12-13 18:59:59 +01:00
Klaus Basan
82995ab690 refs #799, some minor adjustments 2016-12-13 18:59:49 +01:00
Klaus Basan
cdea8cff95 refs #780, fixes login/flightplan preset
* empty airline is valid
* sync with flightplan (new signal to indicate changed login values)
* better preset of own model
2016-12-06 09:33:57 +01:00
Mathew Sutcliffe
cf9b6f039c refs #777 Moved enum CApplication::SwiftApplication to CApplicationInfo::Application. 2016-12-06 09:33:47 +01:00
Klaus Basan
ccb14b4d19 refs #760, new 3D swift icons
* removed old icons
* new icons in CIcons class
* and as ico / icns (MAC)
2016-09-19 16:18:54 +02:00
Klaus Basan
aafff6cd82 Formatting this->ui to ui 2016-09-19 16:18:41 +02:00
Roland Winklmeier
3603bbabe2 Rename CApplication member function to be better readable
The combination of the method's name 'signalStartupAutomatically'
and the default argument, I completely misunderstood the purpose
of the method in case the argument was skipped.
'a.signalStartupAutomatically()' actually disabled automatic signaling.
2016-08-26 21:05:26 +01:00
Mathew Sutcliffe
6691f8776e Fixed mistake in CSwiftGuiStdApplication. 2016-07-31 23:17:49 +01:00
Klaus Basan
9fe6d7417f refs #712, display error when network interface is not available 2016-07-28 21:08:28 +02:00
Klaus Basan
0db94de97d Doxygen snippet marker 2016-07-28 21:08:11 +02:00
Klaus Basan
d782839cb8 refs #703, moved context to subdir
* ns: Context
* adjusted using classes
2016-07-14 18:49:08 +02:00
Klaus Basan
18112a0394 refs #693, integrated GUI close dialog
* utility function in CGuiApplication containing the logic (dialog needed, ..)
* closeEvent function
2016-07-01 14:38:33 +02:00
Klaus Basan
83d0234d3c refs #680, call help URL from menu
* added central functionality in CGuiApplication
* function in global setup for URL
2016-06-23 20:13:36 +02:00
Klaus Basan
7d1a5b242d Moved log subscription to front
(see https://dev.vatsim-germany.org/boards/22/topics/2871?r=2875#message-2875)
2016-06-15 00:11:31 +02:00
Mathew Sutcliffe
0246767e31 Fixed method name. 2016-06-08 23:54:13 +01:00
Klaus Basan
9606ab12db refs #649, enum to specify which swift application is running
(remark: used to check which caches will be used)
2016-06-08 03:59:05 +02:00
Roland Winklmeier
2d8f56a598 Link CBuildConfig and CVersion into static library blackconfig
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.

refs #645
2016-05-24 13:12:23 +02:00
Roland Winklmeier
45b0503896 Include Mac OS X platform in installer project
refs #615
2016-05-20 01:40:04 +02:00