Hands-On Qt for Python Developers: Build cross-platform GUI applications with Python and Qt 5
Authors: Volodymyr Kirichinets
ISBN-10: 1789612799
ISBN-13: 9781789612790
Publication Date 出版日期: 2019-05-30
Print Length 页数: 770 pages
Publisher finelybook 出版社: Packt
Book Description
By finelybook
Boost UI development with ready-made widgets,controls,charts,and data visualization and create stunning 2D and 3D graphics with PyQt and PySide2.
Qt is one of the most widely used and flexible frameworks for GUI application development,allowing you to write your application once and then deploy it to multiple operating systems. This book combines the best of Python and Qt to help you develop GUI applications with Python bindings,such as PyQt and PySide,that will supercharge your Python applications.
The book begins with an overview of Qt and QML. You’ll start by working with PyQt GUI elements to style your applications. Then,you will learn how to use QWidget,frames,labels,and text fields,and work with graphics. This will be followed by taking you through how elements in the application communicate with each other by understanding signals,slots,and event handlers. This book will help you to gain a better understanding of the Qt framework and the tools to resolve issues when testing,linking,debugging,and multithreading your Python GUI applications. Finally,the book will help you get to grips with embedded and mobile development using PyQt and PySide.
By the end of the book,you will be able to create modern,responsive,cross-platform desktop applications with the power of Qt,Python,and QML.
What you will learn
Explore PyQt5 and PySide2 to create comprehensive GUI applications
Find out how threading and multiprocessing work
Understand how to style GUIs with PyQt
Get to grips with implementing buttons
Understand how elements communicate with signals,slots,and event handlers
Explore mobile development with PyQt and PySide
contents
1 Introduction to Python and Qt
2 An Overview of QML
3 The Qt Quick Library
4 Getting Started with PyQt and PySide
5 Using QWidget and Main Window
6 Using Frames,Labels,and Text Fields
7 Using Comboboxes and List Views
8 Implementing Buttons
9 The Basics of Graphics
10 Graphics Representation
11 Graphical Effects and Multimedia
12 Files,Printers,and Other Dialogs
13 Creating Layouts
14 Implementing Databases
15 Signals,Slots,and Event Handlers
16 Threading and Multiprocessing
17 Completing the Application,Embedded Devices,and Tests