22 #include <QStackedLayout> 
   26 #include "src/functions/astat.h" 
   27 #include "src/database/adatabase.h" 
   28 #include "src/classes/asettings.h" 
   29 #include "src/classes/acurrencyentry.h" 
   40     explicit HomeWidget(QWidget *parent = 
nullptr);
 
   46     QList<QLabel*> limitationDisplayLabels;
 
   48     int            currWarningThreshold;
 
   49     double         ftlWarningThreshold;
 
   52     void fillSelectedCurrencies();
 
   53     void fillCurrencyTakeOffLanding();
 
   54     void fillCurrency(ACurrencyEntry::CurrencyName currency_name, QLabel *display_label);
 
   55     void fillLimitations();
 
   57     enum class Colour {Red, Orange, None};
 
   58     inline void setLabelColour(QLabel* label, Colour colour)
 
   62             label->setStyleSheet(QString());
 
   65             label->setStyleSheet(QStringLiteral(
"color: red"));
 
   68             label->setStyleSheet(QStringLiteral(
"color: orange"));
 
   71             label->setStyleSheet(QString());
 
   76     inline void hideLabels(QLabel* label1, QLabel* label2) {
 
   84     const QString userName();
 
   85     void checkAllCurrencies();
 
   90 #endif // HOMEWIDGET_H