Create GUI Applications with Python & Qt5 (PyQt5 Edition): The hands-on guide to making apps with Python
- Length: 825 pages
- Edition: 4
- Language: English
- Publication Date: 2020-06-24
- ISBN-10: B08BV3RCL5
- Sales Rank: #91284 (See Top 100 Books)
Building desktop applications doesn’t have to be difficult. Using Python & Qt5 you can create fully functional desktop apps in minutes. This is the 4th Edition of Create GUI Applications, updated for 2020 & PyQt5.
Starting from the very basics, this book takes you on a tour of the key features of PyQt5 you can use to build real-life applications. Learn the fundamental building blocks of Qt applications — Widgets, Layouts & Signals and learn how Qt 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.
The book includes
- 665 pages of hands-on PyQt5 exercises
- 211 code examples to experiment with
- Support forum for all readers
- Includes 4 example 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.
Introduction 1. A very brief history of the GUI 2. A bit about Qt 3. Thankyou 4. Copyright Basic PyQt5 Features 5. My first Application 6. Signals & Slots 7. Widgets 8. Layouts 9. Actions, Toolbars & Menus 10. Dialogs 11. Windows 12. Events Qt Designer 13. Installing Qt Designer 14. Getting started with Qt Designer 15. The Qt Resource system Theming 16. Styles 17. Palettes 18. Icons 19. Qt Style Sheets (QSS) Model View Architecture 20. The Model View Architecture — Model View Controller 21. A simple Model View — a Todo List 22. Tabular data in ModelViews, with numpy & pandas 23. Querying SQL databases with Qt models Further PyQt5 Features 24. Extending Signals 25. Routing 26. Working with command-line arguments 27. System tray & macOS menus 28. Enums & the Qt Namespace Custom Widgets 29. Bitmap Graphics in Qt 30. Creating Custom Widgets Concurrent Execution 31. Introduction to Threads & Processes 32. Using the thread pool 33. Threading examples 34. Running external commands & processes Plotting 35. Plotting with PyQtGraph 36. Plotting with Matplotlib Packaging & Distribution 37. Packaging with fbs Example applications 38. Mozzarella Ashbadger 39. Moonsweeper Appendix A: Installing PyQt5 40. Installation on Windows 41. Installation on macOS 42. Installation on Linux (Ubuntu) Appendix B: Translating C++ Examples to Python 43. The example code 44. Imports 45. int main(int argc, char *argv[]) 46. C++ types 47. Signals 48. Syntax 49. Applying the process to your own code Appendix C: PyQt5 and PySide2 — What’s the difference? 50. Background 51. Licensing 52. UI files 53. Converting UI files to Python 54. exec() or exec_() 55. Slots and Signals 56. Supporting both in libraries 57. QtPy 58. That’s really it Appendix D: What next? 59. Get access to updates 60. Documentation
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.