Python GUI Programming Recipes using PyQt5 [Video]

4 (5 reviews total)
By Burkhard Meier
    What do you get with a Packt Subscription?

  • Instant access to this title and 7,500+ eBooks & Videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies

About this video

Python and one of its QT bindings, PyQT, has changed the face of GUI development. It allows us to build beautiful and powerful GUIs that grab the attention of Python programmers. QT5 has several advantages over other GUI frameworks such as tkinter and wxPython.

In this video, we will successfully install PyQt5 and the toolset that contains the QT Designer tool. The QT Designer enables us to develop our GUI in a visual manner, using drag and drop to add and position widgets, and we will use it extensively. We will then learn how to convert QT Designer-generated code into pure Python code.

After having successfully installed PyQt5, the QT Designer, and all other required QT tools, we will start out simple, building a Python GUI using only a few lines of PyQT5 code. Then, we will build a more complex GUI using QT Designer. Along the way, we will explore many QT widgets and learn how to efficiently lay out our GUI design. We will enhance the look-and-feel of the GUI using CSS styling. We will also connect our GUI to a SQL database, which we will create. We decouple the business logic code from the UI code, using best practices. At the end of this video tutorial, viewers will be able to develop complex GUIs using PyQt5.

Style and Approach

The video course focuses on developing fully functional Python GUIs using the PyQt5 framework. We start simple and move ahead with more complex GUIs, adding widgets and making them functional. The course then uses Qt Designer, which is a fantastic tool for quickly creating professional-looking GUIs written in Python. We decouple the UI code from the Python business logic code, using a Best Practices approach.

Publication date:
October 2017
4 hours 09 minutes

About the Author

  • Burkhard Meier

    Burkhard Meier has more than 19 years of professional experience working in the software industry as a software tester and developer, specializing in software test automation development, execution, and analysis. He has a very strong background in Python 3 software test automation development, as well as in SQL relational database administration, the development of stored procedures, and debugging code. His previous jobs include working as a senior test automation engineer and designer for InfoGenesis (now Agilysys), QAD, InTouch Health, and FLIR Systems. Over the past three years, he has also developed several video courses on Python for Packt, the latest course being Mastering Object-Oriented Programming with Python.

    Browse publications by this author

Latest Reviews

(5 reviews total)
Easy step-by-step approach is very good.
I only had time to watch the first few sessions. It is very good and inspired me to start looking more deeply at specific items that were mentioned. The demo in the 3rd section is what I was hoping to find out about the use of QT5. I have a lot of Python books and have not found the time to look into them, so the video is very useful since I can review sessions in portions in smallwindows of opportunity.
Expecting content not found

Recommended For You

Python GUI Programming Recipes using PyQt5 [Video]
Unlock this video and the full library FREE for 7 days
Start now