Skip to content
Snippets Groups Projects
Commit 7af27692 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

SampleView show both 3D and Py

parent c712dfdd
No related branches found
No related tags found
1 merge request!2073repair sample layer view (#808)
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include <QDockWidget> #include <QDockWidget>
#include <QMenu> #include <QMenu>
#include <QMessageBox> #include <QMessageBox>
#include <QTabWidget>
#include <QToolButton> #include <QToolButton>
#include <QWidgetAction> #include <QWidgetAction>
...@@ -66,14 +65,14 @@ SampleView::SampleView(QWidget* parent, ProjectDocument* document) ...@@ -66,14 +65,14 @@ SampleView::SampleView(QWidget* parent, ProjectDocument* document)
//... Below central widget: realspace and script panels //... Below central widget: realspace and script panels
auto* tabs = new QTabWidget; auto* hLayout2 = new QHBoxLayout;
vLayout->addWidget(tabs); vLayout->addLayout(hLayout2);
m_realspacePanel = new RealspacePanel(this); m_realspacePanel = new RealspacePanel(this);
tabs->addTab(m_realspacePanel, "3D view"); hLayout2->addWidget(m_realspacePanel);
auto* scriptPanel = new ScriptPanel(this); auto* scriptPanel = new ScriptPanel(this);
tabs->addTab(scriptPanel, "Python"); hLayout2->addWidget(scriptPanel);
//... Finish //... Finish
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment