Commit Graph

2190 Commits

Author SHA1 Message Date
Mat Sutcliffe
e32ea65a27 Fixed clazy warnings: fully-qualified signal parameter types. 2019-02-22 20:23:34 +00:00
Mat Sutcliffe
9f85a7b560 Fixed clazy warnings: pass large objects by reference to const. 2019-02-22 20:23:33 +00:00
Mat Sutcliffe
e40af8132c Fixed clazy warnings: missing Q_OBJECT. 2019-02-22 20:23:33 +00:00
Mat Sutcliffe
333ea1b8df Fixed clazy warnings: empty QStringLiteral. 2019-02-22 20:23:32 +00:00
Mat Sutcliffe
82679a3010 Replace qmake variable BLACK_CONFIG with a system based on json files.
The config is loaded from json files by qmake, and we define the qmake
function `swiftConfig` for checking whether a feature is enabled.
This function can be directly used in `buildconfig_gen.cpp.in`,
so the trick with C++ comment tokens in variables is not needed.
2019-02-22 20:23:25 +00:00
Klaus Basan
a09d7191f3 Ref T456, user statistics monitored at backend
* values for simulator/network
* changed concept a bit so crash handler values are used for statistics as well
2018-12-16 00:22:33 +01:00
Klaus Basan
d5ebd91c55 Use combobox simulator selector in mapping component as it allows "smaller" columns 2018-12-16 00:22:33 +01:00
Klaus Basan
5f252530cd Minor fixes in simulator selector 2018-12-16 00:22:33 +01:00
Klaus Basan
e185759a42 Formatting and singleShot "myself" guard 2018-12-16 00:22:00 +01:00
Klaus Basan
59343c6c24 Minor style fixes 2018-12-14 19:57:31 +01:00
Klaus Basan
e5eeb43031 Shutdown guard 2018-12-14 19:57:30 +01: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
Roland Rossgotterer
beec08f70c Fix doubled period in source filename 2018-12-11 10:54:44 +01:00
Roland Rossgotterer
11f328b5c3 Split up listmodelbase
This is to reduce the number of symbols per single object file which caused MinGW 32 bit build to fail.
- Moved CListModelBaseNonTemplate into its own file
- Separated the template instantiations into domain specific source files
2018-12-11 10:54:43 +01:00
Klaus Basan
e9beb2d353 Ref T447, navigator dialog improvements
* slots -> normal functions
* watchdog to bring back navigator in case it gets in background
2018-12-11 10:52:23 +01:00
Klaus Basan
86b8fd03be Ref T447, info area
* force floating windows on top "allFloatingOnTop()"
* slots -> normal functions
* use BLACK_VERIFY to avoid "shutdown" in release build, possible reason for Ref T334
2018-12-11 09:04:53 +01:00
Klaus Basan
08495a7854 Ref T447, utility function to set on top flag
Also a signal when "always on top" was triggered
2018-12-11 09:00:15 +01:00
Klaus Basan
c591728e88 Aircraft ICAO code of own model is wrong
Although the reverse lookup of a model is correct, it's aircraft ICAO code is wrong

Issues found

* in the driver the ICAO code is permanently overridden -> commented out
* there are two contexts, own aircraft and simulator, but only one uses reverse lookup -> now both
* using Qt::QueuedConnection for context -> GUI
2018-12-11 00:51:31 +01:00
Klaus Basan
7cf4a3ec33 Ref T441, cleanup 2018-12-10 13:54:02 +01:00
Klaus Basan
0f0800f35d Context menu for model set to remove excluded models 2018-12-10 13:54:02 +01:00
Klaus Basan
4051e958cf Ref T441, fixed OK/Cancel and always stop when finished 2018-12-10 10:42:41 +01:00
Klaus Basan
6ebb2ee502 Ref T447, toggleStayOnTop for CGuiApplication 2018-12-10 03:41:16 +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
9b06a159f2 Focus text in text entry of overlay text message 2018-12-10 03:41:16 +01:00
Klaus Basan
9525e0dbe5 Ref T441, added progress bar and stop button to UI 2018-12-10 03:41:16 +01:00
Klaus Basan
6761a4c08a Ref T442, made ATC station component a QFrame
* details in group box
* count for tree view tab
* formatting of settings
2018-12-10 03:41:16 +01:00
Klaus Basan
8d3d5743d3 Ref T455, preselect simulator in wizard if there are models 2018-12-10 03:41:16 +01:00
Klaus Basan
eacb554053 Ref T365, use not-wrapping tooltips 2018-12-10 03:41:16 +01:00
Klaus Basan
511b3ae6c3 Style 2018-12-10 03:41:16 +01:00
Klaus Basan
556c17795d Fill in combined type if not filled in (empty) and ICAO is from DB 2018-12-10 03:41:16 +01:00
Klaus Basan
32b2059d1a Allow to refresh "other server" combobox 2018-12-10 03:41:15 +01:00
Klaus Basan
9d85b70307 Allow to unhide password in pilot form and server form 2018-12-10 03:41:15 +01:00
Klaus Basan
2e68a52a42 Unhide password temporarily utility function 2018-12-10 03:41:15 +01:00
Klaus Basan
49affde15b Ref T455, fixes for simulator settings
* trace unsaved changes
* use stripped paths for exclude patterns
* added missing "parseExcludeDirectories" which was the source of the reported 1st bug
2018-12-07 02:37:16 +01:00
Klaus Basan
76913fd069 Ref T455, use combobox in model dialogs as radio boxes are too wide 2018-12-07 02:37:16 +01:00
Klaus Basan
345f207480 Ref T430, fixed selector for FG 2018-12-07 02:37:15 +01:00
Klaus Basan
363b7c9966 Ref T430, style 2018-12-07 02:37:15 +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
02213e860d Ref T442, style 2018-12-07 02:37:14 +01:00
Klaus Basan
669a1ea995 Ref T452, fixed "invisible main area" after re-docking plus style 2018-12-07 02:37:13 +01:00
Klaus Basan
280c9a4e56 Improved size calculation of overlay text message
* larger text message overlay
* fixed min.size calculation
2018-12-07 02:37:13 +01:00
Klaus Basan
18788a8d4d Ref T442, own ATC station tree view class 2018-12-07 02:37:13 +01:00
Klaus Basan
624de52724 Ref T442, connected tree view signals 2018-12-05 04:04:00 +01:00
Klaus Basan
42af510342 Check for minimum mapping version
* check functions in gui application/application
* check for instance mapping wizard
* check on mapping tool's stashing component
2018-12-05 04:03:59 +01:00
Klaus Basan
774458afc9 Viewbase style, UI style 2018-12-05 04:03:59 +01:00
Klaus Basan
45e34001a8 Ref T442, moved tree model into own class
* columns can be used as with list model
* own class/file
2018-12-05 04:03:59 +01:00
Klaus Basan
8c74d8c386 Ref T442, column formatter utility functions 2018-12-05 04:03:44 +01:00
Klaus Basan
34cb0abdf0 Ref T442, style 2018-12-05 04:03:43 +01:00
Klaus Basan
1f60390cea On login page, on clear aircraft/airline fields with simulator attached 2018-12-05 04:03:43 +01:00