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

Method saveOnClose

Qt/Python/pqPythonTabWidget.cxx:319–332  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

317
318//-----------------------------------------------------------------------------
319bool pqPythonTabWidget::saveOnClose()
320{
321 bool rValue = true;
322 for (int i = 0; rValue && i < this->count() - 1; ++i)
323 {
324 pqPythonTextArea* widget = this->getWidget<pqPythonTextArea>(i);
325 if (widget && !widget->isLinked())
326 {
327 rValue &= widget->saveOnClose();
328 }
329 }
330
331 return rValue;
332}
333
334//-----------------------------------------------------------------------------
335void pqPythonTabWidget::createParaviewTraceTab()

Callers 1

pqPythonTabWidgetMethod · 0.45

Calls 1

countMethod · 0.45

Tested by

no test coverage detected