[Paraview-developers] Collapse in pqPipelineBrowserWidget

Зиганшин Шагит ZiganshinShagit at hotmail.com
Mon Oct 31 16:47:47 EDT 2016


Hi!

I'm tryng to implement autocollapse in pipeline browser, but overriding pqPipelineBrowserWidget::expandWithModelIndexTranslation or implement my method for autocollapse cause crashes, e.g

void pqPipelineBrowserWidget::collapseWithModelTranslation(const QModelIndex& index)
{
  this->collapse(this->FilteredPipelineModel->mapFromSource(index));
}


this method calling by a signal in pqPipelineModel::addChild. The signal emitts like a pqPipelineModel::firstChildAdded signal, but my signal calls when row count is more than 0.

Where did I go wrong?


Shagit Ziganshin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20161031/bfbcf1f4/attachment.html>


More information about the Paraview-developers mailing list