Programming with Qt, 2/e (Paperback)

Matthias Kalle Dalheimer

  • 出版商: O'Reilly
  • 定價: $1,575
  • 售價: 8.0$1,260
  • 語言: 英文
  • 頁數: 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桌面環境是使用Qt建立的,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 練習答案

詞彙表

索引