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

Method editMacro

Qt/Python/pqPythonManager.cxx:279–288  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

277}
278//----------------------------------------------------------------------------
279void pqPythonManager::editMacro(const QString& fileName)
280{
281 pqPythonScriptEditor* pyEditor = pqPythonScriptEditor::getUniqueInstance();
282
283 pyEditor->setPythonManager(this);
284 pyEditor->show();
285 pyEditor->raise();
286 pyEditor->activateWindow();
287 pyEditor->open(fileName);
288}

Callers 2

createEditorMethod · 0.80
onEditPressedMethod · 0.80

Calls 3

setPythonManagerMethod · 0.80
showMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected