Address Book Tutorial

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.

Tutorial contents:

  1. Designing the User Interface
  2. Adding Addresses
  3. Navigating between Entries
  4. Editing and Removing Addresses
  5. Adding a Find Function
  6. Loading and Saving
  7. 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.

© 2015 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.