TraceX
 
Loading...
Searching...
No Matches
fenetrestatistiques.h
Go to the documentation of this file.
1#ifndef FENETRESTATISTIQUES_H
2#define FENETRESTATISTIQUES_H
3#include <QWidget>
4#include <QGraphicsScene>
5#include <vector>
7public:
8 static void afficherHistogramme(QWidget* conteneur, const std::vector<double>& listeTaux);
9private:
10 static void initialiserTranches(const std::vector<double>& listeTaux, int tranches[11]);
11 static void dessinerAxes(QGraphicsScene* scene, int origineX, int origineY, int valeurMaximale, int hauteurParGraduation, int largeurTotale);
12 static void ajouterTitresAxes(QGraphicsScene* scene, int origineX, int origineY, int largeurTotale);
13 static void ajouterBarres(QGraphicsScene* scene, const int tranches[11], const QStringList& etiquettesTranches, int origineX, int origineY, int largeurBarre, int espacementBarres, int hauteurMaximaleBarre, int valeurMaximale);
14 static void afficherVue(QWidget* conteneur, QGraphicsScene* scene, int largeurTotale, int hauteurMaximaleBarre);
15};
16#endif // FENETRESTATISTIQUES_H
Definition fenetrestatistiques.h:6
static void afficherHistogramme(QWidget *conteneur, const std::vector< double > &listeTaux)
Affiche un histogramme animé représentant les taux de traçabilité.
Definition fenetrestatistiques.cpp:38