Create GUI Applications with Python & Qt6 (PySide6 Edition): The hands-on guide to making apps with Python
- Length: 812 pages
- Edition: 1
- Language: English
- Publisher: Independently published
- Publication Date: 2022-05-23
- ISBN-10: B0B1JL1CH9
- ISBN-13: 9798831499087
- Sales Rank: #1153041 (See Top 100 Books)
Building desktop applications doesn’t have to be difficult. Using Python & Qt6 you can create fully functional desktop apps in minutes. Starting from the very basics, this modern PySide6 book takes you on a tour of the key features of PySide6 you can use to build real-life applications.
This is the 5th Edition of Create GUI Applications with Python & Qt, updated for 2022 & PySide6. Learn the fundamental building blocks of PySide6 applications — Widgets, Layouts & Signals and learn how PySide6 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 PySide6 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
- PySide6 Widgets
- Signals, slots & events
- GUI Layouts
- Toolbars & Menus
- PySide6 Dialogs, including file dialogs, warning and custom dialogs
- Windows
- Qt Designer
- PySide6 Themes, Styles, Palettes & Icons
- Model View Architecture
- Creating custom widgets, using custom widgets in Designer
- PySide6 Table views with numpy & pandas
- Database, SQL models
- Extending PyQt6 Signals
- Working with relative paths, resources
- System tray & Menus
- Threading, thread pools & processes, QThread
- Plotting with PyQtGraph & matplotlib
- Packaging & distribution of PySide6 apps on Windows, macOS & Linux
- Example PySide6 apps
The book includes
- 780 pages of hands-on PySide6 exercises
- 300+ code examples to experiment with
- Support forum for all readers
- Includes 4 example PySide6 apps
- Compatible with Python 3.4+
- Code free to reuse in your own projects
Martin Fitzpatrick has been teaching and using PySide for 10 years, helping thousands of developers bring their applications to life. With this book you get the benefit of that experience. & give your project the best chance of success!
Introduction 1. A very brief history of the GUI 2. A bit about Qt Basic PySide6 Features 3. My first Application 4. Signals & Slots 5. Widgets 6. Layouts 7. Actions, Toolbars & Menus 8. Dialogs 9. Windows 10. Events Qt Designer 11. Installing Qt Designer 12. Getting started with Qt Designer 13. The Qt Resource system Theming 14. Styles 15. Palettes 16. Icons 17. Qt Style Sheets (QSS) Model View Architecture 18. The Model View Architecture — Model View Controller 19. A simple Model View — a Todo List 20. Tabular data in ModelViews, with numpy & pandas 21. Querying SQL databases with Qt models Custom Widgets 22. Bitmap Graphics in Qt 23. Creating Custom Widgets 24. Using Custom Widgets in Qt Designer Concurrent Execution 25. Introduction to Threads & Processes 26. Using the thread pool 27. QRunnable examples 28. Long-running threads 29. Running external commands & processes Plotting 30. Plotting with PyQtGraph 31. Plotting with Matplotlib Further PySide6 Features 32. Timers 33. Extending Signals 34. Working with Relative Paths 35. System tray & macOS menus 36. Enums & the Qt Namespace 37. Working with command-line arguments 38. Pythonic PySide6 Packaging & Distribution 39. Packaging with PyInstaller 40. Creating a Windows installer with InstallForge 41. Creating a macOS Disk Image Installer 42. Creating a Linux Package with fpm Example applications 43. Mozzarella Ashbadger 44. Moonsweeper Appendix A: Installing PySide6 45. Installation Windows 46. Installation macOS 47. Installation on Linux Appendix B: Translating C++ Examples to Python 48. The example code 49. Imports 50. int main(int argc, char *argv[]) 51. C++ types 52. Signals 53. Syntax 54. Applying the process to your own code Appendix C: PyQt6 and PySide6 — What’s the difference? 55. Background 56. Licensing 57. Namespaces & Enums 58. UI files 59. Converting UI files to Python 60. exec() or exec_() 61. Slots and Signals 62. QMouseEvent 63. Features in PySide6 but not in PyQt6 64. Supporting both in libraries 65. That’s really it Appendix D: What next? 66. Get access to updates 67. Documentation 68. Copyright 69. Thank you
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.