Commit Graph

263 Commits

Author SHA1 Message Date
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
Mat Sutcliffe
1b4ed84e1b CListModelBase and CViewBase: reduce the number of template parameters
by relying on what can easily be deduced from the first parameter(s).
2019-02-22 20:23:44 +00:00
Mat Sutcliffe
e40af8132c Fixed clazy warnings: missing Q_OBJECT. 2019-02-22 20:23:33 +00:00
Mat Sutcliffe
71de01065b Ref T464 Implement removal of one sequence from another in O(n),
assuming that elements in both sequences are in the same order in both.
2018-12-14 19:57:29 +01:00
Klaus Basan
9f408e8319 Fixes in model set form as described by RP
https://swift-project.slack.com/archives/G96QTUBEG/p1544353355002400

* fixed missing radio button groups
* return values for some functions to detect "changes"
* minor style fixes
2018-12-10 03:41:16 +01:00
Klaus Basan
82324cb512 Ref T442, ATC station treeview
* store expand/collapsed state
* resize
* clear
2018-12-07 02:37:14 +01:00
Klaus Basan
6116797727 Ref T442, getColumns from view/model 2018-12-07 02:37:14 +01:00
Klaus Basan
18788a8d4d Ref T442, own ATC station tree view class 2018-12-07 02:37:13 +01:00
Klaus Basan
774458afc9 Viewbase style, UI style 2018-12-05 04:03:59 +01:00
Klaus Basan
7fc6fcb867 Improved version of "Allow to delete data directory from application view"
- split functions into dynamic loading and const versions (loading at startup)
- reload other versions from wizard in case they changed
- some renaming/formatting
2018-12-02 04:27:59 +01:00
Roland Rossgotterer
a005ebbbc9 Split viewbase.cpp
viewbase.cpp instantiates many template classes and ended up as a huge object file. Building with MinGW in not-optimized debug build, the file got too big. Therefore split the template instantiations into individual files.
2018-11-29 20:54:26 +01:00
Klaus Basan
7035330744 Views: JSON values can be shown as popup 2018-11-29 20:54:25 +01:00
Klaus Basan
9f6cb9a72f Allow to delete data directory from application view
* allow to re-init applicazion list (needed because directories can be deleted)
* context menu for "delete data directory"
2018-11-29 20:54:25 +01:00
Klaus Basan
d240dc73ab Ref T441, statistics can also display matrix 2018-11-25 18:28:32 +01:00
Klaus Basan
d2ca97846d Allow to reload other swift versions UI 2018-11-22 19:55:03 +01:00
Klaus Basan
f8efd19a3e Ref T423, context menu to recalculate all aircraft positions 2018-11-16 02:49:52 +01:00
Klaus Basan
699684bce0 Ref T421, UI for the interpolation log.messages 2018-11-04 17:42:47 +01:00
Klaus Basan
4370f2c614 Ref T397, do not show context menu for fast position updates if FSD has disabled it 2018-11-04 17:42:45 +01:00
Klaus Basan
c010149686 Ref T397, add menu items for aircraft view 2018-11-04 17:42:43 +01:00
Klaus Basan
f4822b69dd Allow to save "selected objects" only as JSON 2018-11-04 17:42:42 +01:00
Klaus Basan
dec0b12ea2 Ref T397, checks on vector to find root cause NaN/inf issue
* sometimes very large numbers (xxE38) in vector
* sometimes vectors which look correct, but exceed [-1,1]
2018-11-04 17:42:40 +01:00
Klaus Basan
f962b24212 Fixed mixed action names 2018-10-05 17:39:59 +02:00
Klaus Basan
5c925fbf67 UI, grouped ATC and model context menus 2018-10-05 17:39:57 +02:00
Klaus Basan
72a7b67e7a Ref T362, style and minor fixes 2018-10-05 17:39:57 +02:00
Klaus Basan
2ad6a7e1b3 Ref T362, allow also to load container JSON format directly (not only CVariant container format) 2018-10-05 17:39:56 +02:00
Klaus Basan
5e99e557c6 Ref T362, Ref T348 model/view adjustments
* remove model string
* start directory for file dialog
2018-09-22 01:26:38 +02:00
Klaus Basan
ebcdef6884 Ref T362, utility function to display view count in tab 2018-09-20 00:47:15 +02:00
Klaus Basan
978fc42fe5 Doxygen, style 2018-09-20 00:47:12 +02:00
Klaus Basan
7d715a909e Ref T335, style and CLANG warnings 2018-09-12 17:40:49 +02:00
Klaus Basan
46c684f04c Ref T345, in view added acceptRowSelection 2018-09-12 17:40:34 +02:00
Klaus Basan
8c10237dce Ref T343, style 2018-09-12 17:40:27 +02:00
Klaus Basan
d411aa471f CLANG fixes, requires "this" 2018-09-12 17:01:42 +02:00
Klaus Basan
ece54729ef Views style 2018-09-08 15:36:24 +02:00
Klaus Basan
1b5888bf82 Context menu improvements
- rneamed some paths, group "model stuff" together
- no spearators if same menu key root (such entries belong semantically together)
2018-08-28 03:55:53 +02:00
Klaus Basan
e8f51cc111 Ref T310, more detailed statistics in UI 2018-08-28 01:16:57 +02:00
Klaus Basan
54802e9ea9 Ref T310, added model statistics dialog
* UI for statistics
* renamed to "coverageSummaryForModel"
* model list "htmlStatistics"
2018-08-27 18:58:11 +02:00
Klaus Basan
722566453b Ref T306, use settings for flightplan and view directories 2018-08-26 15:27:01 +02:00
Klaus Basan
19fbc345fb Better shortcut handling in views
- display shortcuts
- shortcut for resize
2018-08-26 15:26:55 +02:00
Klaus Basan
9bb3f98489 Style 2018-08-13 02:59:35 +02:00
Roland Winklmeier
cd701c2a95 Fix assert caused by wrong function call 2018-08-09 22:10:35 +02:00
Klaus Basan
79a133892b Fix for context menu of aircraft view as reported in slack
* reported: https://swift-project.slack.com/archives/G7GD2UP9C/p1533749013000483
* logic moved to view
* removed no longer required code
2018-08-09 01:41:10 +02:00
Klaus Basan
a05d11fff0 Ref T294, name pair style 2018-07-28 00:07:36 +02:00
Klaus Basan
a6ee6d4b72 Ref T292, Ref T285 minor style improvements, renamings 2018-07-26 04:32:38 +02:00
Klaus Basan
bf36a69be0 Stashed data file can be dropped to model view
* utility functions
* style changes / renamings / slots -> normal functions
* extra flag to enable file drop (and changed signatures)
* split view load function into 2 parts, one can use passed file parameter
2018-07-25 02:37:02 +02:00