Skip to content
Snippets Groups Projects
Commit 49b2cc40 authored by Lars Bilke's avatar Lars Bilke
Browse files

[DE] Moved signal connect to VisualizationWidget.

parent fe445f2e
No related branches found
No related tags found
No related merge requests found
...@@ -85,6 +85,9 @@ VisualizationWidget::VisualizationWidget(QWidget* parent /*= 0*/) ...@@ -85,6 +85,9 @@ VisualizationWidget::VisualizationWidget(QWidget* parent /*= 0*/)
// Set alternate cursor shapes // Set alternate cursor shapes
connect(_interactorStyle, SIGNAL(cursorChanged(Qt::CursorShape)), connect(_interactorStyle, SIGNAL(cursorChanged(Qt::CursorShape)),
this, SLOT(setCursorShape(Qt::CursorShape))); this, SLOT(setCursorShape(Qt::CursorShape)));
connect((QObject*)_interactorStyle, SIGNAL(requestViewUpdate()),
this, SLOT(updateView()));
} }
VisualizationWidget::~VisualizationWidget() VisualizationWidget::~VisualizationWidget()
......
...@@ -257,9 +257,6 @@ MainWindow::MainWindow(QWidget* parent /* = 0*/) ...@@ -257,9 +257,6 @@ MainWindow::MainWindow(QWidget* parent /* = 0*/)
SIGNAL(actorSelected(vtkProp3D*)), SIGNAL(actorSelected(vtkProp3D*)),
(QObject*) (visualizationWidget->interactorStyle()), (QObject*) (visualizationWidget->interactorStyle()),
SLOT(highlightActor(vtkProp3D*))); SLOT(highlightActor(vtkProp3D*)));
connect((QObject*) (visualizationWidget->interactorStyle()),
SIGNAL(requestViewUpdate()),
visualizationWidget, SLOT(updateView()));
// Propagates selected vtk object in the pipeline to the pick interactor // Propagates selected vtk object in the pipeline to the pick interactor
connect(vtkVisTabWidget->vtkVisPipelineView, connect(vtkVisTabWidget->vtkVisPipelineView,
......
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