© 2020

Beginning PyQt

A Hands-on Approach to GUI Programming

  • Develops PyQt UI projects with each chapter

  • Breaks down Python code to learn how larger applications work

  • Covers a range of different topics for building interactive applications in PyQt


Table of contents

  1. Front Matter
    Pages i-xix
  2. Joshua M. Willman
    Pages 1-6
  3. Joshua M. Willman
    Pages 7-20
  4. Joshua M. Willman
    Pages 21-52
  5. Joshua M. Willman
    Pages 53-83
  6. Joshua M. Willman
    Pages 85-134
  7. Joshua M. Willman
    Pages 135-164
  8. Joshua M. Willman
    Pages 165-203
  9. Joshua M. Willman
    Pages 205-224
  10. Joshua M. Willman
    Pages 225-273
  11. Joshua M. Willman
    Pages 275-317
  12. Joshua M. Willman
    Pages 319-329
  13. Joshua M. Willman
    Pages 331-377
  14. Back Matter
    Pages 379-440

About this book


Learn GUI application development from the ground up, taking a practical approach by building simple projects that teach the fundamentals of using PyQt. Each chapter gradually moves on to teach more advanced and diverse concepts to aid you in designing interesting applications using the latest version of PyQt.

You’ll start by reviewing the beginning steps of GUI development from, using different projects in every chapter to teach new widgets or concepts that will help you to build better UIs. As you follow along, you will construct more elaborate GUIs,covering topics that include storing data using the clipboard, graphics and animation, support for SQL databases, and multithreading applications. Using this knowledge, you’ll be able to build a photo editor, games, a text editor, a working web browser and an assortment of other GUIs. 

Beginning PyQt will guide you through the process of creating UIs to help you bring your own ideas to life. Learn what is necessary to begin making your own applications and more with PyQt! 

You will:

  • Create your own cross-platform GUIs with PyQt and Python
  • Use PyQt’s many widgets and apply them to building real applications
  • Build larger applications and break the steps into smaller parts for deeper understanding
  • Work with complex applications in PyQt, from animation to databases and more


pyqt python ui opensource qt qtdesigner clipboard graphics animation database

Authors and affiliations

  1. 1.HamptonUSA

About the authors

Joshua Willman began using Python in 2015, when his first task was to build neural networks using machine learning libraries, including Keras and Tensorflow, for image classification. While creating large image data sets for his research, he needed to build a GUI that would simplify the workload and labeling process, which introduced him to PyQt. He currently works as a Python Developer and Instructor, designing courses to help others learn about coding in Python for game development, AI and machine learning, and programming using microcontollers. More recently, he set up the site Red Huli to explore his and others’ interests in using Python and programming for creative purposes. 

Bibliographic information

Industry Sectors
Chemical Manufacturing
IT & Software
Finance, Business & Banking
Oil, Gas & Geosciences