Programming with QT: Writing Portable GUI Applicat
Paperback – 380 pages
ISBN: 1565925882 / 9781565925885
After a basic application, the book moves onto the event model in Qt, which uses signals and slots to attach events to code. The author demonstrates that Qt is a remarkably sophisticated user interface library. Early sections examine programming menus, including pop-up menus, basic widgets, or controls (such as labels and listboxes), and more complex controls (such as sliders, progress bars, listviews, and tables).
Next the book presents material on Qt's built-in dialogs (for message boxes and opening and saving files) and layout managers. The author investigates Qt's container classes (such as arrays and dictionaries) and offers a lot of material on 2-D graphics, including printing, saving, and loading images.
Later chapters look at validating text and working with files and directories, with tips on important topics such as focus handling, internationalization, portability, and debugging. (The author even shows you how to work with Qt in Perl and reviews several Qt GUI builders that help automate design.)
Filled with expert advice and sample code, this guide makes a strong case that both Unix and Windows developers should try out Qt. --Richard Dragan