summaryrefslogtreecommitdiff
path: root/doc/addressbook-sdk.qdoc
diff options
context:
space:
mode:
authorKavindra Devi Palaraja <kavindra.palaraja@nokia.com>2009-08-05 15:30:48 +0200
committerKavindra Devi Palaraja <kavindra.palaraja@nokia.com>2009-08-05 15:36:28 +0200
commitdba63d388e5f8d4404140df5abcaee50f9ceec26 (patch)
treeaf3c47037829faee83184c143c4bb61ccc936bef /doc/addressbook-sdk.qdoc
parent9b86c8a9c7bdd96a56d93914bd3f98402773a21e (diff)
downloadqt-creator-dba63d388e5f8d4404140df5abcaee50f9ceec26.tar.gz
Doc - Reviewing Part 1 of the tutorial, ensuring it is as accurate as
possible with the current version of Qt Creator
Diffstat (limited to 'doc/addressbook-sdk.qdoc')
-rw-r--r--doc/addressbook-sdk.qdoc32
1 files changed, 20 insertions, 12 deletions
diff --git a/doc/addressbook-sdk.qdoc b/doc/addressbook-sdk.qdoc
index 6cf15cb19c..1c3a84d118 100644
--- a/doc/addressbook-sdk.qdoc
+++ b/doc/addressbook-sdk.qdoc
@@ -113,28 +113,36 @@
\image addressbook-tutorial-part1-screenshot.png
We begin by launching Qt Creator and use it to generate a new project. To
- do this, select \gui New from the \gui File menu. In the
- \gui{New...} dialog, select \gui{Projects|Qt4 Gui Application}. For a step
- by step guide on how to create a \gui Project with Qt Creator, refer to the
- \l{Creating a Project in Qt Creator}. Ensure that you select QWidget as
- your subclass and name it \c AddressBook.
+ do this, select \gui{New File or Project...} from the \gui File menu. In
+ the \gui{New...} dialog, select \gui{Projects|Qt4 Gui Application} and
+ click \gui OK. Set your project name to \bold part1 with the QtCore and
+ QtGui modules checked. Ensure that you select QWidget as your base class
+ and name it \c AddressBook.
- Five files will be generated in this \gui{Project}:
+ When you click \gui Next, \e five files will be generated in this
+ \gui{Project}:
\list
- \o \c{addressbook.pro} - the project file,
- \o \c{addressbook.h} - the definition file for the \c AddressBook
- class,
+ \o \c{main.cpp} - the file containing a \c main() function, with an
+ instance of \c AddressBook,
\o \c{addressbook.cpp} - the implementation file for the
\c AddressBook class,
- \o \c{main.cpp} - the file containing a \c main() function, with an
- instance of \c AddressBook, and
- \o \c{addressbook.ui} - the user interface file created with \QD.
+ \o \c{addressbook.h} - the definition file for the \c AddressBook
+ class,
+ \o \c{addressbook.ui} - the user interface file created with \QD,
+ and
+ \o \c{part1.pro} - the project file.
\endlist
Now that we have all the files we need, let's move on to designing the user
interface.
+ \table
+ \row
+ \o \bold{Note:} For more details on how to create a \gui Project
+ with Qt Creator, refer to \l{Creating a Project in Qt Creator}.
+ \endtable
+
\section1 Placing Widgets on The Form