Python GUI Programming Recipes using PyQt5
4.0 (252 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
988 students enrolled

Python GUI Programming Recipes using PyQt5

Learn to design a UI with help of PyQT5
4.0 (252 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
988 students enrolled
Created by Packt Publishing
Last updated 11/2017
English
English [Auto-generated]
Current price: $86.99 Original price: $124.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 4 hours on-demand video
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Visually add and arrange many widgets using QT Designer
  • Decouple the Python code from the generated QT UI code
  • Use CSS styling to greatly enhance the GUI look-and-feel
  • Connect the GUI to a SQL database
  • Keep the GUI responsive via multiple threads
  • Learn how to use many widgets in the PyQT5 toolbox
  • Develop GUIs in a modular style
Course content
Expand all 25 lectures 04:09:07
+ Introducing the PyQt5 Framework
5 lectures 33:06

This video provides an overview of the entire course.

Preview 03:20

Installing the PyQt5 framework to work together with Python 3.

Preview 04:32
Creating GUIs using the latest version of Python 3 and the PyQt5 framework.
Preview 05:30
Adding widgets to the PyQt5 GUI in order to add functionality.
Adding Widgets to the GUI
08:26
Exploring different ways to GUI layout design using PyQt5 layout managers.
Layout of Widgets
11:18

Now that you are done with the videos of section 1, let’s assess your learning. Here, are a few questions, followed by 4 options, out of which 1 is the correct option. Select the right option and validate your learning! The answers are provided in a separate sheet

Introducing the PyQt5 Framework
7 questions
+ Designing Python GUIs with Qt Designer
5 lectures 49:36
In this video, we will install the PyQt5 tools package that contains the Qt Designer tool.
Installing Qt Designer Tools
07:08
Creating GUIs using the Qt Designer with the PyQt5 framework.
Creating Our First GUI Using Qt Designer
07:05

In this video, we will learn to add widgets visually to the PyQt5 GUI using the Qt Designer.

Adding Widgets with Qt Designer
08:10

In this video, we will learn to use different layouts to lay out our widgets in an organized fashion.

Qt Designer Widget Layout
16:41
This video aims to explain the conversion of UI designer code into Python code.
Converting the Qt Designer UI Code to Python Code
10:32

Now that you are done with the videos of section 2, let’s assess your learning.Here, are a few questions, followed by 4 options, out of which 1 is the correct option. Select the right option and validate your learning! The answers are provided in a separate sheet

Designing Python GUIs with Qt Designer
8 questions
+ Enhancing the Qt5 GUI Functionality
5 lectures 01:13:48

In this video, we will learn to design two separate forms and then use Python code to invoke one form from the other form to call a dialog window from our main window.

Calling Dialogs from the Main Window
14:02

In this video, we will design our GUIs using the Qt Designer, then convert the UI code into Python code.

Decoupling Python Code from Generated UI Code
10:29

In this video, we will learn to approach software complexity by using a modular approach for developing complex GUIs using PyQt5.

Building a Complex GUI with PyQt5
20:45
A GUI written in Python can have only one main thread. The PyQt5 framework is no exception. This video aims to explain that in order to keep our GUI responsive during long-running events, we have to make it multi-threaded.
Multi-threading Keeps Our GUI Responsive
12:57

In this video, we will learn about drag-and-drop functionality right into our own GUI.

Using Drag and Drop Within the PyQt5 GUI
15:35
Enhancing the Qt5 GUI functionality
6 questions
+ Advanced Qt5 Programming
5 lectures 01:04:44

This video aims at drawing two and three-dimensional graphics within our PyQt5 GUI.

Using the OpenGL Graphics Library
18:48

In this video, we will create TCP/IP clients that talk to a TCP/IP server. Further, we will store our data in an SQL database.

Networking and SQL Database
21:01
In this video, we will animate our widgets.
Animation Inside the GUI
10:42
This video will help us customize our widgets.
Using CSS Styling to Greatly Enhance the GUI Look-and-Feel
09:29
In this video, we will use the Qt Designer to create new slots which we then implement in our Python code.
PyQt5 ‘Signals and Slots’ Event Handling Mechanism
04:44

Now that you are done with the videos of section 4, let’s assess your learning. Here, are a few questions, followed by 2 options, out of which 1 is the correct option. Select the right option and validate your learning! The answers are provided in a separate sheet

Advanced Qt5 Programming
5 questions
+ User Interface Design
5 lectures 27:53

This video aims at creating beautiful and useful GUIs.

What We See when We Look at the Existing GUIs
03:29

In this video, we will learn by looking at the good that exists.

A Question of Design of User Interfaces
03:50

In this video, we will learn how to use Python third-party modules to display maps.

Displaying Google and Qt5 Maps
06:13

In this video, we will create GUIs that can run on Windows desktops as well as on mobile devices.

How to Create iPhone and Android Apps with Qt5
06:50

In this video, we will rock the world with our GUIs written in Python and PyQt5.

How to Rock the World with Your GUI
07:31

Now that you are done with the videos of section 5, let’s assess your learning. Here, are a few questions, followed by 2 options, out of which 1 is the correct option. Select the right option and validate your learning! The answers are provided in a separate sheet

User Interface Design
5 questions
Requirements
  • Python programmers who wish to enhance their Python skills
Description

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.

About the Author :

Burkhard Meier is a professional software test automation designer, developer, and analyst. He has more than 17 years' professional experience working for several software companies in California, USA.

He is the author of Python GUI Programming Cookbook, First and Second Edition. This book is also available as a Packt video course.

He is also the author of the Python Projects Packt video course.

In his professional career, he developed advanced in-house testing frameworks written in Python 3. He also developed advanced test automation GUIs in Python, which highly increased the productivity of the software development testing team.

When not dreaming in Python code, he reads programming books about design, likes to go for long walks, and reads classical poetry.

Who this course is for:
  • This video is for intermediate Python programmers who wish to enhance their Python skills by writing powerful GUIs in Python using PyQt.