Mastering GUI Programming with Python - Alan D. Moore

Mastering GUI Programming with Python

Develop impressive cross-platform GUI applications with PyQt

(Autor)

Buch | Softcover
542 Seiten
2019
Packt Publishing Limited (Verlag)
978-1-78961-290-5 (ISBN)
47,35 inkl. MwSt
The book will aim to tackle this problem by providing a comprehensive walkthrough of GUI development with PyQt5. Beginning with a brief introduction to PyQt5, the book will take you on a journey towards building stunning GUIs. Finally, you will learn various optimization techniques to improve your application’s performance and functionality.
An advanced guide to creating powerful high-performance GUIs for modern, media-rich applications in various domains such as business and game development

Key Features

Gain comprehensive knowledge of Python GUI development using PyQt 5.12
Explore advanced topics including multithreaded programming, 3D animation, and SQL databases
Build cross-platform GUIs for Windows, macOS, Linux, and Raspberry Pi

Book DescriptionPyQt5 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.

What you will learn

Get to grips with the inner workings of PyQt5
Understand how elements in a GUI application communicate with signals and slots
Study techniques for styling an application
Explore database-driven applications with the QtSQL module
Create 2D graphics with QPainter
Delve into 3D graphics with QOpenGLWidget
Build network and web-aware applications with QtNetwork and QtWebEngine

Who this book is forThis book is for programmers who want to create attractive, functional, and powerful GUIs using the Python language. You’ll also find this book useful if you are a student, professional, or anyone who wants to start exploring GUIs. Although prior knowledge of the Python language is assumed, experience with PyQt, Qt, or GUI programming is not required.

Alan D. Moore is a data analyst and software developer who has been solving problems with Python since 2006. He's developed both open source and private code using frameworks like Django, Flask, Qt, and, Tkinter, and contributes to various open source Python and Javascript projects. Alan is the author of Python GUI Programming with Tkinter.

Table of Contents

Getting Started with PyQt
Building Forms with QtWidgets
Handling events with signals and slots
Building applications with QMainWindow
Creating data interfaces with Model/View classes
Styling Qt Applications
Working with Audio-visual Using QtMultimedia
Networking with QtNetwork
Exploring SQL with QtSQL
Multithreading with QTimer and Qthread
Creating Rich text with QTextDocument
Creating 2D graphics with Qpainter
Creating 3D graphics with QtOpenGL
Embedding data plots with QtCharts
PyQt Raspberry Pi
Web browsing with QtWebEngine
Preparing Your Software for Distribution
Appendix A: Answers to Questions
Appendix B: Upgrading Raspbian 9 to Raspbian 10

Erscheinungsdatum
Verlagsort Birmingham
Sprache englisch
Maße 75 x 93 mm
Themenwelt Mathematik / Informatik Informatik Grafik / Design
Informatik Programmiersprachen / -werkzeuge Python
ISBN-10 1-78961-290-X / 178961290X
ISBN-13 978-1-78961-290-5 / 9781789612905
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich