Commit Graph

123 Commits

Author SHA1 Message Date
Klaus Basan
9ddb55e79f Ref T731, Ref T739, adjusted launcher to only support "STANDALONE" and "DISTRIBUTED"
* the audio on core/GUI modes are no longer valid
* aligned the core mode enum
2019-10-11 19:00:42 +01:00
Klaus Basan
cfead08b13 Ref T739, use correct (new) core modes / removed old modes 2019-10-11 19:00:37 +01:00
Roland Rossgotterer
acf540be34 Long live FsdClient 2019-09-18 13:49:37 +02:00
Klaus Basan
a5663914c5 Launcher tools, display FSX/P3D config dirs 2019-09-16 22:40:31 +01:00
Klaus Basan
7c2a3e4142 Launcher Tools Page for utilities which may be helpful
* merged about/news
* tools page
2019-09-16 22:40:24 +01:00
Roland Rossgotterer
5f00747d19 [MacOS] Ask user for permission to access microphone
This is required for MacOS 10.14 and later. This also requires an explanation why
access is required in the apps Info.plist. Hence added custom Info.plist templates
for each app.
2019-05-13 11:21:05 +02:00
Klaus Basan
ce534d2536 Allow to reset window size from launcher 2019-05-13 11:20:49 +02:00
Klaus Basan
803e68edd3 Do not show core button in standalone 2019-05-13 11:20:38 +02:00
Klaus Basan
5c870a8404 Center wizard page and use "classic style" 2019-04-11 22:12:17 +01:00
Klaus Basan
66cbe1662e Ref T560, reset move position 2019-04-11 22:12:05 +01:00
Klaus Basan
a5835f963c Loading defaults from launcher setup did not work anymore.
For some strange reason the radio button checking did not work. Used a new concept.
2019-04-11 22:12:01 +01:00
Klaus Basan
dfd54e497c [qss] Stylesheet improvements as discussed in Discord for Win 1920x....
* Launcher slightly larger to avoid scrollbars
* XPDR mode in status bar a bit higher
* Cockpit COM component a bit higher
2019-04-11 22:11:58 +01:00
Klaus Basan
1dd6a0852d Fixed update info
* save before displaying "update info" as it relies on saved channel
* signal to indicate new version, using that for launcher header
2019-04-11 22:11:39 +01:00
Klaus Basan
b9c233802f Ref T419, use version from IDatastoreObject in CArtifact
* add QVersion
* remove version parts from CArtifact
2019-04-11 22:11:37 +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
a32eadee6a Display cmd. arguments if SHIFT is pressed 2019-02-22 20:35:43 +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
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Klaus Basan
56f2b48c47 Launcher style/minor UI adjustments 2018-10-07 16:17:27 +02:00
Klaus Basan
71847f9316 Shutdown check 2018-08-17 13:25:42 +02:00
Klaus Basan
ac128eb786 Avoid crash when refreshing style sheet. For some reasons it helps to set and empty stylesheet upfront 2018-08-09 01:39:26 +02:00
Klaus Basan
4ca6bb11aa Style change signals used Qt::QueuedConnection 2018-07-31 01:43:38 +02:00
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