1 #ifndef STATISTICSDIALOG_H
2 #define STATISTICSDIALOG_H
7 class StatisticsDialog;
27 explicit StatisticsDialog(
bool global =
true,
int idCustomer = 0, QWidget *parent = 0);
37 void updateUi(
int nbBills,
int nbBillsPaid,
int nbQuotes,
int nbProjects);
52 Ui::StatisticsDialog *ui;
60 #endif // STATISTICSDIALOG_H
QString singularPlural(int nb)
Get the correct terminaison.
Definition: statisticsdialog.cpp:64
StatisticsDialog(bool global=true, int idCustomer=0, QWidget *parent=0)
Construct a windows StatisticsDialog.
Definition: statisticsdialog.cpp:12
void updateUi(int nbBills, int nbBillsPaid, int nbQuotes, int nbProjects)
Update interface (text)
Definition: statisticsdialog.cpp:28
The StatisticsDialog class window to have global informations or about a customer.
Definition: statisticsdialog.h:17
void changeMainTitle()
Change the title of the windows if it's global stats or customer stats.
Definition: statisticsdialog.cpp:55