refs #391, allow to send aircraft parts from GUI

* GUI component for aircraft parts
* remote aircraft selector component
* Adjusted GUI for internals component
* Enable / disable debug messages from GUI
* Allow to init engines directly
* Removed unused async sort in sequence

In same step fixed found issues in interpolator
* allow to set max rendered aircraft
This commit is contained in:
Klaus Basan
2015-03-07 03:34:17 +01:00
parent f31445e873
commit 5ed95aee3d
63 changed files with 1575 additions and 165 deletions

View File

@@ -503,22 +503,6 @@ namespace BlackMisc
return result;
}
/*!
* \brief Return a copy as derived container sorted by a given comparator predicate.
* \remarks Sorts in background.
*/
template <class TargetContainer, class Predicate>
QFuture<TargetContainer> sortedAsync(Predicate p) const
{
TargetContainer result = *this;
QFuture<TargetContainer> f = QtConcurrent::run([ = ]()
{
result.sort(p);
return result;
});
return f;
}
/*!
* \brief Return a copy sorted by some particular key(s).
* \param key1 A pointer to a member function of T.