FactDev  0.1
Gui::Dialogs::StatisticsDialog Class Reference

The StatisticsDialog class window to have global informations or about a customer. More...

#include <statisticsdialog.h>

Inheritance diagram for Gui::Dialogs::StatisticsDialog:

Public Member Functions

 StatisticsDialog (bool global=true, int idCustomer=0, QWidget *parent=0)
 Construct a windows StatisticsDialog. More...
 
void updateUi (int nbBills, int nbBillsPaid, int nbQuotes, int nbProjects)
 Update interface (text) More...
 
void changeMainTitle ()
 Change the title of the windows if it's global stats or customer stats.
 
QString singularPlural (int nb)
 Get the correct terminaison. More...
 

Detailed Description

The StatisticsDialog class window to have global informations or about a customer.

Constructor & Destructor Documentation

Gui::Dialogs::StatisticsDialog::StatisticsDialog ( bool  global = true,
int  idCustomer = 0,
QWidget *  parent = 0 
)
explicit

Construct a windows StatisticsDialog.

Parameters
globalif it's the global stats or customer stats
idCustomerthe id of the Customer

Member Function Documentation

QString Gui::Dialogs::StatisticsDialog::singularPlural ( int  nb)

Get the correct terminaison.

Parameters
nb
void Gui::Dialogs::StatisticsDialog::updateUi ( int  nbBills,
int  nbBillsPaid,
int  nbQuotes,
int  nbProjects 
)

Update interface (text)

Parameters
nbBills
nbBillsPaid
nbQuotes
nbProjects

The documentation for this class was generated from the following files: