mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Made source and destination panel QWidgets part of the MainWindow class.
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
@@ -370,8 +370,10 @@ private:
|
||||
|
||||
MapperGLCanvas* sourceCanvas;
|
||||
MapperGLCanvasToolbar* sourceCanvasToolbar;
|
||||
QWidget* sourcePanel;
|
||||
MapperGLCanvas* destinationCanvas;
|
||||
MapperGLCanvasToolbar* destinationCanvasToolbar;
|
||||
QWidget* destinationPanel;
|
||||
|
||||
OutputGLWindow* outputWindow;
|
||||
ConsoleWindow* consoleWindow;
|
||||
|
||||
Reference in New Issue
Block a user