Create GUI Applications with Python & Qt5 : The hands-on guide to making apps with Python (5th Edition, PyQt5) (Paperback)

Dr Martin Fitzpatrick

相關主題

商品描述

Building desktop applications doesn't have to be difficult. Using Python & Qt5 you can create fully functional desktop apps in minutes. Starting from the very basics, this modern PyQt5 book takes you on a tour of the key features of PyQt5 you can use to build real-life applications.

This is the 5th Edition of Create GUI Applications with Python & Qt, updated for 2022 & PyQt5.

Learn the fundamental building blocks of PyQt applications — Widgets, Layouts & Signals and learn how PyQt5 uses the event loop to handle and respond to user input. Design beautiful UIs with Qt Designer and customize the look and feel of your applications with Qt Style Sheets and custom widgets.Use Qt's MVC-like ModelViews framework to connect data sources to your widgets, including SQL databases, numpy and pandas data tables, to build-data driven application. Visualize data using matplotlib & PyQtGraph and connect with external data sources to build live dashboards. Learn how to use threads and processes to manage long-running tasks and communicate with external services. Parse data and visualize the output in logs and progress bars.The book includes usability and architectural tips to help you build maintainable and usable PyQt5 applications from the start. Finally, once your application is ready to be released, discover how to package it up into professional-quality installers, ready to ship.

Contents

  • PyQt5 Widgets
  • Signals, slots & events
  • GUI Layouts
  • Toolbars & Menus
  • PyQt5 Dialogs
  • Windows
  • Qt Designer
  • PyQt5 Themes, Styles, Palettes & Icons
  • Model View Architecture
  • PyQt5 Table views with numpy & pandas
  • Database, SQL models
  • Extending PyQt5 Signals
  • System tray & Menus
  • PyQt5 threading, thread pools & processes
  • Plotting with PyQtGraph & matplotlib
  • Packaging & distribution PyQt5 apps
  • Example PyQt5 apps

 

The book includes

 

  • 665 pages of hands-on PyQt5 exercises
  • 211 code examples to experiment with
  • Support forum for all readers
  • Includes 4 example PyQt5 apps
  • Compatible with Python 3.4+
  • Code free to reuse in your own projects

Martin Fitzpatrick has been teaching and using PyQt for 8 years, helping thousands of developers bring their applications to life.

商品描述(中文翻譯)

建立桌面應用程式並不一定困難。使用Python和Qt5,您可以在幾分鐘內建立完全功能的桌面應用程式。從基礎開始,這本現代化的PyQt5書籍將帶您遊覽PyQt5的關鍵功能,以便您可以建立真實應用程式。

這是《使用Python和Qt創建GUI應用程式》的第5版,已更新至2022年和PyQt5。

學習PyQt應用程式的基本構建塊 - Widget、Layout和Signal,並了解PyQt5如何使用事件循環來處理和回應使用者輸入。使用Qt Designer設計美觀的UI,並使用Qt樣式表和自定義Widget自訂應用程式的外觀和感覺。使用Qt的MVC-like ModelViews框架將數據源連接到Widget,包括SQL數據庫、numpy和pandas數據表,以建立數據驅動的應用程式。使用matplotlib和PyQtGraph視覺化數據,並連接外部數據源以建立實時儀表板。學習如何使用線程和進程來管理長時間運行的任務並與外部服務通信。解析數據並在日誌和進度條中視覺化輸出。本書還包括可用性和架構提示,以幫助您從一開始就建立可維護和可用的PyQt5應用程式。最後,一旦您的應用程式準備好發布,了解如何將其打包成專業質量的安裝程式,準備發布。

目錄:

- PyQt5 Widgets
- Signals, slots & events
- GUI Layouts
- Toolbars & Menus
- PyQt5 Dialogs
- Windows
- Qt Designer
- PyQt5 Themes, Styles, Palettes & Icons
- Model View Architecture
- PyQt5 Table views with numpy & pandas
- Database, SQL models
- Extending PyQt5 Signals
- System tray & Menus
- PyQt5 threading, thread pools & processes
- Plotting with PyQtGraph & matplotlib
- Packaging & distribution PyQt5 apps
- Example PyQt5 apps

本書包括:

- 665頁的實踐PyQt5練習
- 211個程式碼範例供實驗
- 所有讀者的支援論壇
- 包含4個範例PyQt5應用程式
- 與Python 3.4+兼容
- 程式碼可自由重用於您自己的項目中

Martin Fitzpatrick教授和使用PyQt已有8年,幫助數千名開發人員將他們的應用程式帶到現實中。