aboutsummaryrefslogtreecommitdiff
path: root/historygraph.h
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2015-09-24 17:48:33 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2015-09-24 17:48:33 -0300
commit56c9ebb2e41bd0487199ed95838cd9e1c1d9dd8d (patch)
tree22a05cbba90350fa99665cf71036f035c8e7dbc6 /historygraph.h
parent815e94416bdf6bdd012e744c359f0b086da6b6af (diff)
Added placeholder object for history graph; smaller main window.
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