You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
3.3 KiB
76 lines
3.3 KiB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/doc/tutorial.doc:36 -->
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
<title>TQt Tutorial #1 - The 14 Steps</title>
|
|
<style type="text/css"><!--
|
|
fn { margin-left: 1cm; text-indent: -1cm; }
|
|
a:link { color: #004faf; text-decoration: none }
|
|
a:visited { color: #672967; text-decoration: none }
|
|
body { background: #ffffff; color: black; }
|
|
--></style>
|
|
</head>
|
|
<body>
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr bgcolor="#E5E5E5">
|
|
<td valign=center>
|
|
<a href="index.html">
|
|
<font color="#004faf">Home</font></a>
|
|
| <a href="classes.html">
|
|
<font color="#004faf">All Classes</font></a>
|
|
| <a href="mainclasses.html">
|
|
<font color="#004faf">Main Classes</font></a>
|
|
| <a href="annotated.html">
|
|
<font color="#004faf">Annotated</font></a>
|
|
| <a href="groups.html">
|
|
<font color="#004faf">Grouped Classes</font></a>
|
|
| <a href="functions.html">
|
|
<font color="#004faf">Functions</font></a>
|
|
</td>
|
|
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>TQt Tutorial #1 - The 14 Steps</h1>
|
|
|
|
|
|
<p> This tutorial gives an introduction to GUI programming using the TQt
|
|
toolkit. It doesn't cover everything: the emphasis is on teaching the
|
|
programming philosophy of GUI programming, and TQt's features are
|
|
introduced as needed. Some commonly used features are never used in
|
|
this tutorial.
|
|
<p> Chapter one starts with a ten-line hello-world and each subsequent
|
|
chapter introduces one or a few more concepts. By Chapter 14, the ten
|
|
lines from Chapter 1 have turned into a 650-line game.
|
|
<p> If you're completely new to TQt, please read <a href="how-to-learn-ntqt.html">How to Learn TQt</a> if you haven't already done so.
|
|
<p> Tutorial chapters:
|
|
<ol type=1>
|
|
<li> <a href="tutorial1-01.html">Hello, World!</a>
|
|
<li> <a href="tutorial1-02.html">Calling it Quits</a>
|
|
<li> <a href="tutorial1-03.html">Family Values</a>
|
|
<li> <a href="tutorial1-04.html">Let There Be Widgets</a>
|
|
<li> <a href="tutorial1-05.html">Building Blocks</a>
|
|
<li> <a href="tutorial1-06.html">Building Blocks Galore!</a>
|
|
<li> <a href="tutorial1-07.html">One Thing Leads to Another</a>
|
|
<li> <a href="tutorial1-08.html">Preparing for Battle</a>
|
|
<li> <a href="tutorial1-09.html">With Cannon You Can</a>
|
|
<li> <a href="tutorial1-10.html">Smooth as Silk</a>
|
|
<li> <a href="tutorial1-11.html">Giving It a Shot</a>
|
|
<li> <a href="tutorial1-12.html">Hanging in the Air the Way Bricks Don't</a>
|
|
<li> <a href="tutorial1-13.html">Game Over</a>
|
|
<li> <a href="tutorial1-14.html">Facing the Wall</a>
|
|
</ol>
|
|
<p> This little game doesn't look much like a modern GUI application. It
|
|
uses a good few of the GUI techniques, but after you've worked through
|
|
it, we recommend reading <a href="tutorial2.html">Tutorial #2</a>. The
|
|
second tutorial is a little more formal and covers the features of
|
|
typical application including menubars, toolbars, loading and saving,
|
|
dialogs, etc.
|
|
<p>
|
|
<!-- eof -->
|
|
<p><address><hr><div align=center>
|
|
<table width=100% cellspacing=0 border=0><tr>
|
|
<td>Copyright © 2007
|
|
<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
|
|
<td align=right><div align=right>TQt 3.3.8</div>
|
|
</table></div></address></body>
|
|
</html>
|