Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pyside 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: #pyside #click #window
ADD COMMENT
Topic
Name
1+3 =