📜  pyqt 点击窗口 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:15.604000             🧑  作者: Mango

代码示例1
self.setAttribute(Qt.WA_TransparentForMouseEvents, True)
self.setAttribute(Qt.WA_NoChildEventsForParent, True)
        self.setWindowFlags(Qt.Window|Qt.X11BypassWindowManagerHint|Qt.WindowStaysOnTopHint|Qt.FramelessWindowHint)

self.setAttribute(Qt.WA_TranslucentBackground)