# Mastering GUI Programming with Python
<a href="https://www.packtpub.com/application-development/mastering-gui-programming-python"><img src="https://www.packtpub.com/media/catalog/product/cache/e4d64343b1bc593f1c5348fe05efa4a6/b/1/b12831.png" alt="Mastering GUI Programming with Python" height="256px" align="right"></a>
This is the code repository for [Mastering GUI Programming with Python](https://www.packtpub.com/application-development/mastering-gui-programming-python), published by Packt.
**Develop impressive cross-platform GUI applications with PyQt**
## What is this book about?
PyQt5 has long been the most powerful and comprehensive GUI framework available for Python, yet there is a lack of cohesive resources available to teach Python programmers how to use it. This book aims to remedy the problem by providing comprehensive coverage of GUI development with PyQt5.
This book covers the following exciting features:
- Get to grips with the inner workings of PyQt5
- Learn how elements in a GUI application communicate with signals and slots
- Learn techniques for styling an application
- Explore database-driven applications with the QtSQL module
- Create 2D graphics with QPainter
- Delve into 3D graphics with QOpenGLWidget
- Build network and web-aware applications with QtNetwork and QtWebEngine
If you feel this book is for you, get your [copy](https://www.amazon.com/dp/1-789-61290-X) today!
<a href="https://www.packtpub.com/?utm_source=github&utm_medium=banner&utm_campaign=GitHubBanner"><img src="https://raw.githubusercontent.com/PacktPublishing/GitHub/master/GitHub.png"
alt="https://www.packtpub.com/" border="5" /></a>
## Instructions and Navigations
All of the code is organized into folders. For example, Chapter03.
The code will look like the following:
```
# inside __init__()
self.goodbutton = qtw.QPushButton("Good")
self.layout().addWidget(self.goodbutton)
self.goodbutton.clicked.connect(self.no_args)
# ...
def no_args(self):
print('I need no arguments')
```
**Following is what you need for this book:**
This book is for programmers who want to create attractive, functional, and powerful GUIs using the Python language. You’ll also find this book useful if you are a student, professional, or anyone who wants to start exploring GUIs or take your skills to the next level. Although prior knowledge of the Python language is assumed, experience with PyQt, Qt, or GUI programming is not required.
With the following software and hardware list you can run all code files present in the book (Chapter 1-17).
### Software and Hardware List
| Chapter | Software required | OS required |
| -------- | ------------------------------------ | ----------------------------------- |
| 1 - 17 | Python 3.7 or greater, PyQt 5.12 | Windows, Mac OS X, and Linux (Any) |
| 17 | PyInstaller 3.4, SetupTools 41.0.1 | Windows, Mac OS X, and Linux (Any) |
| 1-4 | QtDesigner/QtCreator 4.8.0 or higher | Windows, Mac OS X, and Linux (Any) |
| 9 | SQLite 3 | Windows, Mac OS X, and Linux (Any) |
| 12, 14 | psutil 5.6.2 | Windows, Mac OS X, and Linux (Any) |
| 15 | Raspberry Pi 3B+, Raspbian 10 | Windows, Mac OS X, and Linux (Any) |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. [Click here to download it](http://www.packtpub.com/sites/default/files/downloads/9781789612905_ColorImages.pdf).
## Code in Action
Click on the following link to see the Code in Action: [Click here to view the videos](http://bit.ly/2M3QVrl)
## Errata
Page 77: The section of code that describes the "on_category_change" method:
* Line 3 reads, "dialog = CategoryWindow()", it should read, "self.dialog = CategoryWindow()"
* Line 4 reads, "dialog.submitted.connect(self.add_category)", it should read, "self.dialog.submitted.connect(self.add_category)"
### Related products
* 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=) [[Amazon]](https://www.amazon.com/dp/B079S4Q9T2)
* Mastering OpenCV 4 with Python [[Packt]](https://www.packtpub.com/application-development/mastering-opencv-4-python?utm_source=github&utm_medium=repository&utm_campaign=) [[Amazon]](https://www.amazon.com/dp/B07Q85SJLK)
## Get to Know the Author
**Alan D Moore**
is a data analyst and software developer who has been solving problems with Python since 2006. He's developed both open source and private code using frameworks like Django, Flask, Qt, and, Tkinter, and contributes to various open source Python and Javascript projects. Alan is the author of Python GUI Programming with Tkinter.
## Other books by the authors
[Python GUI programming with Tkinter](https://www.packtpub.com/application-development/python-gui-programming-tkinter?utm_source=github&utm_medium=repository&utm_campaign=)
### Suggestions and Feedback
[Click here](https://docs.google.com/forms/d/e/1FAIpQLSdy7dATC6QmEL81FIUuymZ0Wy9vH1jHkvpY57OiMeKGqib_Ow/viewform) if you have any feedback or suggestions.
没有合适的资源?快使用搜索试试~ 我知道了~
Mastering-GUI-Programming-with-Python:精通Python的GUI编程
共112个文件
py:73个
png:14个
ui:4个
3星 · 超过75%的资源 需积分: 50 8 下载量 66 浏览量
2021-05-04
14:49:41
上传
评论
收藏 1.62MB ZIP 举报
温馨提示
精通Python的GUI编程 这是Packt发布的“ 进行的代码库。 使用PyQt开发令人印象深刻的跨平台GUI应用程序 这本书是关于什么的? 长期以来,PyQt5一直是可用于Python的功能最强大,功能最全面的GUI框架,但是缺少可用于指导Python程序员如何使用它的凝聚力资源。 本书旨在通过全面介绍PyQt5进行GUI开发来解决该问题。 本书涵盖以下激动人心的功能: 掌握PyQt5的内部原理 了解GUI应用程序中的元素如何与信号和插槽通信 学习样式化应用程序的技巧 使用QtSQL模块探索数据库驱动的应用程序 使用QPainter创建2D图形 使用QOpenGLWidget深入研究3D图形 使用QtNetwork和QtWebEngine构建网络和Web感知应用程序 如果您觉得这本书适合您,请立即获取! 说明和导航 所有代码都组织在文件夹中。 例如,Chapter03。 该
资源详情
资源评论
资源推荐
收起资源包目录
Mastering-GUI-Programming-with-Python:精通Python的GUI编程 (112个子文件)
example.csv 267B
example-original.csv 267B
smile.gif 201B
vertex_shader.glsl 203B
fragment_shader.glsl 84B
fight_fighter2.html 2KB
MANIFEST.in 87B
MANIFEST.in 87B
machine.jpg 368KB
finder.js 619B
LICENSE 1KB
LICENSE 1KB
LICENSE 1KB
README.md 5KB
print.pdf 24KB
logo.png 36KB
logo.png 36KB
tile.png 6KB
nc_logo.png 6KB
O.png 4KB
O.png 4KB
O.png 4KB
X.png 3KB
X.png 3KB
X.png 3KB
blue_crew2.png 432B
shadow_hawks.png 428B
crimson_sharks.png 354B
night_terrors.png 302B
resources.py 2.08MB
resources.py 1.39MB
game_lobby.py 11KB
invoice_maker_printable.py 10KB
text_editor.py 10KB
question_4_example_code.py 9KB
invoice_maker.py 8KB
system_monitor.py 8KB
calendar_app.py 8KB
meme_gen.py 8KB
coffee_list2.py 7KB
widget_demo.py 7KB
tankity_tank_tank_tank.py 7KB
simple_browser.py 6KB
soundboard.py 6KB
wedge_animation.py 6KB
csv_editor.py 5KB
coffee_list1.py 5KB
calendar_app.py 5KB
captains_log.py 5KB
ttt-qt.py 5KB
tcp_chat.py 4KB
calendar_form.py 4KB
cpu_graph.py 4KB
hasher.py 4KB
file_searcher.py 4KB
poster.py 4KB
question_5_json_poster.py 4KB
temp_humid_display.py 4KB
udp_chat.py 4KB
qtimer_demo.py 3KB
file_searcher_subclassed.py 3KB
calendar_form.py 3KB
model-view_code.py 2KB
inventory_validator.py 2KB
three_color_led_gui.py 2KB
signal_slots_demo.py 2KB
board.py 2KB
form_window.py 2KB
category_window.py 2KB
board.py 2KB
non-model-view_code.py 2KB
list_models.py 2KB
calculator_form.py 2KB
engine.py 1KB
engine.py 1KB
question_8_answer.py 1KB
mainwindow.py 1KB
mainwindow.py 1KB
phone_dialer.py 1KB
question_7_return_value_test.py 1KB
broken_example_for_questions.py 1KB
qt_richtext_demo.py 1KB
question_5_example_code.py 1KB
setup.py 1KB
setup.py 1KB
sample_http_server.py 1018B
downloader.py 945B
question_3_tcp_server.py 919B
qt_template.py 645B
qt_template.py 640B
video_test.py 612B
question_5_answer.py 345B
audio_test.py 292B
__main__.py 261B
__main__.py 227B
hello_world.py 138B
run.py 110B
run.py 45B
__init__.py 0B
__init__.py 0B
共 112 条
- 1
- 2
焦淼淼
- 粉丝: 25
- 资源: 4643
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论2