mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add the old Statistics to have a reference view while programming
Added the old statistics panel at the botton of the new one to have a reference view of the statistics while programming the new one. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2fe1dfe83a
commit
750fc529b7
1 changed files with 4 additions and 0 deletions
|
@ -548,6 +548,10 @@ void MainWindow::on_actionYearlyStatistics_triggered()
|
|||
YearlyStatisticsWidget *s = new YearlyStatisticsWidget();
|
||||
QVBoxLayout *l = new QVBoxLayout(&d);
|
||||
l->addWidget(s);
|
||||
YearlyStatisticsModel *m = new YearlyStatisticsModel();
|
||||
QTreeView *view = new QTreeView();
|
||||
view->setModel(m);
|
||||
l->addWidget(view);
|
||||
d.exec();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue