Commit Graph

101 Commits

Author SHA1 Message Date
Roland Winklmeier
4aaccb44c3 Cleanup the enabled modules in all sub projects
Most modules were just enabled to add include path for dependent headers
2018-06-02 02:08:46 +02:00
Klaus Basan
f80b2293f5 Scale UI component, used in launcher 2018-05-26 21:19:01 +02:00
Klaus Basan
86d02716a2 Allow to scale GUI on high DPI screens 2018-05-25 21:35:12 +02:00
Klaus Basan
fcd08e7918 Ref T213, using about component in launcher 2018-05-25 21:35:10 +02:00
Klaus Basan
ed758133e3 UI formatting 2018-04-05 02:52:34 +02:00
Klaus Basan
464f64367e Minor mapping tool UI adjustments 2018-01-30 20:30:05 +01:00
Klaus Basan
ef25192424 Ref T220, register main widget 2018-01-14 18:47:20 +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
67f927c3f6 Ref T203, moved distribution info component to update info component
* adjusted components like launcher etc.
* deleted CDistributionInfoComponent
* CUpdateInfoComponent uses TUpdateInfo/CUpdateInfo
* UI adjustments
2017-12-21 19:48:33 +01:00
Klaus Basan
961ef9e4ed Ref T189, shortcuts still need legacy slots 2017-12-21 19:47:36 +01:00
Klaus Basan
5e3fdf499f Ref T195, launcher uses CDBusServerAddressSelector::editingFinished 2017-12-21 19:47:20 +01:00
Klaus Basan
c54bd821c0 swift launcher formatting 2017-12-21 19:47:17 +01:00
Klaus Basan
35e6dbda67 Ref T195, launcher uses DBus UI component and new application arguments functions 2017-12-21 19:45:59 +01:00
Klaus Basan
8103df18f7 Ref T195, formatting 2017-12-21 19:45:46 +01:00
Klaus Basan
a196015b73 Ref T165, using CGuiApplication::distributionInfoAvailable is redundant, the cache changed signal is enough
* distribution info avaialble signal no longer needs flag
* some functions can be removed
2017-09-29 23:26:18 +02:00
Klaus Basan
450028d2d2 Formatting, this->m_XX to m_XX 2017-09-24 20:29:23 +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
eab22e86b0 Based on slack discussion, pass arguments from launcher to started application
https://swift-project.slack.com/archives/C04J6J76N/p1504449711000040

* utility functions in CApplication and CNetworkVatlib for cmd args
* a.addVatlibOptions() in launcher
* function CSwiftLauncher::startDetached to unify startup and simplify debugging
2017-09-24 19:54:15 +01:00
Klaus Basan
0bbad2ff83 Minor tweaks (found during T125)
* formatting/typos
* authentication: private slots => private
2017-09-24 19:53:10 +01:00
Klaus Basan
e89d7d7b15 Log status when news is received 2017-09-24 19:52:25 +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
caf358401f Ref T103, executable file path moved to CDirectoryUtils::executableFilePath 2017-09-24 19:49:56 +01:00
Klaus Basan
a9198e4f13 Ref T103, Unified naming of directory functions
* some started with get/some not (removed get, get is normally used for our getters)
* some used swift, getSwiftXZY dir (removed swift)
* used full word "directory", not dir/directory mixed
2017-09-24 19:49:53 +01:00
Klaus Basan
debd9c802f Ref T103, moved directory functions from CBuildConfig to CDirectoryUtils
getApplicationDir renamed to getBinDir() as it works different on MacOs
see https://dev.swift-project.org/w/dev/swiftpc/dirstructure/
2017-09-24 19:49:51 +01: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
Klaus Basan
74e0bf397f Ref T42, application classes
* GUI classes allow retry
* longer timeouts
* accept unknow accessibility (QAM)
* QAM now as pointer, which would allow to replace QAM

When QAM becomes disconnected, then connect again it is in unknown state
2017-05-05 23:07:42 +01:00
Klaus Basan
7f0a971b4a Ref T41, adjusted info component to be used with dialog 2017-05-05 22:40:51 +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
640ad99520 Allow to pass timeout to obtainNextWorkingUrl
Sometimes timeout for news in launcher, needs to be investigated
2017-05-05 22:39:56 +01:00
Klaus Basan
e13f7e3e68 Log messages when URL for news/help is missing
Found during Ref T32
2017-04-21 03:14:19 +02:00
Klaus Basan
ec025d63a7 refs #935, detect changed stylesheet in launcher 2017-04-19 19:31:19 +01:00
Roland Winklmeier
3d496c6df8 Fix launcher executable paths for Mac OS 2017-04-19 19:31:08 +01:00
Klaus Basan
83a80bf739 refs #921, moved distribution info UI into an own component 2017-04-18 00:06:40 +01:00
Klaus Basan
6825524025 Improved status message filtering
* avoid re-init of widget if already initialized
* allow icons instead of text for severity radio buttons
* changing severity filter directly triggers new filtering
* use icon for new button
* init this->showFilterBar() as default (otherwise not functional)
* widths for filter bar buttons
2017-04-18 00:04:59 +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
221e4c2b9c refs #886, start config wizard when -i is passed to launcher
made -i an optional flag
2017-04-17 23:58:55 +01:00
Klaus Basan
797e5dd576 Renamed function to processNames as part of review
https://dev.vatsim-germany.org/issues/894#note-3
2017-04-17 23:57:59 +01:00
Klaus Basan
2005e1881b refs #887, do not start wizard when other applications are running
(potential problems with writing settings)
Utility functions in info list
2017-04-17 23:56:57 +01:00
Klaus Basan
f4941b2189 refs #886, configuration button in launcher 2017-03-01 20:51:33 +01:00
Roland Winklmeier
98b2061d3d Remove redundant checks in CNetworkUtils::getKnownLocalIpV4Addresses()
refs #869
2017-02-24 15:22:14 +00:00
Klaus Basan
060a10dfb6 Replaced QLatin1Literal by QLatin1String
refs #883
2017-02-24 15:22:09 +00:00
Klaus Basan
3b3cdf4566 refs #883, launcher improvements
* check if core is running before starting pilot client DBus UI
* avoid starting pilot client when already running
* save UI state (cache)
* made lauchner BlackMisc::CIdentifiable
2017-02-24 15:21:58 +00:00
Klaus Basan
4a31fa1cba refs #883, improved layout of launcher`s "new version" section
* group boxes
* header bar if new version is avilable
2017-02-24 15:21:50 +00:00
Klaus Basan
c5b4b01a90 refs #883, display of news/about
* use QTextBrowser, external links will be opened in browser
* display about in credits tabs
* added shortcuts for tabs

Remark: Gives us a first (not perfect) version of news/about in launcher
2017-02-24 15:21:49 +00:00
Klaus Basan
24a9b332b0 refs #883, application class extended
* allow to register application as running (needed for launcher)
* getExecutableForApplication
* swift launcher can be started
2017-02-24 15:21:44 +00:00
Klaus Basan
7bc53ada3e refs #883, fixes and formatting
* QProcess::startDetached is static, removed startNewProcess
* QStringBuilder
2017-02-24 15:21:42 +00:00
Klaus Basan
83dbd3fcb6 refs #883, display core mode selection first
* show news only if new
* removed duplicate call of this->ps_loadedUpdateInfo (avoid redundant loads)
2017-02-24 15:21:37 +00:00
Klaus Basan
9beb6c79e1 refs #875, renamed to getKnownLocalIpV4Addresses() 2017-02-24 15:21:04 +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