• 9472阅读
  • 1回复

C++ GUI Programming with Qt 3 (1) [复制链接]

上一主题 下一主题
离线gongyh
 

只看楼主 倒序阅读 楼主  发表于: 2006-01-06
"...not only the best book on Qt I have ever seen, but also the best book presenting any programming framework. Every sentence appears to be carefully worded, and every chapter has a sound concept, and so does the work as a whole."
-Matthias Ettrich, Trolltech's lead developer, founder of the KDE project
"The 'Tao of Qt'.... The Qt system is a beautiful example of object oriented design, and the authors take advantage of this.... The authors have done an excellent job of presenting the subject in an interesting and engaging way...."
-Ron McCarty, Instructor and Chair of the Department of Computer Science, Penn State Erie, The Behrend College
The first official Trolltech guide to Qt 3.2 programming!
Straight from Trolltech, this book covers all you need to build industrial-strength applications with Qt 3.2.x and C++-applications that run natively on Windows, Linux/Unix, Mac OS X, and embedded Linux with no source code changes! The book teaches solid Qt programming practices; it is not a rehash of the documentation. You'll find start-to-finish coverage packed with examples, plus a CD with the Qt 3.2 toolset and Borland C++ compilers-including a non-commercial Qt 3.2 for Windows available nowhere else!
•      Build powerful C++ GUI applications quickly and easily
•      Design dialogs and main windows visually and in code
•      Learn Qt's innovative typesafe signals and slots mechanism
•      Use layouts to create forms that automatically size and scale
•      Create custom signals, slots, events, and controls
•      Program the ''Qt way'' with techniques for Qt 3.2 that'll work with Qt 4
•      Code applications with menus, toolbars, dialogs, and drag and drop
•      Utilize 2D and 3D graphics, multithreading, and networking
•      Write database and XML applications
•      Internationalize to reach foreign markets
•      Exploit platform-specific-features like ActiveX
Already using Qt or just starting out? Evaluating Qt or managing it? Building open source applications-or commercial applications? Want to develop for Windows without buying an expensive compiler? Whatever your goal, this is the only book you need! CD-ROM: Everything you need to write great GUI programs!
•      Qt 3.2 Non-Commercial Edition for Windows
•      Borland C++ 5.5 Non-Commercial Edition
•      Borland C++ 6.0 Trial Edition
•      Qt 3.2 Free Editions for Unix/Linux/Mac OS X
•      SQLite database
•      The book's code examples
...不但那我有曾经看过的关于Qt的最佳著作,而且那也是介绍编程框架最佳著作。每句子的措词好像都是经过了细心的推敲,每章有一个概念、并且整本书构成了一个整体."
Trolltech的开发员Matthias Ettrich是这个kde工程的创始者

The ' Tao of Qt '....是面向对象的设计的很好的例子,并且那也是作者所冀望的。作者完成了一个优秀的工作--介绍本题。Ron McCarty是宾夕法尼Behrend大学计算机科学系的教授。

第一个份trolltech公司官方的Qt编程指南!

可以从Trolltech直接得到,这个书涵盖了,你用Qt3.2编写工业强度的c++应用程序,并且能够不经过修改就可以运行在windows,Linux Mac OS x和嵌入式linux上的程序所需要的全部资料 这书教授纯Qt程序设计实践;它不是改头换面地重复的文档。你将会发现本书从开始到结束都贯穿着实例、附带一个CD和Qt3.2工具集和美国Borland公司编译程序包括一个非非贸易的Qt 3.2windows版本

快速,容易的构建强大的图形用户界面

用可视化的方法或用代码设计对话框和主窗口

学Qt的创新的类型安全的signals 和slots机制

使用layouts去创建版面,自动地调节大小和比例

创造自定义的signals、slots、events,并且控制

用Qt3.2方法编程, 并且将会在Qt4编程

关于菜单,工具条,对话框,拖和放的应用程序代码

利用二维和三维图解的、多线程,并且网络

写数据库和xml应用程序

国际化到达国外市场

采用平台特殊特色如:ActiveX


已经使用Qt或刚刚起步?评价Qt运用?创建开源应用程序或商业应用?想开发windows应用程序没有买昂贵的编译器?无论什么你的目标、这仅有的书是你必须!光盘∶每件事,你需要写大的图形用户界面程序!

Qt3.2非贸易windows版本

美国Borland公司非贸易版本

美国Borland公司送评本

Qt3.2免费的UNIX操作系统/linux/操作系统X版本

sqlite数据库

本书的代码实例

Why Qt? Why do programmers like us choose Qt? Sure, there are the obvious answers: Qt's single-source compatibility, its feature richness, its C++ performance, the availability of the source code, its documentation, the high-quality technical support, and all the other items mentioned in Trolltech's glossy marketing materials. This is all very well, but it misses the most important point: Qt is successful because programmers like it.
How come programmers like one technology, but dislike another? Personally, I believe software engineers enjoy technology that feels right, but dislike everything that doesn't. How else can we explain that some of the brightest programmers need help to program a VCR, or that most engineers seem to have trouble operating the company's phone system? I for one am perfectly capable of memorizing sequences of random numbers and commands, but if these are required to control my answering machine, I'd prefer not to have one. At Trolltech, our phone system forces us to hold the '*' key pressed down for two seconds before we are allowed to type in the other person's extension number. If you forget to do this but start typing the extension immediately, you have to dial the entire number again. Why '*'? Why not '#', or '1', or '5', or any of the other twenty keys on the phone? Why two seconds and not one, or three, or one and a half? Why anything at all? I find the phone so irritating that I avoid using it whenever I can. Nobody likes having to do random things, especially when those random things apparently depend on some equally random context you wish you didn't have to know about in the first place.
Programming can be a lot like using our phone system, only worse. And this is where Qt comes to the rescue. Qt is different. For one thing, Qt makes sense. And for another, Qt is fun. Qt lets you concentrate on your tasks. When Qt's original architects faced a problem, they didn't just look for a good solution, or a quick solution, or the simplest solution. They looked for the right solution, and then they documented it. Granted they made mistakes, and granted some of their design decisions didn't pass the test of time, but they still got a lot of things right, and what wasn't right could and can be corrected. You can see this by the fact that a system originally designed to bridge Windows 95 and Unix/Motif now unifies modern desktop systems as diverse as Windows XP, Mac OS X, and GNU/Linux with KDE.
Long before Qt became so popular and so widely used, the dedication of Qt's developers to finding the right solutions made Qt special. That dedication is just as strong today and affects everyone who maintains and develops Qt. For us, working on Qt is a responsibility and a privilege. We are proud of helping to make your professional and open source lives easier and more enjoyable.
One of the things that makes Qt a pleasure to use is its online documentation. But the documentation's focus is primarily on individual classes, with little said about how to build sophisticated real-world applications. This excellent book fills that gap. It shows you what Qt has to offer, how to program Qt the "Qt way", and how to get the best from Qt. The book will teach a C++ programmer how to program Qt, and provides enough advanced material to satisfy experienced Qt programmers. The book is packed with good examples, advice, and explanations, and will be the text that we use to induct all new programmers who join Trolltech.
Nowadays, there are a vast number of commercial and free Qt applications available for purchase or download. Some are specialized for particular vertical markets, while others are aimed at the mass-market. Seeing so many applications built with Qt fills us with pride and inspires us to make Qt even better. And with the help of this book, there will be more and higher quality Qt applications than ever before.
Matthias Ettrich
Oslo, Norway
November 2003
为什么是Qt?为什么像我们这样的程序员要选择Qt?当然、存在过那明显的回答∶Qt的单一的来源兼容性、它的特色丰富、它的性能、源编码的有效性、它的文件编制、那高级技术支持,并且另一个项目上提名表扬trolltech的市场表现这是非常好的、但是它错过了最重要的一点∶因为程序员喜欢它。
程序员喜欢一个技术、但是却不喜欢另一个?作为个人观点、我相信软件工程师有喜欢某一技术权利、但是讨厌每一个,那是不对的。我们还可以怎么解释聪明的程序员需要帮助编制一个VCR程序,否则大多数工程师看来当操作公司的电话系统时感到麻烦?作为其中之一,我要能够完美地记住随机数序列和命令,但是如果有一个是要求控制我的应答设备、我会更喜欢有一个。在trolltech公司、我们的电话系统迫使我们保持按那'*'键镇二秒,在我们允许输入另一个人的分机号码之前。如果你忘记这样做,你就不得不重新拨打全部的电话号码。为什么是'*'?而不是"#",或则 '1 '、或'5',或是在"二十个键"中的任何一个?为什么是二秒而不是一,否则三秒、或1.5秒?根本原因是什么呢?每当我可以不去使用它的时候、你希望你不必知道关于事情的本来时,尤其当那任意东西表面上依靠一些同样任意上下文时,我发现那电话是如此地使人发怒,以致我避免利用它,
编程很像我们利用的电话系统、更加糟糕。这是Qt帮助的地方。Qt是不同的。首先、Qt有意义。和原因之二、Qt是有趣的Qt使你专心于你的任务。当Qt的初级构建者面临着一个问题时、他们不仅仅只是寻找一好的解答,或只是寻找一快速解、或最简单的解答。他们要寻找正确解答,并且修改他们文档。允许他们做错、和允许他们的设计决策禁忌试验合格,但是他们还得到大量对的事物,并且什么不是正确的,和可以是正确的。你能够看到一个实事,这个系统原本目的是作为windows95和unix的桥梁,主题是统一现在的桌面操作系统体系,如:windowsXP,Mac OS X 和GNU 和linux KDE。.
在Qt流行和广泛的使用之前、Qt开发者的奉献正确解答制造专用的Qt。对Qt维护和研制的奉献造就了今天的强健,以感动任何一个人,对于我们来说,继续在Qt上工作是一种职责和特权。我们对促进制造你的专业的和打开源生命更加容易,而令人愉快的感到自豪。
还有一件事使我们感到愉快,那就是使用在线文档。但是那文件编制的焦点主要是集中在单独得类上,很少涉及到怎样去编写真正的应用程序。这个优秀的书填补了这项空白。它显示Qt提供给你什么东西了,怎样用"Qt的方法"去编写程序,怎样从Qt里得到最好的特性,这本书教你怎样编写C++程序,怎样编写Qt程序和提供充足的高级的材料满足由经验的Qt程序员。这书充满了很好的实例、忠告,并且说明、和将要引导所有要参入Trolltech的新程序员。
现今、存在过许许多多商业的和免费Qt应用程序可获得购买或下载。一些是专门的版本因为特别的市场需要、目的在于大家德需求。看到那么多的Qt应用软件,骄傲和鼓舞我们去开发更好的Qt应用程序。在这个书的帮助下、将有更多和较高品质Qt应用软件。
matthias ettrich
奥斯陆、挪威
十一月2003
打工不是一辈子的事!
离线sooting
只看该作者 1楼 发表于: 2007-08-06
哪个都这样想,但没学好本领前,就得打工!
快速回复
限100 字节
 
上一个 下一个