summaryrefslogtreecommitdiff
path: root/src/libs/utils/mathutils.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* TaskProgress: Add setHalfLifeTimePerTask()Jarek Kobus2022-12-061-3/+3
| | | | | | | | | | | Make it possible to specify expected half-life time per task. Make TaskProgress more fluent (50 Hz). Use exponential interpolation for TaskProgress. Set 30 seconds half-life time for UpdateInfoPlugin. Change-Id: I1b8a147f259caf6a11fbe06afd8cfe6d4606bb02 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
* MathUtils: Add exponential interpolationJarek Kobus2022-11-281-4/+21
| | | | | Change-Id: I58bb26a6e921cbd1f5532bddcd6a6700ff80b94f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* MathUtils: Add tangential interpolationJarek Kobus2022-11-281-1/+18
| | | | | | | | Reuse it in TaskProgress and in ProgressTimer. Rename MathUtils::interpolate() into interpolateLinear() Change-Id: Iff4cda1e3b8782cd26277ec75046ca5526be92c0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Move DiffUtils::interpolate into MathUtilsJarek Kobus2022-11-281-0/+30
Change-Id: Iac4a21a6c760d8fbf0dce380b1a9a587a9d3468e Reviewed-by: Eike Ziller <eike.ziller@qt.io>