| 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:1397 --> | 
|---|
| 3 | <html> | 
|---|
| 4 | <head> | 
|---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | 
|---|
| 6 | <title>Wrapping Up</title> | 
|---|
| 7 | <style type="text/css"><!-- | 
|---|
| 8 | fn { margin-left: 1cm; text-indent: -1cm; } | 
|---|
| 9 | a:link { color: #004faf; text-decoration: none } | 
|---|
| 10 | a:visited { color: #672967; text-decoration: none } | 
|---|
| 11 | body { 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 Classes</font></a> | 
|---|
| 23 | | <a href="mainclasses.html"> | 
|---|
| 24 | <font color="#004faf">Main 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 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>Wrapping Up</h1> | 
|---|
| 33 |  | 
|---|
| 34 |  | 
|---|
| 35 | <p> | 
|---|
| 36 | <p> The <tt>chart</tt> application shows how straight-forward it is to create | 
|---|
| 37 | applications and their dialogs with Qt. Creating menus and toolbars is | 
|---|
| 38 | easy and Qt's <a href="signalsandslots.html">signals and slots</a> | 
|---|
| 39 | mechanism considerably simplifies GUI event handling. | 
|---|
| 40 | <p> Manually creating layouts can take some time to master, but there is | 
|---|
| 41 | an easy alternative: <a href="designer-manual.html">Qt Designer</a>. | 
|---|
| 42 | <a href="designer-manual.html">Qt Designer</a> includes simple but | 
|---|
| 43 | powerful layout tools and a code editor. It can automatically generate | 
|---|
| 44 | <tt>main.cpp</tt> and the <tt>.pro</tt> project file. | 
|---|
| 45 | <p> The <tt>chart</tt> application is ripe for further development and | 
|---|
| 46 | experimentation. You might consider implementing some of the following | 
|---|
| 47 | ideas: | 
|---|
| 48 | <ul> | 
|---|
| 49 | <li> Use a <a href="qvalidator.html">QValidator</a> subclass to ensure that only valid doubles are | 
|---|
| 50 | entered as values. | 
|---|
| 51 | <li> Adding more chart types, e.g. line graph, area graph and hi-lo | 
|---|
| 52 | graph. | 
|---|
| 53 | <li> Allowing the user to set top, bottom left and right margins. | 
|---|
| 54 | <li> Allowing the user to specify a title which they can drag into | 
|---|
| 55 | position like the labels. | 
|---|
| 56 | <li> Providing an axis drawing and labelling option. | 
|---|
| 57 | <li> Providing an option to provide a key (or legend) instead of labels. | 
|---|
| 58 | <li> Adding a 3D look option to all chart types. | 
|---|
| 59 | </ul> | 
|---|
| 60 | <p> <p align="right"> | 
|---|
| 61 | <a href="tutorial2-10.html">« The Project File</a> | | 
|---|
| 62 | <a href="tutorial2.html">Contents »</a> | 
|---|
| 63 | </p> | 
|---|
| 64 | <p> | 
|---|
| 65 | <!-- eof --> | 
|---|
| 66 | <p><address><hr><div align=center> | 
|---|
| 67 | <table width=100% cellspacing=0 border=0><tr> | 
|---|
| 68 | <td>Copyright © 2007 | 
|---|
| 69 | <a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> | 
|---|
| 70 | <td align=right><div align=right>Qt 3.3.8</div> | 
|---|
| 71 | </table></div></address></body> | 
|---|
| 72 | </html> | 
|---|