aboutsummaryrefslogtreecommitdiff
path: root/historygraph.h
diff options
context:
space:
mode:
Diffstat (limited to 'historygraph.h')
-rw-r--r--historygraph.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/historygraph.h b/historygraph.h
new file mode 100644
index 0000000..b854d1e
--- /dev/null
+++ b/historygraph.h
@@ -0,0 +1,20 @@
+#ifndef HISTORYGRAPH_H
+#define HISTORYGRAPH_H
+
+#include <armadillo>
+#include <QtQuick>
+
+class HistoryGraph : public QQuickItem
+{
+ Q_OBJECT
+public:
+ HistoryGraph(QQuickItem *parent = 0);
+
+public slots:
+ void addHistoryItem(const int &item);
+
+protected:
+ QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *);
+};
+
+#endif // HISTORYGRAPH_H