From 56c9ebb2e41bd0487199ed95838cd9e1c1d9dd8d Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Thu, 24 Sep 2015 17:48:33 -0300 Subject: Added placeholder object for history graph; smaller main window. --- historygraph.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 historygraph.h (limited to 'historygraph.h') 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 +#include + +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 -- cgit v1.2.3