Back to Browse

Draw rectangles using a mouse | PyQt5 Tutorial

15.8K views
Feb 11, 2021
10:20

In this PyQt5 tutorial, we will be learning how to drag rectangles using our mouse. Things I will be covering to create the shape drawing function: 1) paintEvent, 2) mousePressEvent, 3) mouseMoveEvent, and 4) mouseReleaseEvent. 📑 Source Code: https://learndataanalysis.org/source-code-draw-rectangles-using-a-mouse-pyqt5-tutorial/ ► Buy Me a Coffee? Your support is much appreciated! ------------------------------------------------------------------------------------------- ☕ Paypal: https://www.paypal.me/jiejenn/5 ☕ Venmo: @Jie-Jenn 💸 Join Robinhood with my link and we'll both get a free stock: https://bit.ly/3iWr7LC ► Support my channel so I can continue making free contents --------------------------------------------------------------------------------------------------------------- 🌳 Becoming a Patreon supporter: https://www.patreon.com/JieJenn 🛒 By shopping on Amazon → https://amzn.to/2JkGeMD 📘 Facebook Page → https://www.facebook.com/MadeInPython/ 📘 More tutorial videos on my website → https://LearnDataAnalysis.org ✉️ Business Inquiring: [email protected] #PyQt5 #Python

Download

1 formats

Video Formats

360pmp413.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Draw rectangles using a mouse | PyQt5 Tutorial | NatokHD