MCPcopy Create free account
hub / github.com/baldurk/renderdoc / foreach

Function foreach

qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManager.cpp:156–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154 ToolWindowManager::ToolWindowProperty properties)
155{
156 foreach(QWidget *toolWindow, toolWindows)
157 {
158 if(!toolWindow)
159 {
160 qWarning("cannot add null widget");
161 continue;
162 }
163 if(m_toolWindows.contains(toolWindow))
164 {
165 qWarning() << "this tool window has already been added" << toolWindow->objectName();
166 continue;
167 }
168 toolWindow->hide();
169 toolWindow->setParent(0);
170 m_toolWindows << toolWindow;
171 m_toolWindowProperties[toolWindow] = properties;
172 QObject::connect(toolWindow, &QWidget::windowTitleChanged, this,
173 &ToolWindowManager::windowTitleChanged);
174 }
175 moveToolWindows(toolWindows, area);
176}
177

Callers

nothing calls this directly

Calls 15

connectFunction · 0.85
parentWidgetMethod · 0.80
updateTitleMethod · 0.80
isWindowMethod · 0.80
layoutMethod · 0.80
topLeftMethod · 0.80
bottomRightMethod · 0.80
QStringFunction · 0.50
containsMethod · 0.45
push_backMethod · 0.45
parentMethod · 0.45
saveStateMethod · 0.45

Tested by

no test coverage detected