MCPcopy Create free account
hub / github.com/Kitware/ParaView / stopTrace

Method stopTrace

Qt/Python/pqPythonTabWidget.cxx:360–369  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

358
359//-----------------------------------------------------------------------------
360void pqPythonTabWidget::stopTrace(const QString& str)
361{
362 this->createParaviewTraceTab();
363
364 const int traceWidgetId = this->indexOf(this->TraceWidget);
365 this->tabBar()->setCurrentIndex(traceWidgetId);
366 this->TraceWidget->setText(str);
367 this->TraceWidget = nullptr;
368 this->updateTab(this->widget(traceWidgetId));
369}
370
371//-----------------------------------------------------------------------------
372void pqPythonTabWidget::generateTabName(const pqPythonTextArea* widget, QString& tabName,

Callers 1

editTraceMethod · 0.45

Calls 6

updateTabMethod · 0.95
indexOfMethod · 0.45
setCurrentIndexMethod · 0.45
setTextMethod · 0.45
widgetMethod · 0.45

Tested by

no test coverage detected