-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathStatisticsDialog.h
38 lines (30 loc) · 1.06 KB
/
StatisticsDialog.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
#ifndef STATISTICSDIALOG_H
#define STATISTICSDIALOG_H
#include <QDialog>
#include <QTreeWidget>
namespace Ui {
class StatisticsDialog;
}
class StatisticsDialog : public QDialog
{
Q_OBJECT
public:
explicit StatisticsDialog(QWidget *parent = nullptr, QTreeWidget *tree = nullptr, bool filterActive = false);
~StatisticsDialog();
private slots:
void on_comboBoxStyle_currentIndexChanged(int index);
void on_comboBox_currentTextChanged(const QString &arg1);
void on_dateEditFrom_dateTimeChanged(const QDateTime &dateTime);
void on_dateEditTo_dateTimeChanged(const QDateTime &dateTime);
void on_checkBoxFilter_toggled(bool checked);
private:
Ui::StatisticsDialog *ui;
QTreeWidget *m_pTourTree;
QStringList m_bikeTitles;
const QStringList m_colors = { "palevioletred", "darkred", "tomato", "chocolate", "sandybrown", "gold", "yellowgreen", "seagreen", "mediumturquoise", "deepskyblue" };
void plotCreate( void );
void plotDaysOfWeek( void );
void plotMonths( void );
void plotYears( void );
};
#endif // STATISTICSDIALOG_H