© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
J. M. WillmanBeginning PyQthttps://doi.org/10.1007/978-1-4842-7999-1_3

3. Adding More Functionality with Widgets

Joshua M Willman1  
(1)
Sunnyvale, CA, USA
 

What good is a user interface if it isn’t interactive? This chapter is all about learning how to use widgets to make responsive user interfaces that react to a user’s interaction, handle different events, and relay important information back to the user. We will take a look at a few common widgets and see how to use them to design and build GUI applications.

In this chapter, you will
  • Be introduced to event handling and Qt’s signals and slots mechanism

  • Build GUIs using new widget classes, including QPushButton ...

Get Beginning PyQt: A Hands-on Approach to GUI Programming with PyQt6 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.