Commit Graph

2516 Commits

Author SHA1 Message Date
Klaus Basan
f50bb23020 Ref T536, style 2019-02-22 20:36:13 +00:00
Klaus Basan
963ac03be0 Ref T536, ATC and cockpit component request overlay text messages and use COverlayMessagesFrameEnableForDockWidgetInfoArea 2019-02-22 20:36:13 +00:00
Klaus Basan
045f79d0bd Ref T536, text message component
* register tab enum
* select tab by frequency
2019-02-22 20:36:13 +00:00
Klaus Basan
22ae03bd3b Moved CEnableForDockWidgetInfoArea to ns BlackGui, was in BlackGui::Components for some reason
Discovered during T536
2019-02-22 20:36:12 +00:00
Klaus Basan
8957d1d767 Ref T536, show text entry for overlay text messages and ignore button updates if invisible
Remark: Invisibe always caused the hiden group box to show grayed out buttons
This approach is a bit hacky as the component actually does not know about its surrounding group box
2019-02-22 20:36:12 +00:00
Klaus Basan
e46e89c03e Ref T535, play different souns for private/supervisor message 2019-02-22 20:36:12 +00:00
Klaus Basan
25032c6210 Ref T535, settings for supervisor message 2019-02-22 20:36:11 +00:00
Klaus Basan
4e2707f9d1 Ref T534, show filtered counts and info if no ATC stations are shown 2019-02-22 20:36:10 +00:00
Klaus Basan
74727469f0 Ref T534, fixed/improved settings component
* allow to set counts as info (see if something is filtered)
* used Qt::QueuedConnection to not override changes in same step from toggled signal
* set radio button correctly
2019-02-22 20:36:10 +00:00
Klaus Basan
6fafaabbab Ref T534, enable overlay messages for view/tree view 2019-02-22 20:36:10 +00:00
Klaus Basan
474207eeab Ref T472, heap issue follow up + minor clean ups
* unfortunately the issue did still persist
* reason still unknown
* not expanding all seems to solve it

Maybe using the high level API without own model would be better
https://www.bogotobogo.com/Qt/Qt5_QTreeWidget.php
2019-02-22 20:36:10 +00:00
Klaus Basan
ac0d3b20ad Ref T505, simulator live data
* gs in kts and km/h
* altitude in m/ft
* heading 0-360
2019-02-22 20:36:09 +00:00
Klaus Basan
b476ce4894 Fixed missing gs from situation form 2019-02-22 20:36:09 +00:00
Klaus Basan
b0f11362be Ref T528, fixed re-matching
* do not use getISimulator() in remote UI
* overlay message for re-matching
2019-02-22 20:36:08 +00:00
Roland Rossgotterer
90da3f191c Fix CRadarComponent cppcheck issues 2019-02-22 20:36:07 +00:00
Klaus Basan
fb46947252 Ref T529, own models UI component message sorting
* if errors sort by severity
* timeout if there is no error
* check connects
2019-02-22 20:36:06 +00:00
Klaus Basan
91050e198c Ref T529, view improvements
* protected slots -> protected
* removed unused functions
* load indicator timeout slot
2019-02-22 20:36:06 +00:00
Klaus Basan
4e6437db4e CLANG warnings load indicator + style 2019-02-22 20:36:05 +00:00
Klaus Basan
fe840613cb Ref T529, added "IndexSeverityAsIcon", use logic sort order 2019-02-22 20:36:05 +00:00
Klaus Basan
bb1bb35926 Ref T529, column sorting for overlay messages 2019-02-22 20:36:05 +00:00
Klaus Basan
c123c8bbca Using the same optimizations as in category tree view (Ref T472)
* isEmpty
* digest signal
2019-02-22 20:36:04 +00:00
Klaus Basan
fe05c2287b Ref T472, fixed expandAll/fullResizeToContents heap issue
* after updating the container update "expandAll" was called
* in onExpanded multiple "fullResizeToContents" occured, resulting in the healp issue below
* as it was a good idea anyway to reduce the slow "fullResizeToContents" anyway, so we are using a CDigestSignal
* this also solved the HEAP issue (for some reason I have NOT investigated)

HEAP[swiftdata.exe]: HEAP: Free Heap block 000001AB439BFFF0 modified at 000001AB439C00BC after it was freed
2019-02-22 20:36:04 +00:00
Klaus Basan
ac7958367b Ref T472, isEmpty for category tree 2019-02-22 20:36:04 +00:00
Klaus Basan
728a76fc2c Ref T529, automatically setting/restoring sorting for status messages 2019-02-22 20:36:04 +00:00
Klaus Basan
b2ec28e3cd Ref T529, model/views get sort order values 2019-02-22 20:36:03 +00:00
Klaus Basan
f55db48cef Mapping tool: improved setting of simulator
* problem: tab was not updated
* use "setSimulator" to reload from context menu
* forced "setSimulator" possible
2019-02-22 20:36:03 +00:00
Klaus Basan
7cd1eb5ea5 Ref T529, automatically adjust model/view columns depening on status messages
Add/remove order column automatically
2019-02-22 20:36:02 +00:00
Klaus Basan
32985c78da Ref T529, allow to set mode in view/model
The version with the container allows to auto-detect if order is available
2019-02-22 20:36:02 +00:00
Klaus Basan
aa47d7bb03 Ref T529, style 2019-02-22 20:36:01 +00:00
Klaus Basan
f363d4f41b Ref T529, use no sort order as workaround for validation messages
This will be superseded later by `IOrderable`
2019-02-22 20:36:01 +00:00
Klaus Basan
e1fccf17d8 Ref T529, log component allows to set sort order or no order 2019-02-22 20:36:00 +00:00
Klaus Basan
3aee73840d Ref T529, allow to explicitly set no sort order in model/view 2019-02-22 20:36:00 +00:00
Klaus Basan
af12a6ca72 Ref T529, allow to sort overlay messages 2019-02-22 20:36:00 +00:00
Klaus Basan
72bba35423 Ref T514, fixed load progress checks 2019-02-22 20:35:59 +00:00
Klaus Basan
2aff3bb775 Ref T472, category UI component 2019-02-22 20:35:59 +00:00
Klaus Basan
1b730dd0b1 Ref T472, style 2019-02-22 20:35:59 +00:00
Klaus Basan
969600b65d Ref T472, category model/view + tree view 2019-02-22 20:35:58 +00:00
Klaus Basan
13b9179472 Views guard name and style 2019-02-22 20:35:57 +00:00
Klaus Basan
74be37339e Models guard names and style 2019-02-22 20:35:56 +00:00
Klaus Basan
210df12889 Ref T472, support for aircraft category flag 2019-02-22 20:35:55 +00:00
Klaus Basan
8c15f45007 Ref T529, deterministic sort order when column values are equal
* the Qt model sorts by column
* when multiple values have the same column value the order among those is more or less random
* added additional property indexes to determine the order among the equal values
2019-02-22 20:35:54 +00:00
Klaus Basan
17f67d6106 Style 2019-02-22 20:35:53 +00:00
Mat Sutcliffe
fe7a45afcf Ref T516 Update CStatusMessage call sites to use new syntax. 2019-02-22 20:35:51 +00:00
Roland Rossgotterer
4273eb4260 First version of CRadarComponent 2019-02-22 20:35:49 +00:00
Klaus Basan
0669f5136f Ref T515, minor UI adjustments, however still an "QWindowsWindow::setGeometry: Unable to set geometry" somewhere in the log component (uncritical, only Qt warning) 2019-02-22 20:35:47 +00:00
Klaus Basan
13357516fa Ref T515, avoid unnecessary updating (last result ts) and UI adjustments 2019-02-22 20:35:47 +00:00
Klaus Basan
970a7a0af8 Use style sheet for login model string field, remove hardcoded values 2019-02-22 20:35:45 +00:00
Klaus Basan
365c52613a Audio setup component deferred init,
because in a distributed swift system it takes a moment until the
settings are sychronized this is leading to
undesired "save settings" messages and played sounds
2019-02-22 20:35:44 +00:00
Klaus Basan
3ad7182448 Minor completer adjustments 2019-02-22 20:35:44 +00:00
Klaus Basan
d669f7c370 Style 2019-02-22 20:35:43 +00:00