Skip to content
Snippets Groups Projects
Commit dba63d38 authored by Kavindra Devi Palaraja's avatar Kavindra Devi Palaraja
Browse files

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

possible with the current version of Qt Creator
parent 9b86c8a9
No related branches found
No related tags found
No related merge requests found
...@@ -113,28 +113,36 @@ ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment