Login UI/lookup improvements

* made tool -> push buttons as easier to spot
* reverse lookup of model before login -> always latest DB data
* use "text only" ICAO code if loading from DB yields no result
This commit is contained in:
Klaus Basan
2019-01-16 18:56:05 +01:00
committed by Mat Sutcliffe
parent 985674f1cf
commit 13c67e4838
12 changed files with 96 additions and 51 deletions

View File

@@ -42,6 +42,9 @@ namespace BlackMisc
//! Extract key from string like "MyAircraft (33)"
static int extractIntegerKey(const QString &stringWithKey);
//! Strip the parentheses part, e.g. "foo (123)" => "foo"
static QString stripKeyInParentheses(const QString &valueWithKey);
//! Parse a timestamp object
static QDateTime parseTimestamp(const QString &timestamp);