Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pyqt click through window

# Imports: from Pyside.QtCore import Qt
# Assuming you've subclassed QWidget or QMainWindow:

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, True)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pyqt #click #window
ADD COMMENT
Topic
Name
5+7 =