PyQt5 From A-Z

PyQt5 From A-Z

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 20 Hours | 7.94 GB

Graphical User Interfaces with Python

Learn to develop modern graphical user interfaces in Python that have the look and feel of your native operating system, whether its Windows, MacOs, or Linux. Learn when and how to use text boxes, comboboxes, file dialogs, date and color pickers, web page viewers, images, and more to create state of the art applications with menus, toolbars, and user size-able windows.

When your GUI is finished learn how to populate it with data from a SQL database and allow users to modify that data and save their changes in full featured applications. Learn how to create multi-threaded applications so that data processing doesn’t interfere with the user interface.

What you’ll learn

  • The basics of PyQt5 to develop GUI applications in Python
  • PyQt5 Data Types
  • PyQt5 Widgets
  • PyQt5 Layouts
  • Using Qt Designer to develop user interfaces
  • Database applications with QtSQL
  • Multi-threaded applications with QThread
  • Styling your application with Qt Style Sheets
  • Much More!
Table of Contents

Introduction
1 Introduction
2 About Python
3 About Qt
4 Graphical User Interfaces
5 Your first PyQt5 program
6 Your second PyQt5 program – Object oriented!!!
7 A bit about PySide2 and SIP

Installing PyQt5
8 Setting up your environment
9 Setting up your environment on macOS
10 Setting up your environment on Windows
11 Where to get help with PyQt5
12 Signals and Slots

A review of Objects in Python
13 What is an object
14 Defining a custom class
15 Object Example
16 The string representation of an object
17 Object inheritance
18 Private properties and methods
19 Principles of object oriented programming

Pre-defined dialogs and basic data types
20 The QMessageBox dialog
21 Getting user input with QInputDialog
22 Choosing a file with QFileDIalog
23 QColor’s and the QColorDIalog class
24 QFonts and the QFontDialog
25 Working with dates and time in Qt
26 Working with images in Qt

Simple QWidgets
27 The QWidget class
28 Rich text, images and more with QLabels
29 The QPushButton class
30 Two and three state checkboxes
31 QRadioButtons and QButtonGroups
32 Entering text with QLineEdit
33 Entering numbers with Spinboxes
34 Date and Time edit widgets
35 Simple ComboBoxes in Qt
36 Editable ComboBoxes

Using Qt Layouts to simplify (and improve) your designs
37 Introduction to layouts.
38 QFormLayout
39 QGridLayout
40 Compound Layouts
41 QStackedLayout

Advanced widgets
42 Using the QTabWIdget class
43 QListWidget and QListWIdgetItem
44 QListWidget – programming example
45 QListWidget challenge solution
46 Intro to QTreeWidgets
47 QTreeWidget – programming example
48 QTreeWidget Programming example Part 2
49 Free form text editing with QPlainTextEdit
50 Rich text editing with QTextEdit
51 Lightweight rich text browser with QTextBrowser
52 Real browser capability with QWebEngineBrowser
53 QWebEngineView challenge solution
54 Introducing the QTableWidget
55 QTableWidget programming example
56 Organizing your widgets with QGroupBox
57 Displaying numbers with QLCDNumber
58 Changing numbers with QSlider and QDial
59 Providing feedback on progress with QProgressBar
60 Repeated intervals The QTimer class

Styling your interfaces with Qt Style Sheets
61 Intro to Qt Style sheets
62 Style sheets in practice
63 Widget specific styling
64 Predefined styles with the QStyleFactory class
65 Usng style functions to apply consistent styles to groups of widgets
66 Come over to the DarkStyle…..

Visually designing GUI’s with QtDesigner
67 Intro to QtDesigner
68 Signals and slots with QtDesigner
69 Recreating the group box interface using QtDesigner
70 Converting the user interface to Python
71 Adding custom slots and other modifications to QtDesigner interfaces
72 Decoupling the User Interface from other code.

Professional applications with the QMainWindow class
73 Intro to QMainWindow
74 Working with Toolbars
75 The QMainWindow status bar
76 Using the QSplitter class
77 Multi-dialog applications

Multi-threaded applications
78 Overview of multi-threading
79 Implementing a background process with QThread

Database Applications with Qt – The standard way
80 Quick review of databases
81 Quick review of SQL
82 Databases the Qt way
83 The QSqlQuery class
84 Designing the user interface
85 Populating the data table
86 Touching up the user interface
87 Designing the Add Employee dialog
88 Adding new records to the database
89 Validating the input data
90 Setting up the update form
91 sending update data to the database and tweaking the UI
92 Deleting a record
93 Persisting records in an editable combo box
94 Populating a QTreeWidget from the database – Part 1
95 Populating a QTreeWidget from the database – Part 2

Bonus section
96 How to get the most from my courses…..