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

Function placeWindow

app/src/UI/WindowManager.cpp:243–249  ·  view source on GitHub ↗

* @brief Sets a window's geometry to the given rectangle. */

Source from the content-addressed store, hash-verified

241 * @brief Sets a window's geometry to the given rectangle.
242 */
243static void placeWindow(QQuickItem* win, int x, int y, int w, int h)
244{
245 win->setX(x);
246 win->setY(y);
247 win->setWidth(w);
248 win->setHeight(h);
249}
250
251/**
252 * @brief One window fills the available canvas area.

Callers 7

tileOneFunction · 0.85
tileTwoFunction · 0.85
tileThreeFunction · 0.85
tileFourFunction · 0.85
tileFiveFunction · 0.85
tileSixFunction · 0.85
tileGridFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected