Commit Graph

91 Commits

Author SHA1 Message Date
Mat Sutcliffe
4a0d8e9864 Fixed most Qt 5.14 deprecation warnings 2020-01-07 19:57:25 +00:00
Klaus Basan
429c91d93e Add flight plan HEAVY flag depending on DB data
see https://discordapp.com/channels/539048679160676382/542130771817791516/654404036199448589
2020-01-07 19:57:23 +00:00
Klaus Basan
67840b53c7 [FSD] Ref T753, avoid ":" in FPs
Also avoid unnecessary roundtrips of UI updates
2019-10-23 00:38:26 +02:00
Klaus Basan
678166175b Style 2019-09-16 22:41:24 +01:00
Klaus Basan
92f3dd392f Avoid shutdown if modal window closes
See https://discordapp.com/channels/539048679160676382/567139633964646411/613564665255034903
2019-09-16 22:41:24 +01:00
Klaus Basan
ea7b3316c9 Flight plan fixes based on https://discordapp.com/channels/539048679160676382/539486309882789888/597133111272275970
* improved setting of combox value, fixed wrong text
* do NOT emit signals when same index
* getOwnCallsign
* do NOT used cache FPs for own aircraft
2019-09-16 22:40:18 +01:00
Klaus Basan
be3283305a Ref T417, flight plan follow ups
* fixed eventfilter, only allow ASCII values, disable in read only mode
* set remarks values "from external"
* set SELCAL value
2019-09-16 22:40:13 +01:00
Klaus Basan
f827cfc5cd Ref T417, FP UI allow SimBrief download 2019-09-16 22:40:11 +01:00
Klaus Basan
fa8eed1611 Ref T691, tab focus in FP 2019-09-16 22:40:09 +01:00
Klaus Basan
fba288edc3 Ref T690, aded SVFR and DVFR to FP 2019-09-16 22:40:01 +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
3294a78fc4 Allow max. length of route and remarks combined 2019-05-13 11:20:41 +02:00
Klaus Basan
5caea5ad9b Ref T620, check for empty string as path, QDir("") exists 2019-05-13 11:20:40 +02:00
Klaus Basan
139ae130db Improved tooltip/error message 2019-05-13 11:20:37 +02:00
Klaus Basan
fbf761f3f0 Ref T599, use event filter for uc 2019-05-13 11:20:36 +02:00
Klaus Basan
22cedfe710 Ref T561, remember remarks history for remakrs/additional remarks
* settings
* use string list dialog
* adjust FP UI, "remark buttons"
2019-04-11 22:11:48 +01:00
Klaus Basan
e31fa91052 FP style 2019-04-11 22:11:38 +01:00
Klaus Basan
b0b8e82a2d Ref T559, add space after voice capabilities + fixed typo 2019-04-11 22:11:36 +01:00
Klaus Basan
5f047f0694 Ref T559, using Qt::QueuedConnection 2019-04-11 22:11:36 +01:00
Klaus Basan
1055c0fb17 Ref T556, FP related fixes
* myself guard
* improved overlay messages
* removed redundant constexpr.
2019-04-11 22:11:35 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Mat Sutcliffe
fe7a45afcf Ref T516 Update CStatusMessage call sites to use new syntax. 2019-02-22 20:35:51 +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
d89b217e9b PQ parsing using "best guess" strategy as default plus renamings 2019-02-22 20:23:54 +00:00
Mat Sutcliffe
d6b5dca6b2 Return a default-constructed QString instead of implicitly converting an empty string literal. 2019-02-22 20:23:49 +00:00
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Mat Sutcliffe
333ea1b8df Fixed clazy warnings: empty QStringLiteral. 2019-02-22 20:23:32 +00:00
Klaus Basan
40afedcaed Ref T448, completer in FP width 2018-12-05 04:03:43 +01:00
Klaus Basan
3096822f70 Use HTML overlay message in flightplan 2018-11-22 19:54:52 +01:00
Klaus Basan
fe8548a5d4 Ref T415, allow to manually override FP from simulator 2018-11-16 02:49:55 +01:00
Klaus Basan
13566676f6 Ref T424, use "altitude dialog" in flight plan 2018-11-06 01:41:48 +01:00
Klaus Basan
620cbe3882 Ref T415, vPilot format and improved voice capability parsing 2018-11-04 17:42:46 +01:00
Klaus Basan
ee73f93c13 Ref T415, adjusted FP UI so multiple formats can be loaded 2018-11-04 17:42:45 +01:00
Klaus Basan
9ead9fd338 Ref T323, UI message for overriding flight plan 2018-09-12 17:40:26 +02:00
Klaus Basan
8ba5463d18 Ref T310, renamings 2018-08-28 01:16:24 +02:00
Klaus Basan
722566453b Ref T306, use settings for flightplan and view directories 2018-08-26 15:27:01 +02:00
Klaus Basan
1b8383bee1 Guarding QTimer::singelShot operations, avoid to access dangling pointers 2018-05-08 16:06:39 +02:00
Klaus Basan
e3d17859a0 Ref T259, Ref T243 improved utility functions so parts can be guessed in interpolator
* engine count
* aligned naming to "getEnginesCount"
* formatting
2018-05-08 16:06:32 +02:00
Klaus Basan
bb65b7c280 Ref T226, renamed to swiftDbAllDataRead 2018-02-02 21:26:52 +01:00
Klaus Basan
ddaba89e2d Ref T214, demoted "route missing" to warning 2018-01-30 20:30:54 +01:00
Klaus Basan
18c7d7cf59 Use overlay messages for validation 2018-01-17 03:33:39 +01:00
Klaus Basan
3dc1c69653 Ref T219, some FP renamings and fix to set prefix/postfix in FP value object 2018-01-14 18:46:36 +01:00
Klaus Basan
0979b9cc77 Ref T215, FP component using the altitude line edit 2018-01-14 18:45:43 +01:00
Klaus Basan
2fb7bde447 Ref T215, some adjustments of user object
* remove "valid" from some functions, because no validity is checked
* homebase + real name string
2018-01-13 05:04:34 +01:00
Klaus Basan
26b5a6ce28 Found during T215, rectify CIdentifier issues
* null/anonymous identifier
* CIdentifier can be linked with QObject and
* CIdentifier reflects name changes of QObject (UI components change name after ctor call)
2018-01-13 05:04:27 +01:00
Klaus Basan
dd0f4058f2 Ref T215, FP UI improvements
* check can be stricht or lenient
* help page for equipment codes
* prefix handling H (vPilot) and T (TCAS)
* values automtaically derived from DB data
2018-01-13 05:04:19 +01:00
Klaus Basan
9799fc1724 Ref T215, using "COverlayMessagesTabWidget" for FP UI 2018-01-13 05:04:01 +01:00
Roland Winklmeier
069bfb921f Prevent sending the flightplan only if there are validation errors or warnings
Summary:
The flight plan initialization always contains messages. In case everything
was fine, it contains the info validation messages, that validation
passed. So messages is never empty and the flight plan was never sent out.
Instead, it should stop sending the flight plan if there were validation
errors or warnings.

Reviewers: #swift_pilot_client, kbasan

Reviewed By: #swift_pilot_client, kbasan

Subscribers: jenkins

Maniphest Tasks: T206

Differential Revision: https://dev.swift-project.org/D71
2017-12-13 09:42:26 +01:00
Klaus Basan
9ce37d94be Ref T129, flight plan component formatting 2017-10-10 00:28:12 +01:00
Klaus Basan
3d541a8dd1 Ref T129, SVFR/VFR discussion
* utility functions in flight plan class
* adjusted flight plan component and client
2017-10-10 00:28:09 +01:00