Commit Graph

334 Commits

Author SHA1 Message Date
Klaus Basan
e1498adc8e Minor fixes, style
* make sure ATC view is updated when disconnected
* prepared rounding, can be enabled at any time
2020-01-07 19:57:22 +00:00
Klaus Basan
2a34786039 [Hotkey] Display hotkey name plus device name in hotkey model, resize view if new key has been added or removed 2020-01-07 19:57:22 +00:00
Klaus Basan
ef4640e66f [Hotkey] Style 2020-01-07 19:57:21 +00:00
Klaus Basan
80725e96dc [AFV] Ref T731, Ref T739 model/view for audio device info 2020-01-07 19:46:15 +00:00
Klaus Basan
7beed0225c Style 2020-01-07 19:46:15 +00:00
Mat Sutcliffe
57ff07592a [AFV] CInputManager stores icon indexes instead of QPixmap instances
The GUI converts icon indexes to QPixmap indexes when needed.
This fixes the context unittest that was broken by audio context changes.
2019-10-11 19:00:52 +01:00
Mat Sutcliffe
b90855d393 [AFV] Fixed GCC and Clang errors 2019-10-11 19:00:40 +01:00
Klaus Basan
66ea77d25f Ref T739, removed voice room functions from context and UI 2019-10-11 19:00:37 +01:00
Klaus Basan
66968ff3a5 Ref T739, style 2019-10-11 19:00:36 +01:00
Klaus Basan
dcfe275cc1 Ref T730, adjusted airspace monitor and ATC model
* added cross coupled in model
* "disabled" onAtisVoiceRoomReceived
2019-10-11 19:00:14 +01:00
Klaus Basan
00941afcf9 Style 2019-09-16 22:41:30 +01:00
Klaus Basan
e12dc3a73a Utility functions to sort text messages by timestamp (ascending/descending)
* compare function for text message
* resort function
* text message edit can display HTML text messages with ascending/descending timestamp
* made CTextMessageListModel -> CListModelTimestampObject
2019-09-16 22:41:30 +01:00
Klaus Basan
ca452134e8 Ref T673, adjusted models 2019-09-16 22:39:58 +01:00
Klaus Basan
538ea297e4 Ref T673, hide values marked as incognito column 2019-09-16 22:39:57 +01:00
Klaus Basan
8749a7176d Model filter size and wildcard 2019-05-23 13:12:59 +02:00
Klaus Basan
e8b57f8bef Allow to rescale airline icons (actually all icons) 2019-05-13 11:21:11 +02:00
Klaus Basan
71fbe5b604 Allow to filter by combined type 2019-05-13 11:20:53 +02:00
Klaus Basan
99c6a03b6f Support for an empty column 2019-05-13 11:20:44 +02: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
057031293d Ref T578, display level and path (not just path) 2019-04-11 22:12:03 +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
Klaus Basan
3988fbdb32 Ref T430, follow ups of FG integration fixing wrong distributor handling
* fixing a bug where the radio button and check box names got mixed
* removed code for FG disabling
* style

Backend T576
2019-04-11 22:11:59 +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
d5aaf24231 Ref T472, add category column 2019-02-22 20:36:30 +00:00
Klaus Basan
6e05875eab Ref T472, added id column 2019-02-22 20:36:19 +00:00
Klaus Basan
b584398482 Ref T472, added aircraft category in ICAO model 2019-02-22 20:36:19 +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
fe840613cb Ref T529, added "IndexSeverityAsIcon", use logic sort order 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
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
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
74be37339e Models guard names and style 2019-02-22 20:35:56 +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
Klaus Basan
019cc6259e Ref T515, highlight by models and changed naming 2019-02-22 20:35:39 +00:00
Klaus Basan
5d46017af2 Copy from other swift versions minor UI adjustments 2019-02-22 20:35:35 +00:00
Klaus Basan
25df1921eb Style 2019-02-22 20:35:33 +00:00
Klaus Basan
58cfdd1bb9 Ref T492, alias in model lists and model
Search for alias and modelstring in matching
2019-02-22 20:35:22 +00:00
Mat Sutcliffe
1f83d677f3 Changed BLACK_FALLTHROUGH to Q_FALLTHROUGH(). 2019-02-22 20:35:12 +00:00
Klaus Basan
e85680f1b0 Improved livery filter bar and filer, accept virtual airline designators 2019-02-22 20:35:09 +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
Klaus Basan
314c48d5d1 Filter minor style/refactoring
* use normal functions instead of slots
* some renamings
2019-02-22 20:24:02 +00:00