scientific article; zbMATH DE number 1314482
Until now, there has not been much Qt documentation for beginners. The package itself includes a tutorial, but leaves out a lot. There are other example programs, but often you have to search through several to find what you are looking for, and sometimes you don't find it at all. Some people think it's hard to get started with Qt, but after they have overcome the initial hurdles, they see that Qt helps them in a lot of ways when writing their applications. That's why I decided to write this book. It will teach you how to program with Qt from the start, and it will help you make more sense of the documentation that comes with Qt. Book contents: Chapter 1, Introduction introduces you to basic Qt concepts. It gives you some information about why people use GUI toolkits in the first place, and explains what is special about Qt. You will learn how and where you can get Qt, whether you have to pay for it or not, and where to go if you are stuck with a Qt related problem. Chapter 2, First Steps in Qt Programming is a Qt programming primer. We start with a simple ``Hello World example, learn about signals and slots, and finish the chapter by creating a small painting program that lets you scribble on a virtual canvas in various colors. Chapter 3, Learning More About Qt continues the Qt tutorial. We develop the painting application into something more useful. By the end of this chapter, you will know about using files, programming menus, and other features of Qt. Chapter 4, A Guided Tour Through The Simple Widgets is a presentation of all simple widgets available in Qt. This chapter can help you pick the right widget for any given task. If an appropriate widget is not listed, you'll know that you have to develop your own. You will also find explanations of the most useful methods, code examples, and usability hints for using existing widgets. Chapter 5, A Guided Tour Through The Qt Dialogs continues the tour through the available GUI elements in Qt, and shows which dialogs are available. It also shows you how to program your own dialogs and tab dialogs. Chapter 6, Using Layout Managers explains how widgets are automatically laid out within their parent window so that their positions are computed at runtime according to their needs. This is a complicated topic, so I provide several examples to make it easier to understand. Chapter 7, Some Thoughts on GUI Design provides you with some hints about writing applications that users will like. This includes guidelines about when to use which widget. Chapter 8, Container Classes explains how to use classes for building up lists, arrays, and dictionaries, and how to traverse all elements in a container. Chapter 9, Graphics is about creating custom graphics, including animations, printing, colors, and two-dimensional transformations. Chapter 10, Text Processing has sections on working with regular expressions and on checking input into text-entry fields. The classes explained here can often reduce the length of your code and ease your programming efforts. Chapter 11, Working with Files and Directories explains how to access files and directories and maintain portability using the classes that Qt provides. These classes can shield your code from the native APIs. Chapter 12, Inter-Application Communication tells you how Qt applications can exchange data with each other, or with other applications. It describes the clipboard and drag and drop. Chapter 13, Working with Date and Time Values provides information about working with date and time values, including how to use a stop watch. Chapter 14, Writing Your Own Widgets explains how to write your own widgets. Chapter 15, Focus Handling explains how to control the way Qt passes the keyboard focus to widgets. This is not crucial for getting an application up and running, but it is important if you don't want your users to hate you. Chapter 16, Advanced Event Handling contains information about advanced event handling such as filtering the events that go to a widget, and sending synthetic events. Chapter 17, Advanced Signals and Slots builds on the introduction to signals and slots in the tutorial, and informs you about advanced usage of signals and slots. Chapter 18, Debugging offers hints about Qt that can make debugging easier. Chapter 19, Portability explains how you can best achieve portability for your Qt programs. Chapter 20, Using GUI Builders introduces you to some GUI-builders that can save you the work of programming each dialog in an application by hand. Chapter 21, Qt Network Programming gives an example of using Qt for non-GUI tasks by presenting a little HTTP server program created with this toolkit. Chapter 22, Interfacing Qt with Other Languages and Libraries explains how to interface Qt with other languages and libraries. Its sections include using Qt with Perl, integrating Qt and Xt widgets, using OpenGL in Qt programs, and writing Netscape plug-ins with Qt. Chapter 23, Using the Visual C++ IDE for Qt Programs provides hints about how to use the Visual C++ IDE (Visual Studio) from Microsoft for writing Qt programs. Chapter 24, Sample Qt Projects presents two sample Qt project: a freeware project and a commercial application that should give you an idea of what other people have accomplished with Qt. Chapter 25, A first look at Qt 2.0 contains information about the new features in Qt 2.0. Appendix A, Answer to Exercises provides complete, commented answers to all exercises in the tutorial.
This page was built for publication:
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4256346)