Doc - Reviewing Part 1 of the tutorial, ensuring it is as accurate as

possible with the current version of Qt Creator
This commit is contained in:
Kavindra Devi Palaraja
2009-08-05 15:30:48 +02:00
parent 9b86c8a9c7
commit dba63d388e

View File

@@ -113,28 +113,36 @@
\image addressbook-tutorial-part1-screenshot.png \image addressbook-tutorial-part1-screenshot.png
We begin by launching Qt Creator and use it to generate a new project. To 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 do this, select \gui{New File or Project...} from the \gui File menu. In
\gui{New...} dialog, select \gui{Projects|Qt4 Gui Application}. For a step the \gui{New...} dialog, select \gui{Projects|Qt4 Gui Application} and
by step guide on how to create a \gui Project with Qt Creator, refer to the click \gui OK. Set your project name to \bold part1 with the QtCore and
\l{Creating a Project in Qt Creator}. Ensure that you select QWidget as QtGui modules checked. Ensure that you select QWidget as your base class
your subclass and name it \c AddressBook. 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 \list
\o \c{addressbook.pro} - the project file, \o \c{main.cpp} - the file containing a \c main() function, with an
\o \c{addressbook.h} - the definition file for the \c AddressBook instance of \c AddressBook,
class,
\o \c{addressbook.cpp} - the implementation file for the \o \c{addressbook.cpp} - the implementation file for the
\c AddressBook class, \c AddressBook class,
\o \c{main.cpp} - the file containing a \c main() function, with an \o \c{addressbook.h} - the definition file for the \c AddressBook
instance of \c AddressBook, and class,
\o \c{addressbook.ui} - the user interface file created with \QD. \o \c{addressbook.ui} - the user interface file created with \QD,
and
\o \c{part1.pro} - the project file.
\endlist \endlist
Now that we have all the files we need, let's move on to designing the user Now that we have all the files we need, let's move on to designing the user
interface. 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 \section1 Placing Widgets on The Form