Lubomir I. Ivanov 5b3dab719e MainWindow: maintain one window instance of the yearly statistics
This is a bit tricky because we are using a plain widget for
a window and don't have a class for it (req. more source files).
Also for the table model to update we need to create a new
YearlyStatisticsModel instance each time. At least, in that regard
we can re-create the model each time refreshDisplay() is called.

This patch adds a couple of private variables that are used
to manage the memory of the yearly statistics model and window
and also close that same window on MainWindow::closeEvent().

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-03-12 12:12:13 -07:00
..
2014-02-27 20:09:57 -08:00
2014-02-27 20:09:57 -08:00
2014-02-08 08:00:27 -08:00
2014-03-03 13:29:22 -08:00
2014-03-03 13:29:22 -08:00
2014-02-27 11:44:59 -08:00
2014-03-07 20:37:17 -08:00
2013-12-04 15:49:55 -08:00
2014-02-27 20:09:57 -08:00
2014-02-27 20:09:57 -08:00
2014-03-03 21:40:56 -08:00
2014-02-27 20:09:57 -08:00
2014-03-03 13:29:22 -08:00
2014-02-27 20:09:57 -08:00
2014-03-07 10:03:03 -08:00