Made source and destination panel QWidgets part of the MainWindow class.

This commit is contained in:
Tats
2016-03-16 01:12:21 -04:00
parent 296772d34c
commit 448d9e877c
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -1398,7 +1398,7 @@ void MainWindow::createLayout()
sourceCanvasToolbar = new MapperGLCanvasToolbar(sourceCanvas, this);
QVBoxLayout* sourceLayout = new QVBoxLayout;
QWidget* sourcePanel = new QWidget(this);
sourcePanel = new QWidget(this);
sourceLayout->setContentsMargins(0, 0, 0, 0);
sourceLayout->addWidget(sourceCanvas);
@@ -1412,7 +1412,7 @@ void MainWindow::createLayout()
destinationCanvasToolbar = new MapperGLCanvasToolbar(destinationCanvas, this);
QVBoxLayout* destinationLayout = new QVBoxLayout;
QWidget* destinationPanel = new QWidget(this);
destinationPanel = new QWidget(this);
destinationLayout->setContentsMargins(0, 0, 0, 0);
destinationLayout->addWidget(destinationCanvas);
+2
View File
@@ -370,8 +370,10 @@ private:
MapperGLCanvas* sourceCanvas;
MapperGLCanvasToolbar* sourceCanvasToolbar;
QWidget* sourcePanel;
MapperGLCanvas* destinationCanvas;
MapperGLCanvasToolbar* destinationCanvasToolbar;
QWidget* destinationPanel;
OutputGLWindow* outputWindow;
ConsoleWindow* consoleWindow;