Embed Matplotlib Graph in a PyQt5 application

Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code: import sys import numpy as np import matplotlib.pyplot as plt from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas...

Display images in QTreeView widget in PyQt5

Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code: import sys from PyQt5.QtWidgets import QApplication, QMainWindow, QTreeView from PyQt5.QtCore import Qt from PyQt5.QtGui import QFont, QColor,...

Create a Pandas DataFrame editor with PyQt5

In this PyQt5 video, we are going to build a customized Pandas DataFrame editor to update a DataFrame dataset. Pros: – We can implement customized validations. – Easier to view the data. – Make data entry or data update task easy. –...

Create a popup Window for a QListWidget item in PyQt5

In this PyQt5 tutorial, we are going to create a very basic window widet specifically for a QListWidget item (aka QListWidgetItem object). Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code:...

How to enable and disable a QListWidget Item in PyQt5

In this PyQt5 tutorial, we are going to learn how to enable and disable a QListWidget item. Buy Me a Coffee? Your support is much appreciated! PayPal Me: https://www.paypal.me/jiejenn/5 Venmo: @Jie-Jenn Source Code: import sys from PyQt5.QtWidgets import QApplication,...

How to implement auto closing bracket feature in PyQt5

Auto-closing or self-closing, are some of the terms to describe when you insert a character (starting tag) that has a matched pair such as (, [, {, “, the feature will automatically insert the closing tag for you. In this# PyQt5 tutorial, we are going to learn...