diff --git a/doc/addressbook-sdk.qdoc b/doc/addressbook-sdk.qdoc index b6b257d55ff4a4d646001b81b9632ea4f74c3d8a..e4942d1a82806a2b841eb311dd88a84fa595e142 100644 --- a/doc/addressbook-sdk.qdoc +++ b/doc/addressbook-sdk.qdoc @@ -75,13 +75,13 @@ Tutorial chapters: \list 1 - \o \l{Designing the User Interface} - \o \l{Adding Addresses} - \o \l{Navigating between Entries} - \o \l{Editing and Removing Addresses} - \o \l{Adding a Find Function} - \o \l{Loading and Saving} - \o \l{Additional Features} + \o \l{examples/addressbook-sdk/part1}{Designing the User Interface} + \o \l{examples/addressbook-sdk/part2}{Adding Addresses} + \o \l{examples/addressbook-sdk/part3}{Navigating between Entries} + \o \l{examples/addressbook-sdk/part4}{Editing and Removing Addresses} + \o \l{examples/addressbook-sdk/part5}{Adding a Find Function} + \o \l{examples/addressbook-sdk/part6}{Loading and Saving} + \o \l{examples/addressbook-sdk/part7}{Additional Features} \endlist Although this little application does not look much like a fully-fledged @@ -96,7 +96,8 @@ /*! \page tutorials-addressbook-sdk-part1.html \contentspage {Address Book Tutorial}{Contents} - \nextpage \l{Adding Addresses}{Chapter 2} + \nextpage \l{examples/addressbook-sdk/part2}{Chapter 2} + \example examples/addressbook-sdk/part1 \title Address Book 1 - Designing the User Interface The first part of this tutorial covers the design of the basic graphical @@ -172,6 +173,48 @@ same application or library, and the code for the subclass can be reused in other projects. \endlist + + Since Qt does not provided a specific address book widget, we subclass a + standard Qt widget class and add features to it. The \c AddressBook class + we create in this tutorial can be reused in situations where a basic + address book is needed. + + + \section1 Defining the AddressBook Class + + The \l{examples/addressbook-sdk/part1/addressbook.h}{\c addressbook.h} file + is used to define the \c AddressBook class. + + We start by looking at what is already provided for us by Qt Creator. The + \c AddressBook class has been defined as a QWidget subclass with a + constructor and destructor.The Q_OBJECT macro is used to indicate that the + class uses internationalization and Qt's signals and slots features, even + if we do not use all of htese features at this stage. + + \snippet examples/addressbook-sdk/part1/addressbook.h class definition + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/qtcreator.qdoc b/doc/qtcreator.qdoc index cfd3d69c950a753dfab1402a00cf60ede566798b..e47ed3eb9b588769ef9e816fc270efdf497f1f19 100644 --- a/doc/qtcreator.qdoc +++ b/doc/qtcreator.qdoc @@ -1171,12 +1171,14 @@ \row \i \bold{Note:} + \row \i Gdb, and therefore Qt Creator's debugger works for optimized builds on Linux and Mac OS X. However, optimization may lead to re-ordering of instructions or sometimes even complete removal of some local variables. In this case, the \gui{Locals and Watchers} view may show unexpected data. + \row \i The debug information provided by gcc does not include enough information about the time when a variable is initialized. Therefore, Qt Creator can not tell whether the contents of a @@ -1354,7 +1356,8 @@ Qt Creator automatically adds Run Configurations for all the targets specified in the \c CMake project file. - Known issues for the current version can be found \l{Known Issues}{here}. + Known issues for the current version can be found + \l{Known Issues of Version 1.1.80}{here}. */