Skip to content

Instantly share code, notes, and snippets.

View leofox2021's full-sized avatar
🎯
Focusing

Leo leofox2021

🎯
Focusing
  • Self-employed
  • Russia
  • 08:19 (UTC +03:00)
View GitHub Profile
@stevenliebregt
stevenliebregt / pyqt5-eventfilter-touch-example.py
Created June 15, 2018 14:52
PyQt5 Example of the eventFilter, and a TouchEvent capture.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from PyQt5.QtCore import QEvent
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import QApplication
from PyQt5.QtWidgets import QMainWindow