#ifdef Q_OS_LINUX XShapeCombineRectangles(QX11Info::display(), winId(), ShapeInput, 0, 0, NULL, 0, ShapeSet, YXBanded); #endif #ifdef Q_OS_WIN SetWindowLong(winId(), GWL_EXSTYLE, GetWindowLong(winId(), GWL_EXSTYLE) | WS_EX_TRANSPARENT | WS_EX_LAYERED); #endif
setAttribute(Qt::WA_TransparentForMouseEvents,true);
16,211
社区成员
26,591
社区内容
加载中
试试用AI创作助手写篇文章吧