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

Method hasMaximizedWindow

app/src/UI/Taskbar.cpp:233–240  ·  view source on GitHub ↗

* @brief Checks if any tracked window is maximized. */

Source from the content-addressed store, hash-verified

231 * @brief Checks if any tracked window is maximized.
232 */
233bool UI::Taskbar::hasMaximizedWindow() const
234{
235 for (auto it = m_windowIDs.begin(); it != m_windowIDs.end(); ++it)
236 if (it.key()->state() == QStringLiteral("maximized"))
237 return true;
238
239 return false;
240}
241
242/**
243 * @brief Returns the QML window (QQuickItem) for a given window ID.

Callers 1

getStatusMethod · 0.80

Calls 2

beginMethod · 0.80
keyMethod · 0.80

Tested by

no test coverage detected