Commit Graph

521 Commits

Author SHA1 Message Date
Mat Sutcliffe
d29576b67a Ref T552 Register value classes with qRegisterMetaTypeStreamOperators. 2019-04-12 13:57:17 +01:00
Mat Sutcliffe
6d9f9a286d Ref T552 Using QDataStream marshalling mixins in value classes. 2019-04-12 13:30:55 +01:00
Mat Sutcliffe
a366ad8943 Added with() and withValidation() methods in CLogCategoryList. 2019-04-12 13:30:54 +01:00
Mat Sutcliffe
1cb21f0a4b Ref T545 Removed redundant constructors that are now inherited. 2019-04-12 13:30:53 +01:00
Mat Sutcliffe
c05a32dbd4 Ref T545 Using constructor inheritance in derived container classes. 2019-04-12 13:30:51 +01:00
Mat Sutcliffe
980e1d7b80 Restored constexpr initialization and return-by-value of CMeasurementUnit constants
that were removed by commit 787b54108e.

For rationale, see the commits fef2bc528e, c8d78ada65, 07ec7e6bc1 where these
were originally introduced.
2019-04-12 13:30:48 +01:00
Klaus Basan
dd37c7b876 Ref T577, added dep. icons support (for ATC suffix) and changed string comparison to QStringView as discussed with MS 2019-04-11 22:12:19 +01:00
Klaus Basan
057031293d Ref T578, display level and path (not just path) 2019-04-11 22:12:03 +01:00
Klaus Basan
f54d85dfbc Ref T578, allow to search gliders in parallel branch
* utility functions
* logs
* fixed returning wrong result
2019-04-11 22:12:03 +01:00
Klaus Basan
246d9abca8 Ref T578, CG null and DB key improvements 2019-04-11 22:12:02 +01:00
Klaus Basan
57ae224c41 Ref T573, short XPDR string 2019-04-11 22:11:46 +01:00
Klaus Basan
0b29894bd8 Ref T472, completer displays category 2019-04-11 22:11:41 +01:00
Klaus Basan
13de708944 Ref T472, improved scoring for ICAO code and added category support 2019-04-11 22:11:41 +01:00
Klaus Basan
54adb40329 Ref T472, further utility functions for category handling 2019-04-11 22:11:40 +01:00
Klaus Basan
360edca4b3 Ref T472, utility functions for category 2019-04-11 22:11:39 +01:00
Klaus Basan
a4dc89a295 Ref T562, fix 2-letter aircraft ICAO codes
* added constexpr for aircraft ICAO min/max length
* use ICAO designator in FP if there is no "getCombinedPrefixIcaoSuffix"
2019-04-11 22:11:39 +01:00
Klaus Basan
e31fa91052 FP style 2019-04-11 22:11:38 +01:00
Klaus Basan
4e20c20274 CAircraftIcaoCode/CAirlineIcao style 2019-04-11 22:11:37 +01:00
Mat Sutcliffe
83dec5408b Ref T557 Metaclass flag to preserve measurement unit when marshalling PQ's in flight plans. 2019-04-11 22:11:35 +01:00
Klaus Basan
567a55503f Ref T556, fixed wrong meta member -> BLACK_METAMEMBER(cruiseTrueAirspeed) 2019-04-11 22:11:35 +01:00
Klaus Basan
5846860382 Ref T472, utility functions for aircraft categories 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
Klaus Basan
9cee34f4cc Ref T472, allow to pass already existing values for model parsing
* list to map: toDbKeyValueMap
* categories can also be passed, hence the categories can be seen in model views
2019-02-22 20:36:28 +00:00
Klaus Basan
c82efe441f Ref T472, category support for ICAO value objects 2019-02-22 20:36:18 +00:00
Klaus Basan
3be2cd6c5f Ref T472, style 2019-02-22 20:36:18 +00:00
Klaus Basan
cc6adc6c40 Ref T539, tree view can select objects and hence refresh ATIS display
* select signal for tree view
* signal/slots and connects
2019-02-22 20:36:17 +00:00
Klaus Basan
8bd6fdf9fc Ref T505, heading normalize 2019-02-22 20:36:09 +00:00
Klaus Basan
b85222e1f5 Ref T472, utility functions for category/category list 2019-02-22 20:35:58 +00:00
Klaus Basan
bada0c2f59 Ref T472, style 2019-02-22 20:35:55 +00:00
Mat Sutcliffe
077fd8c35a Ref T525 Avoid directly calling getLogCategories. 2019-02-22 20:35:52 +00:00
Mat Sutcliffe
fe7a45afcf Ref T516 Update CStatusMessage call sites to use new syntax. 2019-02-22 20:35:51 +00:00
Klaus Basan
509a60d06f Ref T524, filter by combined type/manufacturer 2019-02-22 20:35:46 +00:00
Klaus Basan
a90d4465a2 Ref T451, fixed temp. disabled model
* display info message
* aircraft model list implementing ICallsignObjectList (for message)
* fixed wrong flag in requestTempDisable
2019-02-22 20:35:33 +00:00
Klaus Basan
257c8ea9f9 Ref T472, aircraft category value object and list 2019-02-22 20:35:31 +00:00
Mat Sutcliffe
1493106970 Style: removed outdated comments and includes. 2019-02-22 20:35:15 +00:00
Mat Sutcliffe
1f83d677f3 Changed BLACK_FALLTHROUGH to Q_FALLTHROUGH(). 2019-02-22 20:35:12 +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
2d3e2e2d99 Ref T265, Ref T430, Ref T473 functions renamed 2019-02-22 20:23: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
d651a9ee95 Fixed mistake in CAircraftIcaoCode::guessModelParameters 2019-02-22 20:23:50 +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
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +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
cecec6107c Fixed clazy warnings: use QStringRef. 2019-02-22 20:23:38 +00:00
Mat Sutcliffe
c71d358648 Fixed clazy warnings: unnecessary containers and containers being detached. 2019-02-22 20:23:37 +00:00
Mat Sutcliffe
462172a87f Fixed clazy warnings: unnecessary containers and containers being detached in range-for loops. 2019-02-22 20:23:37 +00:00
Mat Sutcliffe
333ea1b8df Fixed clazy warnings: empty QStringLiteral. 2019-02-22 20:23:32 +00:00
Klaus Basan
4dae61c171 Ref T442, ATC station list split per suffix 2018-12-05 04:03:44 +01:00
Klaus Basan
0da8d85999 Ref T442, utility functions for logically sorting by suffix 2018-11-30 22:02:04 +01:00
Klaus Basan
7f7cf2e031 Ref T436, underflow detection for FSX
* utility functions
* force gnd flag to avoid underflow
2018-11-22 19:55:04 +01:00