Qt

Address Book Tutorial

This tutorial gives an introduction to GUI programming using the Qt SDK.

In the process, you will learn about some basic technologies provided by Qt, such as:

  • Widgets and layout managers
  • Container classes
  • Signals and slots
  • Input and output devices

All these technologies will be introduced via the Qt Creator Integrated Development Environment (IDE).

If you are completely new to Qt, please read How to Learn Qt if you have not already done so.

The tutorial's source code is located in Qt's examples/tutorials/addressbook directory.

Tutorial chapters:

  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

Although this little application does not look much like a fully-fledged modern GUI application, it uses many of the basic techniques that are used in more complex applications. After you have worked through it, we recommend checking out the Application example, which presents a small GUI application, with menus, toolbars, a status bar, and so on.