Commit Graph

69 Commits

Author SHA1 Message Date
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
Klaus Basan
a9198e4f13 Ref T103, Unified naming of directory functions
* some started with get/some not (removed get, get is normally used for our getters)
* some used swift, getSwiftXZY dir (removed swift)
* used full word "directory", not dir/directory mixed
2017-09-24 19:49:53 +01:00
Klaus Basan
debd9c802f Ref T103, moved directory functions from CBuildConfig to CDirectoryUtils
getApplicationDir renamed to getBinDir() as it works different on MacOs
see https://dev.swift-project.org/w/dev/swiftpc/dirstructure/
2017-09-24 19:49:51 +01:00
Mathew Sutcliffe
d5ab73e1bc Replace QRegExp with QRegularExpression
Reviewers: kbasan, msutcliffe

Reviewed By: kbasan, msutcliffe

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D11
2017-05-05 23:08:35 +01:00
Klaus Basan
e787d50e47 refs #923, use CVariant JSON to load/save flight plan 2017-04-18 00:06:22 +01:00
Klaus Basan
4e7144db08 refs #859, flight plan UI formatting and value update 2017-02-24 00:09:09 +00:00
Mathew Sutcliffe
51c3ae8c25 refs #815 Catch and handle CJsonException when calling convertFromJson. 2017-01-10 23:46:36 +00:00
Klaus Basan
cdea8cff95 refs #780, fixes login/flightplan preset
* empty airline is valid
* sync with flightplan (new signal to indicate changed login values)
* better preset of own model
2016-12-06 09:33:57 +01:00
Klaus Basan
7279772cab refs #768, changes to QSet<QString>
* based on review https://dev.vatsim-germany.org/issues/768#note-5
* changed a few signatures to QSet<QString>
2016-12-06 09:33:42 +01:00
Klaus Basan
0f06468f9e Minor renaming and UI fix 2016-10-17 14:34:19 +01:00
Klaus Basan
1d1815de43 refs #748, add airport completers
* in flight plan
* in login
* utility functions
2016-08-28 23:26:11 +02:00
Roland Winklmeier
10810f5003 Explicitly use QTabBar scroll buttons
Even though QTabBar's property usesScrollButtons is set to true in Qt
Designer, it is not set explicitly in generated C++ code. The default
value is style dependent, which caused the scroll buttons to be visibile
everywhere except Mac OS/X.

refs #683
2016-08-26 21:05:09 +01:00
Klaus Basan
d65c2dddfb refs #726, flight plan fixes
* airports as normal 4 character fields
* validation messsage if validation is OK
2016-08-26 21:04:37 +01:00
Klaus Basan
e2f8f097e0 refs #712, completers and load from disk for flight plan 2016-07-28 21:08:26 +02:00
Klaus Basan
d782839cb8 refs #703, moved context to subdir
* ns: Context
* adjusted using classes
2016-07-14 18:49:08 +02:00
Roland Winklmeier
f4c2939253 Fix BlackGui header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:31:11 +02:00
Klaus Basan
3829aaeae8 refs #485, removal of CEnableForRuntime 2016-03-18 01:08:05 +00:00
Klaus Basan
f9c160d625 refs #533, fix callsign validation and split into functions for ATC/aircraft 2015-12-08 20:14:20 +01:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Klaus Basan
6ca0d480d3 refs #452 adjusted GUI components to
* changed classes (e.g. CAircraft -> CSimulatedAircraft)
* changes signatures in contexts / providers
* minor fixes as renamed GUI widgets, asserts, paint event
2015-11-19 20:59:35 +00:00
Mathew Sutcliffe
d4d862927e refs #441 Rename COriginator to CIdentifier and rename COriginatorAware to CIdentifiable. 2015-06-06 18:02:16 +01:00
Roland Winklmeier
ee0bfd62fa refs #428 Use COriginator instead of QString in internal API 2015-05-25 16:06:44 +02:00
Klaus Basan
104122023c Aircraft ICAO data should use ICAO code as attribute, this somehow got lost in the merge session, re-applied 2015-05-17 20:29:06 +02:00