Commit Graph

322 Commits

Author SHA1 Message Date
Klaus Basan
9a384ebc54 Ref T660, add simulator directory to model view for validation 2019-09-16 22:40:21 +01:00
Klaus Basan
f3ec7a8a68 Ref T660, utility functions
* check if model is in path
* addAsValidOrInvalidModel
* set corresponding simulator for validation
* display validation of empty model set
2019-09-16 20:29:57 +01:00
Klaus Basan
fd281a464c Always allow vertical resize in case we change from word wrap to non word-wrap 2019-09-16 20:29:38 +01:00
Klaus Basan
4eb10a4de8 Use shortcut function for CTRL A 2019-09-16 20:29:33 +01:00
Klaus Basan
c56775e815 Ref T637, allow 3 letter ICAOs in FP
* strict or lenient airport check
* allow to enter 3 letter ICAO codes in FP
2019-05-13 11:20:48 +02:00
Klaus Basan
0eed0f0f00 Doxygen 2019-05-13 11:20:48 +02:00
Klaus Basan
bbd6811c8d Improved vertical resizing / vertical header vor interactive vertical resizing 2019-05-13 11:20:45 +02:00
Klaus Basan
99c6a03b6f Support for an empty column 2019-05-13 11:20:44 +02:00
Klaus Basan
f6d68660c9 Allow to toggle word wrap in views 2019-05-13 11:20:43 +02:00
Klaus Basan
6d97db83ed Avoid multiline columns by disabling word wrap 2019-05-13 11:20:43 +02:00
Klaus Basan
d32e596c89 Remove the workaoround from QTableView, made stretching default 2019-05-13 11:20:42 +02:00
Klaus Basan
9436bce9be Minor mapping tool improvements, including scrollTo first highlighted row 2019-05-13 11:20:33 +02:00
Klaus Basan
68b53c2a74 Use pre-sorted messages
Ref T247 follow up
2019-04-11 22:12:18 +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
3bb5efcb29 Style Ref T592 related 2019-04-11 22:12:08 +01:00
Klaus Basan
0732c32922 Typo, style 2019-04-11 22:12:01 +01:00
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