Linked e-resources

Details

Intro
Table of Contents
About the Author
About the Technical Reviewers
Acknowledgments
Introduction
Chapter 1: Getting Started with PyQt
The PyQt Framework
Why Choose PyQt?
PyQt5 vs. PyQt6
Installing Python 3 and PyQt6
Checking Your Version of Python
Installing PyQt6
Introduction to User Interfaces
What Is a Graphical User Interface?
Concepts for Creating Good Interface Design
Creating Your First GUI: An Empty Window
Explanation for Creating an Empty Window
Modifying the Window
Summary
Chapter 2: Building a Simple GUI

The QLabel Widget
Explanation for Using QLabel
Project 2.1
User Profile GUI
Designing the User Profile GUI
Explanation for the User Profile GUI
Summary
Chapter 3: Adding More Functionality with Widgets
Event Handlers and Signals and Slots
The QPushButton Widget
Explanation for Using QPushButton
The QLineEdit Widget
Explanation for Using QLineEdit
The QCheckBox Widget
Explanation for Using QCheckBox
The QMessageBox Dialog
Windows vs. Dialogs
Explanation for Using QMessageBox
Project 3.1
Login GUI and Registration Dialog

Designing the Login GUI and Registration Dialog
Explanation for Creating the Login GUI
How to Open a New Window or Dialog
Using Event Handlers to Close a Window
Explanation for Creating the Main Window
Explanation for Creating the Registration Dialog
Summary
Chapter 4: Learning About Layout Management
Using Layout Managers in PyQt
Absolute Positioning
Horizontal and Vertical Layouts with Box Layouts
Explanation for QHBoxLayout
Explanation for QVBoxLayout
The QButtonGroup Class
Creating Nested Layouts
Explanation for Nested Layouts

The QSpinBox and QComboBox Widgets
Combining Layouts and Arranging Widgets
Arranging Widgets in Grids with QGridLayout
Explanation for QGridLayout
The QTextEdit Widget
Adding Widgets and Spanning Rows and Columns in QGridLayout
Finding Child Widgets in a Layout
Building Forms with QFormLayout
Explanation for QFormLayout
Adding Widgets and Layouts to QFormLayout
Managing Pages with QStackedLayout
Explanation for QStackedLayout
Additional Tips for Managing Space
Explanation for Managing Space
Setting Content Margins
Summary

Chapter 5: Menus, Toolbars, and More
Common Practices for Creating Menus
Creating a Simple Menu Bar
Explanation for Creating a Menu Bar
QMainWindow vs. QWidget
Creating the Menu Bar and Adding Actions
Using Icons and the QIcon Class
Explanation for Using Icons
Setting the Central Widget
Built-in Dialog Classes in PyQt
The QFileDialog Class
The QInputDialog Class
The QFontDialog Class
The QColorDialog Class
The About QMessageBox
Project 5.1
Rich Text Notepad GUI
Designing the Rich Text Notepad GUI
Explanation for the Rich Text Notepad GUI

Browse Subjects

Show more subjects...

Statistics

from
to
Export