The tutorial is building an elaborate UI around a QMap. It doesn't use structured data, and it doesn't use model/view (which the dedicated addressbook example in itemviews does). It's not a good way of building an application, and the individual APIs for creating layouts, dialogs, or import/export are explained well enough in other examples. Pick-to: 6.5 Change-Id: Iffe47a0f6e04a933edb917c877ae845f50b74b4a Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> |
||
|---|---|---|
| .. | ||
| part1 | ||
| part2 | ||
| part3 | ||
| part4 | ||
| part5 | ||
| part6 | ||
| part7 | ||
| CMakeLists.txt | ||
| README | ||
| addressbook-tutorial-part1-labeled-layout.png | ||
| addressbook-tutorial-part1-labeled-screenshot.png | ||
| addressbook-tutorial-part1-screenshot.png | ||
| addressbook-tutorial-part2-add-contact.png | ||
| addressbook-tutorial-part2-add-flowchart.png | ||
| addressbook-tutorial-part2-add-successful.png | ||
| addressbook-tutorial-part2-labeled-layout.png | ||
| addressbook-tutorial-part2-signals-and-slots.png | ||
| addressbook-tutorial-part2-stretch-effects.png | ||
| addressbook-tutorial-part3-labeled-layout.png | ||
| addressbook-tutorial-part3-linkedlist.png | ||
| addressbook-tutorial-part3-screenshot.png | ||
| addressbook-tutorial-part4-remove.png | ||
| addressbook-tutorial-part5-finddialog.png | ||
| addressbook-tutorial-part5-notfound.png | ||
| addressbook-tutorial-part5-screenshot.png | ||
| addressbook-tutorial-part5-signals-and-slots.png | ||
| addressbook-tutorial-part6-load.png | ||
| addressbook-tutorial-part6-save.png | ||
| addressbook-tutorial-part6-screenshot.png | ||
| addressbook-tutorial-part7-screenshot.png | ||
| addressbook-tutorial-screenshot.png | ||
| addressbook-tutorial.qdoc | ||
| addressbook.pro | ||
README
The Address Book Tutorial shows how to put together a simple yet fully-functioning GUI application. The tutorial chapters can be found in the Qt documentation, which can be viewed using Qt Assistant or a Web browser. The tutorial is also available online at http://qt-project.org/doc/qt-5.0/qtwidgets/tutorials-addressbook.html All programs corresponding to the chapters in the tutorial should automatically be built when Qt is compiled, or will be provided as pre-built executables if you have obtained a binary package of Qt. If you have only compiled the Qt libraries, use the following instructions to build the tutorial. On Linux/Unix: Typing 'make' in this directory builds all the programs (part1/part1, part2/part2, part3/part3 and so on). Typing 'make' in each subdirectory builds just that tutorial program. On Windows: Create a single Visual Studio project for the tutorial directory in the usual way. You can do this by typing the following at the command line: qmake -tp vc You should now be able to open the project file in Visual Studio and build all of the tutorial programs at the same time. On Mac OS X: Create an Xcode project with the .pro file in the tutorial directory. You can do this by typing the following at the command line: qmake -spec macx-xcode Then open the generated Xcode project in Xcode and build it.