Commit Graph

2507 Commits

Author SHA1 Message Date
Klaus Basan
9436bce9be Minor mapping tool improvements, including scrollTo first highlighted row 2019-05-13 11:20:33 +02:00
Mat Sutcliffe
a366ad8943 Added with() and withValidation() methods in CLogCategoryList. 2019-04-12 13:30:54 +01:00
Mat Sutcliffe
1cb21f0a4b Ref T545 Removed redundant constructors that are now inherited. 2019-04-12 13:30:53 +01:00
Mat Sutcliffe
bb59007656 D99 Enable compiler caches 2019-04-12 13:30:48 +01:00
Klaus Basan
42af7e4e9f Avoid the style change crash. This is a temp.workaround until we know how to avoid it, but the usability impact can be neglected
Changing the style takes very long anyway and is a bit fault even if it works.
2019-04-11 22:12:20 +01:00
Roland Rossgotterer
563a69e3f5 Remember and ignore hotkey combination before capturing
When capturing a new hotkey combination, we want to get only the delta of the keys and buttons being pressed during the capturing. 

ref T585
2019-04-11 22:12:20 +01:00
Klaus Basan
6f1fb20b1c Ref T596, do not call shutdown if close is called, as close already calls shutdown 2019-04-11 22:12:19 +01:00
Klaus Basan
5626b28ddc Fixed typo not setting the new, but still the old style
* Crashes if the style is changed when the UI is fully initialized
* Still needs to be fixed
* Crashes are random
2019-04-11 22:12:19 +01:00
Klaus Basan
d875df6fc7 Remove the comments from qss 2019-04-11 22:12:19 +01:00
Klaus Basan
79fc8683f9 Removed unused navigator code 2019-04-11 22:12:19 +01:00
Klaus Basan
46be7d5e0a UI adjustments 2019-04-11 22:12:18 +01:00
Klaus Basan
68b53c2a74 Use pre-sorted messages
Ref T247 follow up
2019-04-11 22:12:18 +01:00
Klaus Basan
36381351b9 Style 2019-04-11 22:12:18 +01:00
Klaus Basan
5c870a8404 Center wizard page and use "classic style" 2019-04-11 22:12:17 +01:00
Klaus Basan
1dd10ffe29 Aligned signatures for model matcher log matcher
Ref T247 follow up
2019-04-11 22:12:17 +01:00
Klaus Basan
d51b26cf8d Aligned signatures for context and dialog to use sim.directory in validator
Ref T247 follow up
2019-04-11 22:12:17 +01:00
Klaus Basan
0c335beea6 Style 2019-04-11 22:12:16 +01:00
Klaus Basan
5661180f3e Minor cockpit navigator adjustments 2019-04-11 22:12:13 +01:00
Klaus Basan
5e32064d21 Ref T566, UI allow to enable/full matching log messages 2019-04-11 22:12:13 +01:00
Klaus Basan
6bcc308916 Login component UI, focus for aircraft data 2019-04-11 22:12:11 +01:00
Klaus Basan
95a884cbd7 Minor cockpit navigator adjustments 2019-04-11 22:12:11 +01:00
Klaus Basan
16061f61e8 Minor cockpit COM UI adjustments 2019-04-11 22:12:11 +01:00
Klaus Basan
77acffb73e Fixed crash when changing UI style (fusion, ...)
* use overloaded function with string directly
* Qt::QueuedConnection

The old version looked correct to me, nevertheless it did always crash
2019-04-11 22:12:11 +01:00
Klaus Basan
9fd782af71 Ref T592, also fire signal after init and doube click of tab bar 2019-04-11 22:12:11 +01:00
Klaus Basan
410b187a0e added "break", minor tweak 2019-04-11 22:12:11 +01:00
Klaus Basan
60b4b08da6 Ref T592, remember size/position where last floating
This seems to work more reliable as the Qt mechanism,
but still suffers incorrect positions from time to time.

The floating window opens on to of the main widget,
which is uncritical but still strange why it happens
2019-04-11 22:12:10 +01:00
Klaus Basan
ba33ebb1f5 Ref T592, frame around entry line in floating text message window 2019-04-11 22:12:10 +01:00
Klaus Basan
eb5670abef Ref T592, navigator dialog
* movable by mouse
* UI border
2019-04-11 22:12:10 +01:00
Klaus Basan
d33b913e62 Ref T592, sometimes using verify or default values instead of ASSERTs 2019-04-11 22:12:10 +01:00
Klaus Basan
097dfe0a24 Ref T592, no more dock widget float/dock to init, init explicitly and when first opened 2019-04-11 22:12:10 +01:00
Klaus Basan
546a8a06d3 Ref T592, improved position handling/failover: use screen position if main widget pos. is unavailable 2019-04-11 22:12:09 +01:00
Klaus Basan
89c5d87c1c Ref T592, allow to reset floating widget position by pressing SHIFT
SHIT mouseclick resets
2019-04-11 22:12:09 +01:00
Klaus Basan
461e24f293 Ref T592, added missing radar init 2019-04-11 22:12:09 +01:00
Klaus Basan
c45592f9b5 Ref T592, minor tweaks
* style
* hide wip_CockpitComPanelShowHideBar initially
* sGui guarding
* function initialFloating() public so it can be explicitly called
2019-04-11 22:12:09 +01:00
Klaus Basan
9f0daa58ea Ref T592, made dock widget related slots Qt::QueuedConnection
Rational: the widget emits floating but is not yet in full floating state, so with a direct connection we deal a bit too early with the widget.
Much more stable (hopefully) using queued connection, then all the handling is done if the window is really a floating window.
2019-04-11 22:12:09 +01:00
Klaus Basan
423a7dc6f8 Ref T592, minor GUI utility renaming and adjustments 2019-04-11 22:12:09 +01:00
Klaus Basan
dc6e18b5a2 Ref T591, avoid duplicated text message lines
* also consider Qt::Key_Enter (NUMPAD)
* signal returnPressedUnemptyLine
* use signal returnPressedUnemptyLine instead of returnPressed which avoids empty lines
2019-04-11 22:12:09 +01:00
Klaus Basan
3bb5efcb29 Style Ref T592 related 2019-04-11 22:12:08 +01:00
Klaus Basan
28d9e98e38 Minor dock widget related tweaks 2019-04-11 22:12:08 +01:00
Klaus Basan
6296feac19 Allow to disable tooltip by dot command ".tooltip" 2019-04-11 22:12:08 +01:00
Klaus Basan
f9884cd585 Ref T586, allow to do SSO even if the user not yet is enabled in the DB
Rational: user can do authenticated mappings/quick mapping without the account approved
2019-04-11 22:12:07 +01:00
Klaus Basan
4bc5b7720e Use context based help for model set validation to display further details 2019-04-11 22:12:06 +01:00
Klaus Basan
9f1090d430 Cockpit COM component align widget heights 2019-04-11 22:12:06 +01:00
Klaus Basan
8c5ee52128 Simplified cockpit COM component layout 2019-04-11 22:12:05 +01:00
Mat Sutcliffe
8fb0a009d1 Ref T579 Work around proximate cause of data race in CListModelBase.
This is still not thread-safe but at least it is less likely to crash.
A more robust fix will be attempted later.
2019-04-11 22:12:05 +01:00
Klaus Basan
66cbe1662e Ref T560, reset move position 2019-04-11 22:12:05 +01:00
Klaus Basan
8571feda30 Follow up Ref T571, setting a default color for general UI settings, but not dialogs 2019-04-11 22:12:05 +01:00
Klaus Basan
69306dbf7f DBus selector making clear P2P is for 2 machines 2019-04-11 22:12:04 +01:00
Klaus Basan
48da5da393 Avoid crash during shutdown 2019-04-11 22:12:04 +01:00
Klaus Basan
057031293d Ref T578, display level and path (not just path) 2019-04-11 22:12:03 +01:00