diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-08-25 15:46:08 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-25 13:57:28 -0700 |
commit | 2fe1dfe83ad2c9f55010bef5bad48c4fd4b04bea (patch) | |
tree | 13343656bbb3414d1a2a6a538be531efd26f510e /qt-ui/statistics | |
parent | 537b42e3f7922e41cf3851b297033cc1f07fb922 (diff) | |
download | subsurface-2fe1dfe83ad2c9f55010bef5bad48c4fd4b04bea.tar.gz |
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 <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/statistics')
-rw-r--r-- | qt-ui/statistics/statisticswidget.cpp | 5 | ||||
-rw-r--r-- | qt-ui/statistics/statisticswidget.h | 12 |
2 files changed, 17 insertions, 0 deletions
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 <QGraphicsView> + +class YearlyStatisticsWidget : public QGraphicsView { + Q_OBJECT +public: + YearlyStatisticsWidget(QWidget *parent = 0); +}; + +#endif
\ No newline at end of file |