3 #include <QtWidgets/QWidget>
5 #include "qtcsv/stringdata.h"
6 #include "qtcsv/reader.h"
7 #include "qtcsv/writer.h"
13 #include <unordered_map>
19 namespace fs = filesystem;
34 return (hash<int>()(d.getYear()) << 1)
35 ^ (hash<int>()(d.getMonth()) << 1)
36 ^ (hash<int>()(d.getDay()) << 1);
40 class Graphics2D :
public QOpenGLWidget,
protected QOpenGLFunctions
49 void initializeData(
string filespath);
51 void initializeGL() Q_DECL_OVERRIDE;
52 void resizeGL(
int w,
int h) Q_DECL_OVERRIDE;
53 void paintGL() Q_DECL_OVERRIDE;
61 QOpenGLShaderProgram program;
62 QOpenGLVertexArrayObject vao;
64 unordered_map<Calendar, vector<vector<string>>> data;
A Calendar from which you can access the whole data.
Definition: Calendar.h:83
Definition: Graphics2D.h:41
Definition: Calendar.h:53
std::size_t operator()(const Calendar &d) const
Definition: Graphics2D.h:25