22 #include <QStackedLayout>
26 #include "src/functions/statistics.h"
27 #include "src/database/database.h"
28 #include "src/classes/settings.h"
47 explicit HomeWidget(QWidget *parent =
nullptr);
53 QList<QLabel*> limitationDisplayLabels;
59 int currWarningThreshold;
64 double ftlWarningThreshold;
67 void fillSelectedCurrencies();
68 void fillCurrencyTakeOffLanding();
70 void fillLimitations();
72 enum class Colour {Red, Orange, None};
73 inline void setLabelColour(QLabel* label, Colour colour)
77 label->setStyleSheet(QString());
80 label->setStyleSheet(QStringLiteral(
"color: red"));
83 label->setStyleSheet(QStringLiteral(
"color: orange"));
86 label->setStyleSheet(QString());
91 inline void hideLabels(QLabel* label1, QLabel* label2) {
99 const QString userName();
CurrencyName
Enumerates the currency names.
Definition: opl.h:127
DbTable
Enumerates the tables in the database.
Definition: opl.h:122