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" 
   48     explicit HomeWidget(QWidget *parent = 
nullptr);
 
   54     QList<QLabel*> limitationDisplayLabels;
 
   60     int            currWarningThreshold;
 
   65     double         ftlWarningThreshold;
 
   68     void fillSelectedCurrencies();
 
   69     void fillCurrencyTakeOffLanding();
 
   70     void fillCurrency(ACurrencyEntry::CurrencyName currency_name, QLabel *display_label);
 
   71     void fillLimitations();
 
   73     enum class Colour {Red, Orange, None};
 
   74     inline void setLabelColour(QLabel* label, Colour colour)
 
   78             label->setStyleSheet(QString());
 
   81             label->setStyleSheet(QStringLiteral(
"color: red"));
 
   84             label->setStyleSheet(QStringLiteral(
"color: orange"));
 
   87             label->setStyleSheet(QString());
 
   92     inline void hideLabels(QLabel* label1, QLabel* label2) {
 
  100     const QString userName();
 
  101     void checkAllCurrencies();
 
  113 #endif // HOMEWIDGET_H