Address Book Tutorial
An introduction to GUI programming, showing how to put together a simple yet fully-functioning application.
This tutorial is an introduction to GUI programming with the Qt cross-platform framework.
In this tutorial, you will learn about some of the basic components of Qt, including:
- Widgets and layout managers
- Container classes
- Signals and slots
- Input and output devices
If you are new to Qt, we recommend reading How to Learn Qt first.
- Designing the User Interface
- Adding Addresses
- Navigating between Entries
- Editing and Removing Addresses
- Adding a Find Function
- Loading and Saving
- Additional Features
The tutorial source code is located in examples/tutorials/addressbook.
Although this little application does not look much like a fully-fledged modern GUI application, it uses many of the basic elements that are used in more complex applications. After you have worked through this tutorial, we recommend reading the Application example, which presents a small GUI application, with menus, toolbars, a status bar, and so on.