From 52064d9e02a6ca559beb8f8e64e28e2ef77c5e44 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 15 Jan 2014 13:20:05 -0200 Subject: Added debug code to help understand the Profile This commit adds a QTableView if built in debug mode. This is very userful to understand the Profile that will be drawn by the graphics classes and fix the possible errors. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qt-ui/mainwindow.cpp') diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index ad7d26a4e..293bc84be 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -125,6 +125,9 @@ void MainWindow::on_actionOpen_triggered() loadFiles( QStringList() << filename ); } +QTabWidget *MainWindow::tabWidget(){ + return ui.tabWidget; +} void MainWindow::on_actionSave_triggered() { file_save(); -- cgit v1.2.3-70-g09d2