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

Method getMacro

Qt/Python/pqPythonMacroSupervisor.cxx:159–166  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

157
158//----------------------------------------------------------------------------
159QAction* pqPythonMacroSupervisor::getMacro(const QString& fileName)
160{
161 if (this->Internal->RunActionMap.contains(fileName))
162 {
163 return this->Internal->RunActionMap[fileName];
164 }
165 return nullptr;
166}
167//----------------------------------------------------------------------------
168void pqPythonMacroSupervisor::addWidgetForRunMacros(QWidget* widget)
169{

Callers 2

addMacroMethod · 0.95
removeMacroMethod · 0.95

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected