C++ GUI Programming with Qt 4, 2/e (Hardcover)

Jasmin Blanchette, Mark Summerfield



The Only Official, Best-Practice Guide to Qt 4.3 Programming

Using Trolltech's Qt you can build industrial-strength C++ applications that run natively on Windows, Linux/Unix, Mac OS X, and embedded Linux without source code changes. Now, two Trolltech insiders have written a start-to-finish guide to getting outstanding results with the latest version of Qt: Qt 4.3.Packed with realistic examples and in-depth advice, this is the book Trolltech uses to teach Qt to its own new hires. Extensively revised and expanded, it reveals today's best Qt programming patterns for everything from implementing model/view architecture to using Qt 4.3's improved graphics support. You'll find proven solutions for virtually every GUI development task, as well as sophisticated techniques for providing database access, integrating XML, using subclassing, composition, and more. Whether you're new to Qt or upgrading from an older version, this book can help you accomplish everything that Qt 4.3 makes possible.

  • Completely updated throughout, with significant new coverage of databases, XML, and Qtopia embedded programming
  • Covers all Qt 4.2/4.3 changes, including Windows Vista support, native CSS support for widget styling, and SVG file generation
  • Contains separate 2D and 3D chapters, coverage of Qt 4.3's new graphics view classes, and an introduction to QPainter's OpenGL back-end
  • Includes new chapters on look-and-feel customization and application scripting
  • Illustrates Qt 4's model/view architecture, plugin support, layout management, event processing, container classes, and much more
  • Presents advanced techniques covered in no other book—from creating plugins to interfacing with native APIs
  • Includes a new appendix on Qt Jambi, the new Java version of Qt


《Qt 4.3 程式設計的唯一官方最佳實踐指南》

使用 Trolltech 的 Qt,您可以建立在 Windows、Linux/Unix、Mac OS X 和嵌入式 Linux 上原生運行的工業級 C++ 應用程式,而無需更改源代碼。現在,兩位 Trolltech 內部人員撰寫了一本從頭到尾的指南,以獲得 Qt 的最佳效果:Qt 4.3。

這本書充滿了實際的例子和深入的建議,是 Trolltech 用來教授 Qt 給新員工的教材。經過廣泛修訂和擴充,它揭示了當今最佳的 Qt 編程模式,從實現模型/視圖架構到使用 Qt 4.3 的改進圖形支持。您將找到幾乎每個 GUI 開發任務的成熟解決方案,以及提供數據庫訪問、集成 XML、使用子類化、組合等高級技術。無論您是初次接觸 Qt 還是從舊版本升級,本書都可以幫助您實現 Qt 4.3 的所有可能性。

- 全面更新,大幅增加了對數據庫、XML 和 Qtopia 嵌入式編程的涵蓋範圍
- 包括 Qt 4.2/4.3 的所有更改,包括對 Windows Vista 的支持、用於小部件樣式的本地 CSS 支持和 SVG 文件生成
- 包含獨立的 2D 和 3D 章節,涵蓋 Qt 4.3 的新圖形視圖類別以及 QPainter 的 OpenGL 後端介紹
- 新增了關於外觀自定義和應用程式腳本的章節
- 介紹了 Qt 4 的模型/視圖架構、插件支持、佈局管理、事件處理、容器類等高級技術
- 提供了其他書籍中沒有涵蓋的高級技術,從創建插件到與本地 API 進行接口交互
- 新增了關於 Qt Jambi 的附錄,這是 Qt 的新 Java 版本