MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / anyWindowMaximized

Function anyWindowMaximized

app/src/UI/WindowManager.cpp:231–238  ·  view source on GitHub ↗

* @brief Returns true if any tracked window is currently in the maximized state. */

Source from the content-addressed store, hash-verified

229 * @brief Returns true if any tracked window is currently in the maximized state.
230 */
231static bool anyWindowMaximized(const QMap<int, QQuickItem*>& windows)
232{
233 for (auto* win : std::as_const(windows))
234 if (win && win->state() == "maximized")
235 return true;
236
237 return false;
238}
239
240/**
241 * @brief Sets a window's geometry to the given rectangle.

Callers 2

autoLayoutMethod · 0.85
cascadeLayoutMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected