Commit Graph

306 Commits

Author SHA1 Message Date
Klaus Basan
30b65d6c36 Fixed selection of view rows when changing to filtered data
* return values for select functions
* select function must be "public override"
* reselect filtered data as well
2019-04-11 22:12:00 +01:00
Roland Rossgotterer
338d4d0cdb Use QScreen instead of QDesktopWidget::screen 2019-04-11 22:11:49 +01:00
Roland Rossgotterer
c82ff139fe Remove usage of deprecated qSort 2019-04-11 22:11:49 +01:00
Klaus Basan
781253a6ad Ref T571, radar view style 2019-04-11 22:11:47 +01:00
Klaus Basan
0a013fc906 Style 2019-04-11 22:11:46 +01:00
Klaus Basan
754f70a4ed Context menu to highlight the previously saved invalid models, originally Ref T247 2019-04-11 22:11:45 +01:00
Klaus Basan
8344f03cf3 Improved model validation dialog
* validation can be triggered async
* validation context menu can be disabled
* originally Ref T247
2019-04-11 22:11:44 +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
cc6adc6c40 Ref T539, tree view can select objects and hence refresh ATIS display
* select signal for tree view
* signal/slots and connects
2019-02-22 20:36:17 +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
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
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
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
b2ec28e3cd Ref T529, model/views get sort order values 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
3aee73840d Ref T529, allow to explicitly set no sort order in model/view 2019-02-22 20:36:00 +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
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
019cc6259e Ref T515, highlight by models and changed naming 2019-02-22 20:35:39 +00:00
Klaus Basan
4be8ff9e3d Ref T515, use model utils for validation 2019-02-22 20:35:36 +00:00
Klaus Basan
77e642d42d Ref T515, logic for "isLikely" simulator list moved to model list 2019-02-22 20:35:36 +00:00
Klaus Basan
bb9b5e8e97 Ref T515, added validation dialog for model view 2019-02-22 20:35:34 +00:00
Klaus Basan
5c1f6d9029 Ref T515, minor tweaks 2019-02-22 20:35:34 +00:00
Klaus Basan
a0c8f3778b Ref T515, context menus for re-matching
* added re-matching for single aircraft
* re-ordered
2019-02-22 20:35:33 +00:00
Klaus Basan
a90d4465a2 Ref T451, fixed temp. disabled model
* display info message
* aircraft model list implementing ICallsignObjectList (for message)
* fixed wrong flag in requestTempDisable
2019-02-22 20:35:33 +00:00
Klaus Basan
6e1640e1dd Ref T509, sort before displaying 2019-02-22 20:35:30 +00:00
Klaus Basan
0a1a23512e Ref T509, Qwt adjustments in model statistics 2019-02-22 20:35:30 +00:00
Klaus Basan
935cffe250 Ref T509, Qwt adjustments in model statistics 2019-02-22 20:35:29 +00:00
Klaus Basan
3fa25798ce Ref T509, added ICAO graph 2019-02-22 20:35:29 +00:00
Klaus Basan
80a36f4346 Ref T509, added a first version of QChart for distributors 2019-02-22 20:35:28 +00:00
Klaus Basan
fee2f8c5a0 Ref T506, context menu for user view -> COM text messages 2019-02-22 20:35:27 +00:00
Klaus Basan
33a3984588 Approach to fix "Q_ASSERT(found != end1);" assert as reported by RP
https://swift-project.slack.com/archives/G96QTUBEG/p1546880962000700
2019-02-22 20:35:27 +00:00
Klaus Basan
eddaeddfc4 Ref T506, style 2019-02-22 20:35:24 +00:00
Mat Sutcliffe
4d4d7a7854 Added missing override keyword. 2019-02-22 20:35:11 +00:00
Klaus Basan
48b18c7acd Resize columns of "other swift versions" to percentage 2019-02-22 20:34:59 +00:00
Klaus Basan
7baf5f238e Allow columns with percentage width 2019-02-22 20:34:59 +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
93cf349a04 Ref T451, context menu in views (simulated aircraft/model) to disable model 2019-02-22 20:24:03 +00:00
Klaus Basan
314c48d5d1 Filter minor style/refactoring
* use normal functions instead of slots
* some renamings
2019-02-22 20:24:02 +00:00
Klaus Basan
4aec50ccfc Ref T478, removed the critical functions + adjustments
The code was never used as we decided not to translate swift, but do it all in English. So that code branch was never executed and I have removed the above 4 function + required adjustments.

* getTranslationContextChar
* getColumnNameChar
* getColumnToolTipChar
* getTranslationContextChar
2019-02-22 20:23:59 +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