Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Mastering GUI Programming with Python
  • Toc
  • feedback
Mastering GUI Programming with Python

Mastering GUI Programming with Python

By : Alan D. Moore
4.2 (18)
close
Mastering GUI Programming with Python

Mastering GUI Programming with Python

4.2 (18)
By: Alan D. Moore

Overview of this book

PyQt5 has long been the most powerful and comprehensive GUI framework available for Python, yet there is a lack of cohesive resources available for Python programmers to learn how to use it. This book will be your comprehensive guide to exploring GUI development with PyQt5. You will get started with an introduction to PyQt5, before going on to develop stunning GUIs with modern features. You will learn how to build forms using QWidgets and delve into important aspects of GUI development such as layouts, size policies, and event-driven programming. Moving ahead, you’ll discover PyQt5’s most powerful features through chapters on audio-visual programming with QtMultimedia, database-driven software with QtSQL, and web browsing with QtWebEngine. Next, in-depth coverage of multithreading and asynchronous programming will help you run tasks asynchronously and build high-concurrency processes with ease. In later chapters, you’ll gain insights into QOpenGLWidget, along with mastering techniques for creating 2D graphics with QPainter. You’ll also explore PyQt on a Raspberry Pi and interface it with remote systems using QtNetwork. Finally, you will learn how to distribute your applications using setuptools and PyInstaller. By the end of this book, you will have the skills you need to develop robust GUI applications using PyQt.
Table of Contents (24 chapters)
close
Free Chapter
1
Section 1: Deep Dive into PyQt
8
Section 2: Working with External Resources
12
Section 3: Unraveling Advanced Qt Implementations
22
Upgrading Raspbian 9 to Raspbian 10

Summary

In this chapter, you learned how to share your projects with others. You learned the optimal layout for your project directory to enable you to collaborate with other Python coders and Python tools. You learned how to work with setuptools to make distributable Python packages for sites such as PyPI. Finally, you learned how to convert your code into executables using PyInstaller.

Congratulations! You have finished this book. By now, you should feel confident in your ability to develop a compelling GUI application from scratch using Python and PyQt5. From basic input forms to advanced network, database, and multimedia applications, you now have the tools to create and distribute amazing programs. Even with all the topics we've covered, there's still much more to discover inside PyQt. Keep learning, and make great things!

...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete