Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |

# Wrapping Up

The `chart` application shows how straight-forward it is to create applications and their dialogs with TQt. Creating menus and toolbars is easy and TQt's signals and slots mechanism considerably simplifies GUI event handling.

Manually creating layouts can take some time to master, but there is an easy alternative: TQt Designer. TQt Designer includes simple but powerful layout tools and a code editor. It can automatically generate `main.cpp` and the `.pro` project file.

The `chart` application is ripe for further development and experimentation. You might consider implementing some of the following ideas:

- Use a TQValidator subclass to ensure that only valid doubles are entered as values.
- Adding more chart types, e.g. line graph, area graph and hi-lo graph.
- Allowing the user to set top, bottom left and right margins.
- Allowing the user to specify a title which they can drag into position like the labels.
- Providing an axis drawing and labelling option.
- Providing an option to provide a key (or legend) instead of labels.
- Adding a 3D look option to all chart types.

« The Project File | Contents »