Commit Graph

91 Commits

Author SHA1 Message Date
Klaus Basan
8f4c4a249c [5.14.1] UI adjustments
* OS native check of screen resolution (Qt free, experimental)
* changed rounding
* use string for scale factor so we can use fractions as 2/3
* utility functions to clean numbers, parse fractions

It looks like:

* my WIN10 scaling is 250%
* obviously swift rounds that to 3 (device ratio)
* now using FLOOR policy down-rounding to 2
* rational: scaling up (scale factor) is better as down-scaling as the factors would be clearer
* 2->3 1.5, but 3->2 means 0.66667
2020-06-12 18:42:30 +01:00
Klaus Basan
8c5fe89f6c [Windows registry] Allow to clean all swift registry entries
* for uninstallation
* few users reported a hanging (white screen) swift issue, solved by "cleaning the registry"

see https://discordapp.com/channels/539048679160676382/539925070550794240/664557031784448010
2020-01-09 20:25:59 +01:00
Klaus Basan
8dd0a06c81 [AFV], Ref T731, Ref T739 remember audio settings in launcher 2020-01-07 19:57:22 +00:00
Klaus Basan
0df63f4b6b [AFV] Ref T739, audio can be disabled from launcher 2020-01-07 19:05:43 +00:00
Klaus Basan
94104770bd [Usability] Launcher in installer mode checks installation
Do not launch wizard if we just update swift (bug fixes)
2019-10-24 01:24:38 +02:00
Klaus Basan
57909d97dc [AFV] Ref T730, request mic.access on MacOS for launcher
* needed to start the mic.access depending applications GUI/core
* see https://discordapp.com/channels/539048679160676382/567983892791951374/634806582013591603
2019-10-19 00:03:09 +02:00
Klaus Basan
40eb531a3a [AFV], Ref T731 allow to open the drashdump directory from menu/launcher tools 2019-10-18 16:36:15 +02:00
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
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
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
Klaus Basan
f80b2293f5 Scale UI component, used in launcher 2018-05-26 21:19:01 +02:00
Klaus Basan
fcd08e7918 Ref T213, using about component in launcher 2018-05-25 21:35:10 +02: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
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
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
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
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
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
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