Автор: Martin Fitzpatrick
Издательство: Leanpub
Год: 2022-05-25 (Version 5.0)
Страниц: 809
Язык: английский
Формат: pdf (true), epub
Размер: 32.5 MB
If you want to create GUI applications with Python it can be tricky to know where to start. There are a lot of new concepts you need to understand to get anything to work. But, like any coding problem, the first step is learning to approach the problem in the right way. In this book I take from the basic principles of GUI development to creating your own, fully functional, desktop apps with PySide6.
The book is formatted as a series of chapters exploring different aspects of PySide6 in turn. They are arranged to put the simpler chapters toward the beginning, but if you have specific requirements for your project, don’t be afraid to jump around. Each chapter will guide you through learning the fundamental concepts before taking you through a series of coding examples to gradually explore and learn how to apply the ideas yourself.
PySide6, also known as Qt for Python is a Python binding of the Qt toolkit, currently developed by The Qt Company. When you write applications using PySide6 what you are really doing is writing applications in Qt. The PySide6 library is actually a wrapper around the C++ Qt library, which makes it possible to use it in Python.
Because this is a Python interface to a C++ library, the naming conventions used within PySide6 do not adhere to PEP8 standards. For example, functions and variables are named using mixedCase rather than snake_case. Whether you adhere to this standard in your own applications is entirely up to you, however I find it helpful to continue to follow Python standards for my own code, to help clarify where the PySide6 code ends and your own begins.
809 pages of hands-on PySide6 exercises
300+ 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
The ebook covers:
Creating your first Qt Application
Widgets, Layouts and Dialogs
Signals & Slots, Actions & Events
Designing apps with Qt Designer
Connecting Qt widgets with SQL Databases
Custom Widgets using compound widgets and bitmap graphics
Plotting with PyQtGraph and matplotlib
Threads and Processes in Qt applications, with managers and progress bars
Packaging your apps for distribution on Windows, macOS and Linux
I've been developing Python desktop applications for 8 years using Qt. It's a great way to create professional-looking and portable apps easily. I've picked up plenty of tricks and I want to pass that knowledge onto you.
Скачать Create GUI Applications with Python & Qt6 (5th Edition, PySide6) : The hands-on guide to building desktop apps with Python