Commit Graph

108 Commits

Author SHA1 Message Date
Klaus Basan
bd1ef5dfea Use "myself" QPointer with "sGui->processEventsToRefreshGui"
Rational: during "sGui->processEventsToRefreshGui" object can be deleted
2019-04-11 22:11:32 +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
bbaa9577b8 Fixed warnings/improved displayInOverlay handing 2019-02-22 20:35:42 +00:00
Klaus Basan
400a8fc2a8 Splash screen messages for web data services 2019-02-22 20:35:01 +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
Klaus Basan
e7a807efdf Allow text messages on the splash screen, currently used with setup reader 2019-02-22 20:24:00 +00:00
Mat Sutcliffe
d6b5dca6b2 Return a default-constructed QString instead of implicitly converting an empty string literal. 2019-02-22 20:23:49 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +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
Mat Sutcliffe
8979b5257e Fixed clazy warnings: returning void expression. 2019-02-22 20:23:34 +00:00
Klaus Basan
08495a7854 Ref T447, utility function to set on top flag
Also a signal when "always on top" was triggered
2018-12-11 09:00:15 +01:00
Klaus Basan
6ebb2ee502 Ref T447, toggleStayOnTop for CGuiApplication 2018-12-10 03:41:16 +01:00
Klaus Basan
42af510342 Check for minimum mapping version
* check functions in gui application/application
* check for instance mapping wizard
* check on mapping tool's stashing component
2018-12-05 04:03:59 +01:00
Klaus Basan
0b2d3c3f05 Utility function for screen geometry 2018-11-22 19:54:51 +01:00
Klaus Basan
c52101709a Ref T408, function to append extra info to title 2018-11-04 17:42:44 +01:00
Klaus Basan
1fbe914cdc Ref T367, Ref T400 global setup loading dialog adjustments
* little delay before retry is triggered
* check for sGui
2018-11-04 17:42:41 +01:00
Klaus Basan
ffc903de34 Ref T367, Ref T400 style 2018-11-04 17:42:41 +01:00
Klaus Basan
400ca612e2 Reset windows size by pressing Shift+Alt 2018-10-05 17:39:57 +02:00
Klaus Basan
ff2f653aae Style 2018-09-23 20:12:27 +02:00
Klaus Basan
c0ea2d4c14 Style: double instead of qreal 2018-08-16 14:33:55 +02:00
Klaus Basan
755455e8a4 Style, in CGuiApplication sGui can be used as guard (no QPointer needed) 2018-08-16 14:33:54 +02:00
Klaus Basan
0327776edd Ref T295, based on bug report of RP (no WIFI detected) creating a network report
* network report when starting swift
* also ignore inactive configs when checking for "the bearer bug"

references:
https://stackoverflow.com/questions/51824242/disable-qt-bearer-management-at-runtime
https://swift-project.slack.com/archives/G7GD2UP9C/p1534181224000115
https://swift-project.slack.com/archives/G96QTUBEG/p1534162173000320
2018-08-16 14:33:52 +02:00
Klaus Basan
34842080da Ref T304, use exception free JSON functions to copy settings 2018-08-13 23:52:40 +02:00
Klaus Basan
4ca6bb11aa Style change signals used Qt::QueuedConnection 2018-07-31 01:43:38 +02:00
Klaus Basan
1b8e79f77b Improved context sensitive help
- create utilty function CGuiApplication::triggerShowHelp
- this function also uses "QWhatsThis::leaveWhatsThisMode" which solves the problem that the help was not properly called a 2nd time
- adjusted using classes
2018-07-13 18:12:23 +02:00
Klaus Basan
40582fcf59 Some smaller fixes in prephase of T285 2018-06-27 12:49:15 +02:00
Klaus Basan
86d02716a2 Allow to scale GUI on high DPI screens 2018-05-25 21:35:12 +02:00
Klaus Basan
7965f67455 Ref T264, better display of other installed swift versions
* improved CApplicationInfo, added property support
* renamed functions
2018-05-22 13:20:13 +02:00
Klaus Basan
35d78b641a Fix clang warnings as discussed here: https://swift-project.slack.com/archives/G7GD2UP9C/p1526463295000266
Reported in CLANG test build here: https://build.swift-project.org/job/macos_test_job/4/warnings10Result/
2018-05-22 13:20:02 +02:00
Klaus Basan
2dc2d94b53 Ref T264, minor screen size adjustments 2018-05-12 21:40:15 +02:00
Klaus Basan
d6fd53287f Improved graceful shutdown, added "m_shutdownInProgress"
* no assert when wait is called in same thread, just ignore wait
* quitAndWait readers, also works if not already noved in new thread (see above)
2018-04-13 23:36:49 +02:00
Klaus Basan
67d3621dfe Ref T131, added missing signature for messages 2018-04-05 02:53:47 +02:00
Klaus Basan
9781f106ad Minor UI fix (renaming) 2018-01-30 23:34:08 +01:00
Klaus Basan
7809734d36 Allows to use a scale factor on high DPI screens 2018-01-30 20:34:43 +01:00
Klaus Basan
d5c9a29618 Check the min. window sizes
* on smaller screens makes sure the min.sizes are not exceeded
* normally not changing min.sizes
2018-01-30 20:30:08 +01:00
Klaus Basan
8273a9881f Ref T228, when using dialog, the dialog class will handle all saving.
Therefor "this->saveSettingsOnShutdown(false)"
2018-01-30 20:29:22 +01:00
Klaus Basan
7dd77b8ca3 Ref T220, use improved version of screen geometry detection
* use cmd.line argument to skip restoring if needed
* close splash screen as last
* log metrics info
2018-01-14 18:47:26 +01:00
Klaus Basan
350a75d672 Formatting 2018-01-14 18:47:24 +01:00
Klaus Basan
8e130aa895 Ref T220, cmd.line option for window resizing 2018-01-14 18:47:22 +01:00
Klaus Basan
ef25192424 Ref T220, register main widget 2018-01-14 18:47:20 +01:00
Klaus Basan
e1d044521e Ref T220, save/store main window geometry/state 2018-01-14 18:47:08 +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
407c4f8414 Ref T220, font metric support
* signal if font changed
* character based size can be set
2018-01-14 18:46:59 +01:00
Klaus Basan
18fe389303 Ref T203, renamed to CUpdateInfoDialog 2017-12-21 19:48:50 +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
12667bca12 Ref T189, allow to set main window (injection)
In swift UI applications we init the main window explicitly, no need afterwars to search for it
2017-12-21 19:46:36 +01:00
Klaus Basan
482023b2c0 Ref T180, dot commands to set rendering setup
* enable parts/debug messages via dot command
* allow to log to console via application context
2017-11-06 22:20:59 +01:00
Klaus Basan
f2820ba5a5 Style sheet improvements
* button clicked shown in different style (better user experience)
* menu toopen main style sheet
2017-09-27 02:59:55 +02:00
Klaus Basan
daaf895c3b Utility function to change window flags 2017-09-24 20:29:25 +01:00
Klaus Basan
450028d2d2 Formatting, this->m_XX to m_XX 2017-09-24 20:29:23 +01:00