├── LICENSE └── README.md /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Packt 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Hands-On Qt for Python Developers 2 | 3 | Hands-On Qt for Python Developers 4 | 5 | This is the code repository for [Hands-On Qt for Python Developers ](https://www.packtpub.com/application-development/hands-qt-python-developers?utm_source=github&utm_medium=repository&utm_campaign=9781789612790), published by Packt. 6 | 7 | **Build cross-platform GUI applications with Python and Qt 5** 8 | 9 | ## What is this book about? 10 | 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. 11 | 12 | This book covers the following exciting features: 13 | * Explore PyQt5 and PySide2 to create comprehensive GUI applications 14 | * Find out how threading and multiprocessing work 15 | * Understand how to style GUIs with PyQt 16 | * Get to grips with implementing buttons 17 | * Understand how elements communicate with signals, slots, and event handlers 18 | * Explore mobile development with PyQt and PySide 19 | 20 | If you feel this book is for you, get your [copy](https://www.amazon.com/dp/1789612799) today! 21 | 22 | https://www.packtpub.com/ 24 | 25 | ## Instructions and Navigations 26 | All of the code is organized into folders. For example, Chapter02. 27 | 28 | The code will look like the following: 29 | ``` 30 | ... 31 | class UApp(UTools): 32 | 33 | def __init__(self): 34 | UTools.__init__(self) 35 | self.uaps1 = "I am a coder, and I do" 36 | ``` 37 | 38 | **Following is what you need for this book:** 39 | This book is for Python developers who want to develop GUIs and cross-platform applications that are modern, responsive, and attractive. No prior knowledge of Qt or QML is required. 40 | 41 | With the following software and hardware list you can run all code files present in the book (Chapter 1-17). 42 | ### Software and Hardware List 43 | | Sr. No. | Software required | OS required | 44 | | -------- | ------------------------------------ | ----------------------------------- | 45 | | 1 | Qt 5.9 | Windows, Mac OS X, and Linux (Any) | 46 | | 2 | Python 3.7 | Windows, Mac OS X, and Linux (Any) | 47 | | 3 | Python 2.7 | Windows, Mac OS X, and Linux (Any) | 48 | | 4 | Dev C++ | Windows, Mac OS X, and Linux (Any) | 49 | | 5 | GCC | Windows, Mac OS X, and Linux (Any) | 50 | | 6 | Anaconda 3 | Windows, Mac OS X, and Linux (Any) | 51 | | 7 | Anaconda 2 | Windows, Mac OS X, and Linux (Any) | 52 | | 8 | PySide2 | Windows, Mac OS X, and Linux (Any) | 53 | | 9 | PyQt5 | Windows, Mac OS X, and Linux (Any) | 54 | | 10 | pyqtdeploy | Windows, Mac OS X, and Linux (Any) | 55 | 56 | We also provide a PDF file that has color images of the screenshots/diagrams used in this book. [Click here to download it]( https://www.packtpub.com/sites/default/files/downloads/9781789612790_ColorImages.pdf). 57 | 58 | ### Related products 59 | * Qt5 Python GUI Programming Cookbook [[Packt]](https://www.packtpub.com/application-development/qt5-python-gui-programming-cookbook?utm_source=github&utm_medium=repository&utm_campaign=9781788831000) [[Amazon]](https://www.amazon.com/dp/1788831004) 60 | 61 | 62 | ## Get to Know the Author 63 | **Volodymyr Kirichinets** 64 | is a Python-based software developer with seven years' experience of the programming language in various fields of development, including finance, statistics, physics, and five years' experience with the PyQt framework. His quantitative background inspired him to become adept at Python. 65 | 66 | ### Suggestions and Feedback 67 | [Click here](https://docs.google.com/forms/d/e/1FAIpQLSdy7dATC6QmEL81FIUuymZ0Wy9vH1jHkvpY57OiMeKGqib_Ow/viewform) if you have any feedback or suggestions. 68 | 69 | 70 | --------------------------------------------------------------------------------