94 const Qt::WindowFlags flags = window->flags();
95 const Qt::WindowFlags type = flags & Qt::WindowType_Mask;
97 WindowStyleOptions options = WindowStyleOption::None;
98 if (window->surfaceType() == QSurface::OpenGLSurface)
99 options |= WindowStyleOption::GLSurface;
100 if (window->property(
"_q_windowsDropShadow").toBool())
101 options |= WindowStyleOption::DropShadow;
104 description.procedure = procedure;
105 description.style = computeWindowStyles(flags, type, options);
106 description.hasIcon = computeHasIcon(flags, type);
107 description.name =
"QWindow"_L1 + classNameSuffix(type, description.style, description.hasIcon);