GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - maflAT/Mastering-GUI-Programming-with-Python: Mastering GUI Programming with Python

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

67 Commits
67 Commits

Folders and files

NameName
Last commit message
Last commit date
Chapter01
Chapter01
 
 
Chapter02
Chapter02
 
 
Chapter03
Chapter03
 
 
Chapter04
Chapter04
 
 
Chapter05
Chapter05
 
 
Chapter06
Chapter06
 
 
Chapter07
Chapter07
 
 
Chapter08
Chapter08
 
 
Chapter09
Chapter09
 
 
Chapter10
Chapter10
 
 
Chapter11
Chapter11
 
 
Chapter12
Chapter12
 
 
Chapter13
Chapter13
 
 
Chapter14
Chapter14
 
 
Chapter15
Chapter15
 
 
Chapter16
Chapter16
 
 
Chapter17
Chapter17
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Mastering GUI Programming with Python

Mastering GUI Programming with Python

This is the code repository for Mastering GUI Programming with 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 today!

https://www.packtpub.com/

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.

Code in Action

Click on the following link to see the Code in Action: Click here to view the videos

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)"

Page 418:

  • Here is the =__init__() method should be Here is the __init__() method

Page 419:

  • The mousePressEvent()) method is called should be The mousePressEvent() method is called

Related products

  • Qt5 Python GUI Programming Cookbook [Packt] [Amazon]

  • Mastering OpenCV 4 with Python [Packt] [Amazon]

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

Suggestions and Feedback

Click here if you have any feedback or suggestions.

About

Mastering GUI Programming with Python

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.