Creating an Account Management GUI

Learn how we create an account management GUI with PyQt.

We'll cover the following

Creating the application

The accounts and nations tables are managed using the account management GUI using QSqlRelationalModel. We created a GUI with functionality for managing the database directly rather than programmatically using the ideas we learned in the previous sections. The table's contents can be added to, removed, and sorted using the account administration GUI. The database will also be updated with new or removed rows. This example also briefly demonstrates the creation of a delegate for altering data.

We start by importing the required modules.

Get hands-on with 1200+ tech skills courses.