refs #535, updated aircraft model / view

* add functions to apply changes to selected objects
* allow to highlight models by their model strings
* Utility function to show which parts come from DB
* model strings can be obtained sorted/unsorted
This commit is contained in:
Klaus Basan
2015-12-13 19:40:04 +01:00
parent ecb4694c7f
commit 1601ca62fd
10 changed files with 156 additions and 30 deletions

View File

@@ -76,7 +76,16 @@ namespace BlackMisc
int removeModelsWithString(const QStringList &modelStrings, Qt::CaseSensitivity sensitivity);
//! Model strings
QStringList getSortedModelStrings() const;
QStringList getModelStrings(bool sort = true) const;
//! Update distributors
void updateDistributor(const CDistributor &distributor);
//! Update aircraft ICAO
void updateAircraftIcao(const BlackMisc::Aviation::CAircraftIcaoCode &icao);
//! Update livery
void updateLivery(const BlackMisc::Aviation::CLivery &livery);
};
} //namespace