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