Thu, 31 Mar 2022 16:24:03 +0200
Added part of a beercolor plugin that needs a lot of work. Added some rangesliders in the recipe editor. Added EBC and SRM color mapping to QColor.
#ifndef _UTILS_H #define _UTILS_H #include <QString> #include <QColor> /** * @namespace Utils * * @brief Global math functions. */ namespace Utils { double lintner_to_kolbach(double lintner); double kolbach_to_lintner(double kolbach); double ebc_to_srm(double ebc); double srm_to_ebc(double srm); QString hours_to_string(int hours); QColor srm_to_color(int srm); QColor ebc_to_color(int ebc); } #endif