~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/examples.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html
 
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/doc/src/examples.qdoc -->
 
6
<head>
 
7
    <title>Qt 4.0: Qt Examples</title>
 
8
    <style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
 
9
a:link { color: #004faf; text-decoration: none }
 
10
a:visited { color: #672967; text-decoration: none }
 
11
td.postheader { font-family: sans-serif }
 
12
tr.address { font-family: sans-serif }
 
13
body { background: #ffffff; color: black; }</style>
 
14
</head>
 
15
<body>
 
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
17
<tr>
 
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
 
19
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="annotated.html"><font color="#004faf">Annotated</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
 
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">Qt Examples</h1>
 
21
<p>This is the list of examples in Qt's <tt>examples</tt> directory. The examples demonstrate Qt features in small, self-contained programs. They are not very impressive when you run them, but their source code is carefully written to show good Qt programming practices. If you are new to Qt, you should probably start by going through the <a href="tutorial.html">Tutorial</a> before you have a look at the <a href="mainwindows-application.html">Application</a> example.</p>
 
22
<p>In addition to the examples and the tutorial, Qt includes a <a href="demos.html">selection of demos</a> that deliberately show off Qt's features. You might want to look at these as well.</p>
 
23
<p>Examples marked with an asterisk (<sup>*</sup>) are fully documented. It is our goal to fully document all examples in a future release.</p>
 
24
<p>Categories:</p>
 
25
<ul><li><a href="#qt-tutorial">Qt Tutorial</a></li>
 
26
<li><a href="#widget-examples">Widget Examples</a></li>
 
27
<li><a href="#dialog-examples">Dialog Examples</a></li>
 
28
<li><a href="#main-window-examples">Main Window Examples</a></li>
 
29
<li><a href="#layout-examples">Layout Examples</a></li>
 
30
<li><a href="#item-view-examples">Item View Examples</a></li>
 
31
<li><a href="#painting-examples">Painting Examples</a></li>
 
32
<li><a href="#rich-text-examples">Rich Text Examples</a></li>
 
33
<li><a href="#tool-examples">Tool Examples</a></li>
 
34
<li><a href="#thread-examples">Thread Examples</a></li>
 
35
<li><a href="#drag-and-drop-examples">Drag and Drop Examples</a></li>
 
36
<li><a href="#opengl-examples">OpenGL Examples</a></li>
 
37
<li><a href="#xml-examples">XML Examples</a></li>
 
38
<li><a href="#network-examples">Network Examples</a></li>
 
39
<li><a href="#sql-examples">SQL Examples</a></li>
 
40
<li><a href="#qt-designer-examples">Qt Designer Examples</a></li>
 
41
<li><a href="#qt-linguist-examples">Qt Linguist Examples</a></li>
 
42
<li><a href="#activeqt-examples">ActiveQt Examples</a></li>
 
43
</ul>
 
44
<a name="qt-tutorial"></a>
 
45
<h2>Qt Tutorial</h2>
 
46
<ul>
 
47
<li><a href="tutorial-t1.html">Tutorial 1: Hello World!</a><sup>*</sup></li>
 
48
<li><a href="tutorial-t2.html">Tutorial 2: Calling it Quits</a><sup>*</sup></li>
 
49
<li><a href="tutorial-t3.html">Tutorial 3: Family Values</a><sup>*</sup></li>
 
50
<li><a href="tutorial-t4.html">Tutorial 4: Let There Be Widgets</a><sup>*</sup></li>
 
51
<li><a href="tutorial-t5.html">Tutorial 5: Building Blocks</a><sup>*</sup></li>
 
52
<li><a href="tutorial-t6.html">Tutorial 6: Building Blocks Galore!</a><sup>*</sup></li>
 
53
<li><a href="tutorial-t7.html">Tutorial 7: One Thing Leads to Another</a><sup>*</sup></li>
 
54
<li><a href="tutorial-t8.html">Tutorial 8: Preparing for Battle</a><sup>*</sup></li>
 
55
<li><a href="tutorial-t9.html">Tutorial 9: With Cannon You Can</a><sup>*</sup></li>
 
56
<li><a href="tutorial-t10.html">Tutorial 10: Smooth as Silk</a><sup>*</sup></li>
 
57
<li><a href="tutorial-t11.html">Tutorial 11: Giving It a Shot</a><sup>*</sup></li>
 
58
<li><a href="tutorial-t12.html">Tutorial 12: Hanging in the Air the Way Bricks Don't</a><sup>*</sup></li>
 
59
<li><a href="tutorial-t13.html">Tutorial 13: Game Over</a><sup>*</sup></li>
 
60
<li><a href="tutorial-t14.html">Tutorial 14: Facing the Wall</a><sup>*</sup></li>
 
61
</ul>
 
62
<a name="widget-examples"></a>
 
63
<h2>Widget Examples</h2>
 
64
<ul>
 
65
<li><a href="widgets-analogclock.html">Analog Clock</a><sup>*</sup></li>
 
66
<li><a href="widgets-calculator.html">Calculator</a><sup>*</sup></li>
 
67
<li><a href="widgets-charactermap.html">Character Map</a><sup>*</sup></li>
 
68
<li><a href="widgets-digitalclock.html">Digital Clock</a><sup>*</sup></li>
 
69
<li><a href="widgets-groupbox.html">Group Box</a><sup>*</sup></li>
 
70
<li><a href="widgets-icons.html">Icons</a><sup>*</sup></li>
 
71
<li><a href="widgets-imageviewer.html">Image Viewer</a><sup>*</sup></li>
 
72
<li><a href="widgets-lineedits.html">Line Edits</a></li>
 
73
<li><a href="widgets-screenshot.html">Screenshot</a><sup>*</sup></li>
 
74
<li><a href="widgets-scribble.html">Scribble</a><sup>*</sup></li>
 
75
<li><a href="widgets-sliders.html">Sliders</a><sup>*</sup></li>
 
76
<li><a href="widgets-spinboxes.html">Spin Boxes</a></li>
 
77
<li><a href="widgets-styles.html">Styles</a><sup>*</sup></li>
 
78
<li><a href="widgets-tetrix.html">Tetrix</a></li>
 
79
<li><a href="widgets-tooltips.html">Tooltips</a><sup>*</sup></li>
 
80
<li><a href="widgets-wiggly.html">Wiggly</a><sup>*</sup></li>
 
81
<li><a href="widgets-windowflags.html">Window Flags</a><sup>*</sup></li>
 
82
</ul>
 
83
<a name="dialog-examples"></a>
 
84
<h2>Dialog Examples</h2>
 
85
<ul>
 
86
<li><a href="dialogs-complexwizard.html">Complex Wizard</a><sup>*</sup></li>
 
87
<li><a href="dialogs-configdialog.html">Configuration Dialog</a></li>
 
88
<li><a href="dialogs-extension.html">Extension</a><sup>*</sup></li>
 
89
<li><a href="dialogs-findfiles.html">Find Files</a><sup>*</sup></li>
 
90
<li><a href="dialogs-simplewizard.html">Simple Wizard</a><sup>*</sup></li>
 
91
<li><a href="dialogs-standarddialogs.html">Standard Dialogs</a></li>
 
92
<li><a href="dialogs-tabdialog.html">Tab Dialog</a><sup>*</sup></li>
 
93
</ul>
 
94
<a name="main-window-examples"></a>
 
95
<h2>Main Window Examples</h2>
 
96
<ul>
 
97
<li><a href="mainwindows-application.html">Application</a><sup>*</sup></li>
 
98
<li><a href="mainwindows-mdi.html">MDI</a></li>
 
99
<li><a href="mainwindows-menus.html">Menus</a></li>
 
100
<li><a href="mainwindows-recentfiles.html">Recent Files</a></li>
 
101
<li><a href="mainwindows-sdi.html">SDI</a></li>
 
102
</ul>
 
103
<a name="layout-examples"></a>
 
104
<h2>Layout Examples</h2>
 
105
<ul>
 
106
<li><a href="layouts-basiclayouts.html">Basic Layouts</a><sup>*</sup></li>
 
107
<li><a href="layouts-borderlayout.html">Border Layout</a></li>
 
108
<li><a href="layouts-flowlayout.html">Flow Layout</a></li>
 
109
</ul>
 
110
<a name="item-view-examples"></a>
 
111
<h2>Item View Examples</h2>
 
112
<ul>
 
113
<li><a href="itemviews-chart.html">Chart</a></li>
 
114
<li><a href="itemviews-dirview.html">Dir View</a></li>
 
115
<li><a href="itemviews-pixelator.html">Pixelator</a></li>
 
116
<li><a href="itemviews-simpletreemodel.html">Simple Tree Model</a><sup>*</sup></li>
 
117
<li><a href="itemviews-spinboxdelegate.html">Spin Box Delegate</a><sup>*</sup></li>
 
118
</ul>
 
119
<a name="painting-examples"></a>
 
120
<h2>Painting Examples</h2>
 
121
<ul>
 
122
<li><a href="painting-basicdrawing.html">Basic Drawing</a></li>
 
123
<li><a href="painting-concentriccircles.html">Concentric Circles</a></li>
 
124
<li><a href="painting-painterpaths.html">Painter Paths</a></li>
 
125
<li><a href="painting-transformations.html">Transformations</a></li>
 
126
</ul>
 
127
<a name="rich-text-examples"></a>
 
128
<h2>Rich Text Examples</h2>
 
129
<ul>
 
130
<li><a href="richtext-calendar.html">Calendar</a></li>
 
131
<li><a href="richtext-orderform.html">Order Form</a></li>
 
132
<li><a href="richtext-syntaxhighlighter.html">Syntax Highlighter</a></li>
 
133
</ul>
 
134
<a name="tool-examples"></a>
 
135
<h2>Tool Examples</h2>
 
136
<ul>
 
137
<li><a href="tools-codecs.html">Codecs</a></li>
 
138
<li><a href="tools-i18n.html">I18N</a></li>
 
139
<li><a href="tools-plugandpaint.html">Plug &amp; Paint</a><sup>*</sup></li>
 
140
<li>Plug &amp; Paint Plugins: <a href="tools-plugandpaintplugins-basictools.html">Basic Tools</a><sup>*</sup> and <a href="tools-plugandpaintplugins-extrafilters.html">Extra Filters</a><sup>*</sup></li>
 
141
<li><a href="tools-qtdemo.html">Qt Demo</a></li>
 
142
<li><a href="tools-regexp.html">RegExp</a></li>
 
143
<li><a href="tools-settingseditor.html">Settings Editor</a></li>
 
144
</ul>
 
145
<a name="thread-examples"></a>
 
146
<h2>Thread Examples</h2>
 
147
<ul>
 
148
<li><a href="threads-mandelbrot.html">Mandelbrot</a><sup>*</sup></li>
 
149
<li><a href="threads-semaphores.html">Semaphores</a><sup>*</sup></li>
 
150
<li><a href="threads-waitconditions.html">Wait Conditions</a><sup>*</sup></li>
 
151
</ul>
 
152
<a name="drag-and-drop-examples"></a>
 
153
<h2>Drag and Drop Examples</h2>
 
154
<ul>
 
155
<li><a href="draganddrop-draggableicons.html">Draggable Icons</a></li>
 
156
<li><a href="draganddrop-draggabletext.html">Draggable Text</a></li>
 
157
<li><a href="draganddrop-fridgemagnets.html">Fridge Magnets</a></li>
 
158
</ul>
 
159
<a name="opengl-examples"></a>
 
160
<h2>OpenGL Examples</h2>
 
161
<ul>
 
162
<li><a href="opengl-grabber.html">Grabber</a></li>
 
163
<li><a href="opengl-hellogl.html">Hello GL</a></li>
 
164
<li><a href="opengl-textures.html">Textures</a></li>
 
165
</ul>
 
166
<a name="xml-examples"></a>
 
167
<h2>XML Examples</h2>
 
168
<ul>
 
169
<li><a href="xml-dombookmarks.html">DOM Bookmarks</a></li>
 
170
<li><a href="xml-saxbookmarks.html">SAX Bookmarks</a></li>
 
171
</ul>
 
172
<a name="network-examples"></a>
 
173
<h2>Network Examples</h2>
 
174
<ul>
 
175
<li><a href="network-blockingfortuneclient.html">Blocking Fortune Client</a></li>
 
176
<li><a href="network-broadcastreceiver.html">Broadcast Receiver</a></li>
 
177
<li><a href="network-broadcastsender.html">Broadcast Sender</a></li>
 
178
<li><a href="network-fortuneclient.html">Fortune Client</a></li>
 
179
<li><a href="network-fortuneserver.html">Fortune Server</a></li>
 
180
<li><a href="network-ftp.html">FTP</a></li>
 
181
<li><a href="network-http.html">HTTP</a></li>
 
182
<li><a href="network-loopback.html">Loopback</a></li>
 
183
<li><a href="network-threadedfortuneserver.html">Threaded Fortune Server</a></li>
 
184
</ul>
 
185
<a name="sql-examples"></a>
 
186
<h2>SQL Examples</h2>
 
187
<ul>
 
188
<li><a href="sql-cachedtable.html">Cached Table</a></li>
 
189
<li><a href="sql-querymodel.html">Query Model</a></li>
 
190
<li><a href="sql-relationaltablemodel.html">Relational Table Model</a></li>
 
191
<li><a href="sql-tablemodel.html">Table Model</a></li>
 
192
</ul>
 
193
<a name="qt-designer-examples"></a>
 
194
<h2>Qt Designer Examples</h2>
 
195
<ul>
 
196
<li><a href="designer-calculatorbuilder.html">Calculator Builder</a><sup>*</sup></li>
 
197
<li><a href="designer-calculatorform.html">Calculator Form</a><sup>*</sup></li>
 
198
<li><a href="designer-customwidgetplugin.html">Custom Widget Plugin</a><sup>*</sup></li>
 
199
<li><a href="designer-worldtimeclockplugin.html">World Time Clock Plugin</a></li>
 
200
</ul>
 
201
<a name="qt-linguist-examples"></a>
 
202
<h2>Qt Linguist Examples</h2>
 
203
<ul>
 
204
<li><a href="linguist-hellotr.html">Hello tr()</a><sup>*</sup></li>
 
205
<li><a href="linguist-arrowpad.html">Arrow Pad</a><sup>*</sup></li>
 
206
<li><a href="linguist-trollprint.html">Troll Print</a><sup>*</sup></li>
 
207
</ul>
 
208
<a name="activeqt-examples"></a>
 
209
<h2>ActiveQt Examples</h2>
 
210
<ul>
 
211
<li><a href="activeqt-comapp.html">COM App</a><sup>*</sup></li>
 
212
<li><a href="activeqt-dotnet.html">Dot Net</a><sup>*</sup></li>
 
213
<li><a href="activeqt-hierarchy.html">Hierarchy</a><sup>*</sup></li>
 
214
<li><a href="activeqt-menus.html">Menus</a><sup>*</sup></li>
 
215
<li><a href="activeqt-multiple.html">Multiple</a><sup>*</sup></li>
 
216
<li><a href="activeqt-opengl.html">OpenGL</a><sup>*</sup></li>
 
217
<li><a href="activeqt-qutlook.html">Qutlook</a><sup>*</sup></li>
 
218
<li><a href="activeqt-simple.html">Simple</a><sup>*</sup></li>
 
219
<li><a href="activeqt-webbrowser.html">Web Browser</a><sup>*</sup></li>
 
220
<li><a href="activeqt-wrapper.html">Wrapper</a><sup>*</sup></li>
 
221
</ul>
 
222
<p /><address><hr /><div align="center">
 
223
<table width="100%" cellspacing="0" border="0"><tr class="address">
 
224
<td width="30%">Copyright &copy; 2005 <a href="trolltech.html">Trolltech</a></td>
 
225
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
226
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
 
227
</tr></table></div></address></body>
 
228
</html>