PyQt5 Book 4th Edition
“The easy way to create desktop applications”
Thanks for this great PyQt5 book! You explain things so clearly.
Good start, looking forward to updates covering more advanced topics such as interacting with databases and APIs [added in 4th Edition].
The detailed coverage of multithreading is something I couldn't find anywhere else, and you made it so simple!
What's in the PyQt Book
Basic concepts and first steps
Starting from the very basics of creating a desktop window this modern Qt5 book takes you on a tour of the key features of PyQt you can use to build real-life applications.
We'll look at the basic building blocks of PyQt5 applications — Widgets, Layouts & Signals and learn how PyQt uses the event loop to handle and respond to user input.
Designing UIs with Qt Designer
Build your user interfaces visually in the Qt Designer drag-and-drop editor. We'll take a quick tour of the designer and show how to load your created interface into Python.
Unleash your creativity
Think the default look of Qt is a bit drab? You can customize almost anything using Styles, Palettes and Qt Style Sheets. We'll take a tour through how you can use these to completely customize the look and feel of your applications.
Build data-driven applications
Use PyQt's MVC-like interface to work efficiently with data, right in your applications. Use custom data stores and sync widgets automatically, allowing you to focus on the logic.
Use tabular views to display SQL databases and numpy or pandas datastructures. Use linked widgets for easy editing.
Create your own custom widgets
PyQt provides a huge number of built-in widgets, but sometimes you need a little something extra. Starting with an introduction to bitmap graphics we'll build up to creating entirely custom-drawn widgets for your apps.
Efficient apps with threads and processes
Are your apps stuttering to a halt? Learn how to use threads & processes to keep long-running calculations, loading large files or connections to remote servers all running smoothly.
Capture output from threads and processes and keep your users informed with progress bars and thread managers.
Visualize data with interactive charts
Use matplotlib or PyQtGraph to display data within your app. Use threads to create live dashboards, pulling data from your calculations or remote services.
Unlock the data-analysis capabilities of Python from within your applications.
Build real apps not just examples
Move beyond simple examples, learning how to use PyQt to create fully-functional applications.
The book guides you through creating a simple Web browser, Minesweeper game, Paint app and a Simple Todo reminder, using the features you've learned.
Package your apps for distribution
Once your app is ready, it's time to share it!
Discover how to package your PyQt applications for distribution on Windows, Mac and Linux.
Every chapter comes with complete, runnable code examples.
The Complete Package
Book & Video Course
Learn better when you can watch what is supposed to happen? You're not alone! That's why we have videos to back up much of the core tutorials.
To support developers in [[ countryRegion ]] I give a [[ localizedDiscount[couponCode] ]]% discount on all books and courses.
[[ activeDiscount.description ]] I'm giving a [[ activeDiscount.discount ]]% discount on all books and courses.
- Get the ebook and 2 ½ hour video tutorials
- Lifetime access to new content updated regularly
- Mix and match video and tutorials to suit your needs.
- Hands-on tutorials with the skills you've learnt.
- One-off payment No Subscription
Table of Contents
- Basic PyQt5 Features
- My first Application
- Signals & Slots
- Actions, Toolbars & Menus
- Qt Designer
- Installing Qt Designer
- Getting started with Qt Designer
- The Qt Resource system
- Qt Style Sheets (QSS)
- Model View Architecture
- The Model View Architecture — Model View Controller
- A simple Model View — a Todo List
- Tabular data in ModelViews, with numpy & pandas
- SQL databases with Qt models
- Further PyQt5 Features
- Extending Signals
- Working with command-line arguments
- System tray & macOS menus
- Enums & the Qt Namespace
- Custom Widgets
- QPainter and Bitmap Graphics
- Creating Custom Widgets
- Concurrent Execution
- Introducing Threads & Processes
- QRunnable and the QThreadPool
- QRunnable Examples, Progress Bars & thread Managers
- Running external commands with QProcess
- Packaging & Distribution
- Packaging with fbs
- Example applications
- Web Browser
- Translating C++ to Python
- PyQt vs. PySide
Includes 211 PyQt5 code examples and 4 fully-functional applications to experiment with.
Frequently Asked Questions
How will I get my purchase?
After completing your purchase you'll receive an email with a link to get your files and course. Keep it secret, keep it safe.
How do I get updates?
Each new release of the ebook will immediately be available on your account under "Books & Downloads". You can access new videos on the site as soon as they are available.
What if I don't like it?
If you decide that it is not for you, just reply to the purchase receipt email within 30 days and I'll issue you with a refund. If you could tell me why, that would be great too but it's not necessary.
I have other questions
If you still have questions just drop me an email.