Commit Graph

67 Commits

Author SHA1 Message Date
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
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
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
52cd84dd99 refs #787, display shared files timestamp in UI 2016-12-06 09:46:19 +01:00
Klaus Basan
a1bea9703d refs #777, using feature in launcher
plus bug fix in application
2016-12-06 09:34:44 +01:00
Klaus Basan
aafff6cd82 Formatting this->ui to ui 2016-09-19 16:18:41 +02:00
Klaus Basan
435f345cc6 refs #709, launcher GUI finetuning
* don`t always init caches, only when needed
* init caches when component is 1st displayed
* smaller LEDs
2016-07-28 21:08:21 +02:00
Klaus Basan
80ab55c4be refs #709, GUI component (load info) added to launcher
(plus enabled webservices for launcher)
2016-07-28 21:08:17 +02:00
Klaus Basan
ebcd738a4b refs #709, fixed initial version displayed
(was not called when data were not updated)
2016-07-28 21:08:12 +02:00
Mathew Sutcliffe
9bef6854ca Caches: rename "get" to "getThreadLocal" and rename "getCopy" to get. 2016-06-08 18:21:01 +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
014c218afa Fix swiftlauncher executable names for Linux platforms
refs #615
2016-05-20 01:41:21 +02:00
Klaus Basan
d0daad7d34 refs #642, fixed setup loading, in same step refs #636 clear cache
* changed signals in setup reader
* explicit mode is default
* detailed information what is loaded
* new log pattern
* allow to add message list to log component
* allow to clear cache by cmd line arg
* consolidated cmd names
2016-05-05 20:49:13 +02:00
Roland Winklmeier
d379f14133 Introduce build config template buildconfig.h.in
refs #625
2016-03-31 17:12:01 +02:00
Klaus Basan
87a0c75f43 refs #621, use getXX for setup members, no idea why I have not used our standard 2016-03-30 13:41:44 +02:00
Klaus Basan
18a907086d refs #485, moved stylesheet utility into CGuiApplication 2016-03-18 01:10:32 +00:00