source: trunk/doc/html/tutorial2-02.html@ 203

Last change on this file since 203 was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 3.0 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/doc/tutorial2.doc:73 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>The 'Big Picture'</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>The 'Big Picture'</h1>
33
34
35<p>
36<p> <center><img src="chart-forms.png" alt="The chart application's dialogs"></center>
37<p> The <tt>chart</tt> program allows users to create, save, load and visualise
38simple data sets. Each data element that the user enters can be given
39a color and pattern for the pie segment or bar, some label text and
40the text's position and color. The <tt>Element</tt> class is used to
41represent data elements.
42<p> The program consists of a simple <tt>main.cpp</tt> that loads the chart
43form. The chart form has a menubar and toolbar which provide access to
44the program's functionality. The program provides two dialogs, one to
45set options, and the other to create and edit a data set. Both dialogs
46are launched from chart form menu options or toolbar buttons.
47<p> The chart form's main widget is a <a href="qcanvasview.html">QCanvasView</a> which displays the
48<a href="qcanvas.html">QCanvas</a> on which we draw the pie chart or bar graph. We subclass
49QCanvasView to obtain some specialised behaviour. Similarly we
50subclass the <a href="qcanvastext.html">QCanvasText</a> class (used to place text items on a canvas)
51since we require slightly more than the standard class provides.
52<p> The project file, <tt>chart.pro</tt>, is used to create the Makefile that is
53used to build the application.
54<p> <p align="right">
55<a href="tutorial2-01.html">&laquo; Introduction</a> |
56<a href="tutorial2.html">Contents</a> |
57<a href="tutorial2-03.html">Data Elements &raquo;</a>
58</p>
59<p>
60<!-- eof -->
61<p><address><hr><div align=center>
62<table width=100% cellspacing=0 border=0><tr>
63<td>Copyright &copy; 2007
64<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
65<td align=right><div align=right>Qt 3.3.8</div>
66</table></div></address></body>
67</html>
Note: See TracBrowser for help on using the repository browser.