Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
dba63d38
Commit
dba63d38
authored
15 years ago
by
Kavindra Devi Palaraja
Browse files
Options
Downloads
Patches
Plain Diff
Doc - Reviewing Part 1 of the tutorial, ensuring it is as accurate as
possible with the current version of Qt Creator
parent
9b86c8a9
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/addressbook-sdk.qdoc
+20
-12
20 additions, 12 deletions
doc/addressbook-sdk.qdoc
with
20 additions
and
12 deletions
doc/addressbook-sdk.qdoc
+
20
−
12
View file @
dba63d38
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment