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

Function addActionToWidgets

Qt/Python/pqPythonMacroSupervisor.cxx:134–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 }
133}
134void addActionToWidgets(QAction* action, QList<QPointer<QWidget>>& widgets)
135{
136 Q_FOREACH (QWidget* widget, widgets)
137 {
138 removePlaceHolderIfNeeded(widget);
139 if (widget)
140 {
141 widget->addAction(action);
142 }
143 }
144}
145void removeActionFromWidgets(QAction* action, QList<QPointer<QWidget>>& widgets)
146{
147 Q_FOREACH (QWidget* widget, widgets)

Callers 1

addMacroMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected