|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
|
|
<title>Examples</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>Examples</h1>
|
|
|
|
|
|
|
|
|
|
|
|
<p> TQt ships with lots of small and some medium-sized example programs
|
|
|
|
that teach you how to implement various tasks with TQt. Most of them will show how to
|
|
|
|
use a certain class or module, others aim at programming techniques
|
|
|
|
and TQt basics, and some of them simply want to show you what's possible.
|
|
|
|
<p> Note that most of the examples assume that you have some experience with C++
|
|
|
|
and TQt and therefore are not commented extensively. If you are interested
|
|
|
|
in a line-by-line coverage please refer to the tutorials
|
|
|
|
<a href="tutorial.html">Tutorial #1</a>, and
|
|
|
|
<a href="tutorial2.html">Tutorial #2</a>, and also the
|
|
|
|
<a href="step-by-step-examples.html">step-by-step examples</a>.
|
|
|
|
<p> <h2> TQt Base Classes: Assorted Examples
|
|
|
|
</h2>
|
|
|
|
<a name="1"></a><p> <ul>
|
|
|
|
<li> <a href="tqaction-examples.html">TQAction and TQActionGroup</a>
|
|
|
|
<li> <a href="tqfont-examples.html">TQFont, TQFontMetrics, TQFontInfo and TQFontDatabase</a>
|
|
|
|
<li> <a href="tqprocess-examples.html">TQProcess</a>
|
|
|
|
</ul>
|
|
|
|
<p> <h2> TQt Modules: Assorted Examples
|
|
|
|
</h2>
|
|
|
|
<a name="2"></a><p> <ul>
|
|
|
|
<li> <a href="xml-examples.html">XML examples</a>
|
|
|
|
<li> <a href="network-examples.html">Network examples</a>
|
|
|
|
<li> <a href="opengl-examples.html">OpenGL examples</a>
|
|
|
|
<li> <a href="table-examples.html">Table examples</a>
|
|
|
|
<li> <a href="sql-examples.html">SQL examples</a>
|
|
|
|
</ul>
|
|
|
|
<p> <h2> Miscellaneous Examples
|
|
|
|
</h2>
|
|
|
|
<a name="4"></a><p>
|
|
|
|
<p><table width="100%">
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="aclock-example.html">Analog Clock</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="addressbook-example.html">Simple Addressbook</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="biff-example.html">Biff (UNIX only)</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="buttongroups-example.html">Buttons and Groupboxes</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="canvas-example.html">Canvas Example</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="checklists-example.html">Listviews with Checkable Items</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="cursor-example.html">Cursors</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="customlayout-example.html">Customized Layoutmanager</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="dclock-example.html">Digital Clock</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="demo-example.html">TQt Demo</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="desktop-example.html">Painting on the Desktop</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="dirview-example.html">A Directory Browser</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="distributor-example.html">TQt Distribution Example</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="dragdrop-example.html">Drag and Drop</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="drawdemo-example.html">Draw Demo</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="drawlines-example.html">Connect the Points</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="fileiconview-example.html">Simple Filemanager</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="forever-example.html">A Rectangle Draw "Benchmark"</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="hello-example.html">Hello, World</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="helpsystem-example.html">Helpsystem</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="helpviewer-example.html">Simple HTML Help Browser</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="i18n-example.html">Internationalization</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="iconview-example.html">Iconview</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="layout-example.html">Layout Managers</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="life-example.html">Conway's Game of Life</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="lineedits-example.html">Line Edits</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="listbox-example.html">Listbox Example</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="listboxcombo-example.html">Listboxes and Comboboxes</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="listviews-example.html">Listviews</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="mdi-example.html">An MDI Application</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="menu-example.html">Using menus</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="movies-example.html">Movies or the Story of the Animated GIF file</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="picture-example.html">Picture</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="popup-example.html">Popup Widgets</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="progress-example.html">Progress Bar and Dialog Example</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="progressbar-example.html">Progress Bar</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="tqdir-example.html">TQDir</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="qfd-example.html">Font Displayer</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="qmag-example.html">TQMag</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="tqtl-tqvaluelist-example.html">A Tiny TQTL Example</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="qwerty-example.html">Simple editor that can load encodings</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="rangecontrols-example.html">Range controls</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="regexptester-example.html">A Small Application for Testing Regular Expressions</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="richtext-example.html">Richtext</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="rot-example.html">Rot13</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="scribble-example.html">Simple Painting Application</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="scrollview-example.html">Scrollview</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="showimg-example.html">Show Image</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="simple-application-example.html">A Complete Application Window</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="simple_dd-example.html">Drag and Drop (Simple)</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="sound-example.html">Sound Example</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="splitter-example.html">Splitter</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="tabdialog-example.html">Tabdialog</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="tablet-example.html">Tablet Example</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="tetrix-example.html">Tetrix</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="textedit-example.html">Text Edit Example</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="themes-example.html">Themes (Styles)</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="tictac-example.html">Tic Tac Toe</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="tooltip-example.html">Advanced use of tool tips</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="toplevel-example.html">Toplevel Widgets</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="widgets-example.html">Widgets Example</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="wizard-example.html">Wizard</a></b>
|
|
|
|
<tr bgcolor=#f0f0f0><td><b><a href="xform-example.html">Transformed Graphics Demo</a></b>
|
|
|
|
</table>
|
|
|
|
<!-- 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>
|