-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathanalysisdialog.h
81 lines (58 loc) · 1.79 KB
/
analysisdialog.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#ifndef ANALYSISDIALOG_H
#define ANALYSISDIALOG_H
#include <QDialog>
#include <QStandardItemModel>
#include "bcmgr.h"
#include "QMessageBox"
#include "learnmgr.h"
#include "QCalendarWidget"
namespace Ui {
class AnalysisDialog;
}
class AnalysisDialog : public QDialog
{
Q_OBJECT
public:
explicit AnalysisDialog(QWidget *parent = 0);
~AnalysisDialog();
public:
void colorProjectInit();
void plotInit();
void pieChartInit();
void BookComboBoxInit();
void getBookList();
void reviewCalculate();
private slots:
void on_ChoiceListWidget_currentRowChanged(int currentRow);
void on_LBarRadioButton_clicked();
void on_LLineRadioButton_clicked();
void on_tabWidget_currentChanged(int index);
void on_dateEdit_dateChanged(const QDate &date);
void on_LRadioButton_clicked();
void on_RRadioButton_clicked();
void on_RBarRadioButton_clicked();
void on_RLineRadioButton_clicked();
void on_BookComboBox_currentIndexChanged(int index);
void learnShowToolTip(const QModelIndex& index);
void reviewShowToolTip(const QModelIndex& index);
void pieShowToolTip(const QModelIndex& index);
void on_DataPushButton_clicked();
void setdate();
void on_LSpinBox_valueChanged(int arg1);
void on_RSpinBox_valueChanged(int arg1);
private:
Ui::AnalysisDialog *ui;
QStandardItemModel *itemModel;
QStandardItemModel *reviewItemModel;
QStandardItemModel *LHLItemModel;
QStandardItemModel *HG5ItemModel;
QStandardItemModel *HG4A3ItemModel;
QStandardItemModel *HGU3ItemModel;
QCalendarWidget *calendar;
QStringList dateList;
QStringList bookpaths;
QStringList tablenames;
QList< QMap<QString,QList<int> > > record;
QMap<int,Qt::GlobalColor> colorProject;
};
#endif // ANALYSISDIALOG_H