* @brief Updates the frame position and size to fill the window. */
| 1106 | * @brief Updates the frame position and size to fill the window. |
| 1107 | */ |
| 1108 | void Window::updateFrameGeometry() |
| 1109 | { |
| 1110 | if (!m_frame || !m_window) |
| 1111 | return; |
| 1112 | |
| 1113 | m_frame->setPosition(QPointF(0, 0)); |
| 1114 | m_frame->setSize(QSizeF(m_window->width(), m_window->height())); |
| 1115 | } |
| 1116 | |
| 1117 | /** |
| 1118 | * @brief Updates the border position and size. |