-----------------------------------------------------------------------------
| 317 | |
| 318 | //----------------------------------------------------------------------------- |
| 319 | bool 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 | //----------------------------------------------------------------------------- |
| 335 | void pqPythonTabWidget::createParaviewTraceTab() |
no test coverage detected