Skip to content

Commit 77b2d63

Browse files
committed
Merge branch 'master' into plot-matrix-settings
Conflicts: ParaViewCore/ClientServerCore/vtkPVPlotMatrixRepresentation.h VTK Change-Id: Ic4c200b49c225cda93d8c7b92da69ed70728ec54
2 parents df246f4 + acdee51 commit 77b2d63

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

ParaViewCore/ClientServerCore/vtkPVPlotMatrixRepresentation.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ class VTK_EXPORT vtkPVPlotMatrixRepresentation : public vtkChartRepresentation
105105
virtual bool RemoveFromView(vtkView *view);
106106

107107
private:
108+
vtkPVPlotMatrixRepresentation(const vtkPVPlotMatrixRepresentation&); // Not implemented
109+
void operator=(const vtkPVPlotMatrixRepresentation&); // Not implemented
110+
108111
vtkColor4ub ActivePlotColor;
109112
vtkColor4ub ScatterPlotColor;
110113
vtkColor4ub HistogramColor;

Qt/Components/pqPipelineBrowserWidget.cxx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pqPipelineBrowserWidget::pqPipelineBrowserWidget(QWidget* parentObject)
102102
// Make sure the tree items get expanded when new descendents
103103
// are added.
104104
QObject::connect(this->PipelineModel, SIGNAL(firstChildAdded(const QModelIndex &)),
105-
this, SLOT(expand(const QModelIndex &)));
105+
this, SLOT(expandWithModelIndexTranslation(const QModelIndex &)));
106106
}
107107

108108
//-----------------------------------------------------------------------------
@@ -288,3 +288,9 @@ const pqPipelineModel* pqPipelineBrowserWidget::getPipelineModel(const QModelInd
288288
// Make a recusrive call to support unknown filter depth
289289
return this->getPipelineModel(filterModel->mapToSource(index));
290290
}
291+
292+
//----------------------------------------------------------------------------
293+
void pqPipelineBrowserWidget::expandWithModelIndexTranslation(const QModelIndex &index)
294+
{
295+
this->expand(this->FilteredPipelineModel->mapFromSource(index));
296+
}

Qt/Components/pqPipelineBrowserWidget.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public slots:
7575

7676
protected slots:
7777
void handleIndexClicked(const QModelIndex& index);
78+
void expandWithModelIndexTranslation(const QModelIndex &);
7879

7980
protected:
8081
/// sets the visibility for items in the indices list.

0 commit comments

Comments
 (0)