-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhistogramwindow.h
37 lines (28 loc) · 898 Bytes
/
histogramwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef HISTOGRAMWINDOW_H
#define HISTOGRAMWINDOW_H
#include <QDialog>
#include <QtCharts>
namespace Ui {
class histogramWindow;
}
class histogramWindow : public QDialog
{
Q_OBJECT
public:
// explicit histogramWindow(QWidget *parent = nullptr);
explicit histogramWindow(QWidget *parent, QVector<QString> setNameVector, QVector<QVector<unsigned long>> data, QString chartTitle);
// histogramWindow(QWidget *parent = nullptr, const int& numberOfSets = 0, const int& numberOfSeries = 0,
// const QStringList& legendNames = QStringList(""), const QVector<double>& data = QVector<double>(0));
~histogramWindow();
private:
Ui::histogramWindow *ui;
void setHistColor(QVector<QBarSet *>& histSetVector, unsigned char depthItr);
};
#endif // HISTOGRAMWINDOW_H
/**
* the number of sets
* the number of series
* the data
* the legend names
*
*/