From 2fe1dfe83ad2c9f55010bef5bad48c4fd4b04bea Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 25 Aug 2014 15:46:08 -0300 Subject: Remove a lot of non-necessary boilerplate code. We used to have a very sad way of controlling the statistics, now we will create the model when there's a need for it. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/statistics/statisticswidget.cpp | 5 +++++ qt-ui/statistics/statisticswidget.h | 12 ++++++++++++ 2 files changed, 17 insertions(+) (limited to 'qt-ui/statistics') diff --git a/qt-ui/statistics/statisticswidget.cpp b/qt-ui/statistics/statisticswidget.cpp index e69de29bb..71ac7843e 100644 --- a/qt-ui/statistics/statisticswidget.cpp +++ b/qt-ui/statistics/statisticswidget.cpp @@ -0,0 +1,5 @@ +#include "statisticswidget.h" + +YearlyStatisticsWidget::YearlyStatisticsWidget(QWidget *parent): QGraphicsView(parent) +{ +} diff --git a/qt-ui/statistics/statisticswidget.h b/qt-ui/statistics/statisticswidget.h index e69de29bb..b01f2ee17 100644 --- a/qt-ui/statistics/statisticswidget.h +++ b/qt-ui/statistics/statisticswidget.h @@ -0,0 +1,12 @@ +#ifndef YEARLYSTATISTICSWIDGET_H +#define YEARLYSTATISTICSWIDGET_H + +#include + +class YearlyStatisticsWidget : public QGraphicsView { + Q_OBJECT +public: + YearlyStatisticsWidget(QWidget *parent = 0); +}; + +#endif \ No newline at end of file -- cgit v1.2.3-70-g09d2