-
Notifications
You must be signed in to change notification settings - Fork 1
/
DialogCharts.hpp
43 lines (36 loc) · 1022 Bytes
/
DialogCharts.hpp
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
38
39
40
41
42
43
/**************************************************************************
** Code written by Hesam Gholami.
**
** Email: hesamgholami@yahoo.com
** Website: http://hesam.org
**
** This file created in 12.
**************************************************************************/
#ifndef DIALOGCHARTS_HPP
#define DIALOGCHARTS_HPP
#include <QDialog>
#include <QtCharts>
using namespace QtCharts;
namespace Ui {
class DialogCharts;
}
class DialogCharts : public QDialog
{
Q_OBJECT
public:
explicit DialogCharts(QWidget *parent, QLineSeries *seriesBlData, QLineSeries *seriesBsData, QLineSeries *seriesLoading, QLineSeries *seriesWeighing);
~DialogCharts();
private:
void initBusyChart();
void initQueueChart();
Ui::DialogCharts *ui;
QChart *chartBusy;
QChart *chartQueue;
QLineSeries *seriesBlData;
QLineSeries *seriesBsData;
QLineSeries *seriesLoading;
QLineSeries *seriesWeighing;
QAreaSeries *seriesBl;
QAreaSeries *seriesBs;
};
#endif // DIALOGCHARTS_HPP