Programming with Qt, 2/e (Paperback)
暫譯: Qt 程式設計(第二版)

Matthias Kalle Dalheimer

  • 出版商: O'Reilly
  • 出版日期: 2002-02-26
  • 定價: $1,700
  • 售價: 8.8$1,496
  • 語言: 英文
  • 頁數: 512
  • 裝訂: Paperback
  • ISBN: 0596000642
  • ISBN-13: 9780596000646
  • 相關分類: Qt
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

The popular open source KDE desktop environment for Unix was built with Qt, a C++ class library for writing GUI applications that run on Unix, Linux, Windows 95/98, Windows 2000, and Windows NT platforms. Qt emulates the look and feel of Motif, but is much easier to use. Best of all, after you have written an application with Qt, all you have to do is recompile it to have a version that works on Windows. Qt also emulates the look and feel of Windows, so your users get native-looking interfaces.

Platform independence is not the only benefit. Qt is flexible and highly optimized. You'll find that you need to write very little, if any, platform-dependent code because Qt already has what you need. And Qt is free for open source and Linux development.

Although programming with Qt is straightforward and feels natural once you get the hang of it, the learning curve can be steep. Qt comes with excellent reference documentation, but beginners often find the included tutorial is not enough to really get started with Qt. That's where
Programming with Qt steps in. You'll learn how to program in Qt as the book guides you through the steps of writing a simple paint application. Exercises with fully worked out answers help you deepen your understanding of the topics. The book presents all of the GUI elements in Qt, along with advice about when and how to use them, so you can make full use of the toolkit. For seasoned Qt programmers, there's also lots of information on advanced 2D transformations, drag-and-drop, writing custom image file filters, networking with the new Qt Network Extension, XML processing, Unicode handling, and more.

Programming with Qt helps you get the most out of this powerful, easy-to-use, cross-platform toolkit. It's been completely updated for Qt Version 3.0 and includes entirely new information on rich text, Unicode/double byte characters, internationalization, and network programming.

Table of Contents


 

Preface

Chapter 1. Introduction

Chapter 2. First Steps in Qt Programming

Chapter 3. Learning More About Qt

Chapter 4. A Guided Tour Through the Simple Widgets

Chapter 5. A Guided Tour Through the Qt Dialog Boxes

Chapter 6. Using Layout Managers

Chapter 7. Some Thoughts on GUI Design

Chapter 8. Container Classes

Chapter 9. Graphics

Chapter 10. Text Processing

Chapter 11. Working with Files and Directories

Chapter 12. Interapplication Communication

Chapter 13. Interfacing with the Operating System

Chapter 14. Writing Your Own Widgets

Chapter 15. Focus Handling

Chapter 16. Advanced Event Handling

Chapter 17. Advanced Signals and Slots

Chapter 18. Providing Help

Chapter 19. Accessing Databases

Chapter 20. Multithreading

Chapter 21. Debugging

Chapter 22. Portability

Chapter 23. Qt Network Programming

Chapter 24. Interfacing Qt with Other Languages and\ Libraries

Chapter 25. Using the Visual C++ IDE for Qt Programs

Chapter 26. Visual Design with Qt Designer

Appendix A. Answers to Exercises

Glossary

Index

商品描述(中文翻譯)

流行的開源 KDE 桌面環境是為 Unix 系統構建的,使用了 Qt,這是一個用於編寫在 Unix、Linux、Windows 95/98、Windows 2000 和 Windows NT 平台上運行的 GUI 應用程序的 C++ 類庫。Qt 模擬了 Motif 的外觀和感覺,但使用起來要簡單得多。最棒的是,當你用 Qt 編寫了一個應用程序後,你所需要做的就是重新編譯它,就能得到一個可以在 Windows 上運行的版本。Qt 也模擬了 Windows 的外觀和感覺,因此你的用戶可以獲得原生的界面。

平台獨立性並不是唯一的好處。Qt 是靈活且高度優化的。你會發現你幾乎不需要編寫任何平台相關的代碼,因為 Qt 已經提供了你所需的功能。而且 Qt 在開源和 Linux 開發中是免費的。

雖然使用 Qt 編程是直接且自然的,但一旦你掌握了它,學習曲線可能會很陡峭。Qt 附帶了優秀的參考文檔,但初學者經常發現隨附的教程不足以真正開始使用 Qt。這就是《Programming with Qt》發揮作用的地方。你將學會如何在 Qt 中編程,這本書將指導你編寫一個簡單的繪圖應用程序的步驟。包含完整解答的練習幫助你加深對主題的理解。這本書介紹了 Qt 中的所有 GUI 元素,並提供了何時以及如何使用它們的建議,讓你能充分利用這個工具包。對於經驗豐富的 Qt 程序員,書中還提供了大量有關高級 2D 變換、拖放、自定義圖像文件過濾器、使用新的 Qt 網絡擴展進行網絡編程、XML 處理、Unicode 處理等的資訊。

《Programming with Qt》幫助你充分利用這個強大、易於使用的跨平台工具包。它已完全更新至 Qt 版本 3.0,並包含有關豐富文本、Unicode/雙字節字符、國際化和網絡編程的全新資訊。

目錄

前言

第 1 章. 介紹

第 2 章. Qt 編程的第一步

第 3 章. 更深入了解 Qt

第 4 章. 簡單小部件的導覽

第 5 章. Qt 對話框的導覽

第 6 章. 使用佈局管理器

第 7 章. GUI 設計的一些思考

第 8 章. 容器類

第 9 章. 圖形

第 10 章. 文本處理

第 11 章. 文件和目錄的操作

第 12 章. 應用程序間通信

第 13 章. 與操作系統的介面

第 14 章. 編寫自己的小部件

第 15 章. 焦點處理

第 16 章. 高級事件處理

第 17 章. 高級信號和插槽

第 18 章. 提供幫助

第 19 章. 訪問數據庫

第 20 章. 多線程

第 21 章. 調試

第 22 章. 可攜性

第 23 章. Qt 網絡編程

第 24 章. 將 Qt 與其他語言和庫介接

第 25 章. 使用 Visual C++ IDE 開發 Qt 程序

第 26 章. 使用 Qt Designer 進行視覺設計

附錄 A. 練習答案

詞彙表

索引