mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-03 16:25:54 +08:00
refs #820, utility functions for score and groupBy
This commit is contained in:
@@ -82,12 +82,18 @@ namespace BlackMisc
|
||||
//! Best selection by given pattern, also searches IATA and family information
|
||||
CAircraftIcaoCode smartAircraftIcaoSelector(const CAircraftIcaoCode &icaoPattern) const;
|
||||
|
||||
//! Group by designator and manufacturer
|
||||
CAircraftIcaoCodeList groupByDesignatorAndManufacturer() const;
|
||||
|
||||
//! Sort by rank
|
||||
void sortByRank();
|
||||
|
||||
//! Sort by designator first, then by rank
|
||||
void sortByDesignatorAndRank();
|
||||
|
||||
//! Sort by designator first, then by manufacturer and rank
|
||||
void sortByDesignatorManufacturerAndRank();
|
||||
|
||||
//! For selection completion
|
||||
QStringList toCompleterStrings(bool withIataCodes = false, bool withFamily = false, bool sort = true) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user