Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
C++ Gui Programming With Qt 3 1st Edition
There is a newer edition of this item:
$59.83
(118)
Only 1 left in stock - order soon.
- ISBN-100131240722
- ISBN-13978-0131240728
- Edition1st
- PublisherPearson P T R
- Publication dateJanuary 1, 2004
- LanguageEnglish
- Dimensions6.75 x 1 x 9 inches
- Print length448 pages
Similar items that may deliver to you quickly
Editorial Reviews
From the Back Cover
"...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
About the Author
Jasmin Blanchette, Trolltech's documentation manager and a senior developer, has worked at Trolltech since 2001. He is editor of Qt Quarterly, Trolltech's technical newsletter, and coauthored C++ GUI Programming with Qt 3.
Mark Summerfield works as an independent trainer and consultant specializing in C++, Qt, and Python. He was Trolltech's documentation manager for almost three years and coauthored C++ GUI Programming with Qt 3.
Excerpt. © Reprinted by permission. All rights reserved.
Preface
The Qt toolkit is a C++ class library and a set of tools for building multiplatformGUI programs using a "write once, compile anywhere" approach. Qt letsprogrammers use a single source tree for applications that will run on Windows95 to XP, Mac OS X, Linux, Solaris, HP-UX, and many other versions ofUnix with X11.A version of Qt is also available for Embedded Linux, with thesame API.
The purpose of this book is to teach you how to write GUI programs using Qt 3.The book starts with "Hello Qt" and quickly moves on to more advanced topics,such as creating custom widgets and providing drag and drop. The text iscomplemented by a CDthat contains the source code of the example programs.The CD also provides Qt and Borland C++ for Windows, Qt for Unix, and Qtfor Mac OS X. Appendix A explains how to install the software.
The book focuses on explaining good idiomatic Qt 3 programming techniquesrather than simply rehashing or summarizing Qt's extensive online documentation.And because we are involved in the development of Qt 4, we have triedto ensure that most of what we teach here will still be valid and sensible forQt 4.
It is assumed that you have a basic knowledge of C++. The code examples usea subset of C++, avoiding many C++ features that are rarely needed whenprogramming Qt. In the few places where a more advanced C++ construct isunavoidable, it is explained as it is used.
Qt made its reputation as a multiplatform toolkit, but because of its intuitiveand powerful API, many organizations use Qt for single-platform development.Adobe PhotoshopAlbum is just one example of a mass-marketWindowsapplication written in Qt. Many sophisticated software systems in verticalmarkets, such as 3D animation tools, digital film processing, electronic designautomation (for chip design), oil and gas exploration, financial services, andmedical imaging, are built with Qt. If you are making a living with a successfulWindows product written in Qt, you can easily create new markets in theMac OS X and Linux worlds simply by recompiling.
Qt is available under various licenses. If you want to build commercialapplications, you must buy a commercial license; if you want to build opensource programs,you can use a non-commercial Qt edition. (The editions of Qton the CD are non-commercial.) Qt is the foundation on which the K DesktopEnvironment (KDE) and the many open source applications that go with itare built.
In addition to Qt's hundreds of classes, there are add-ons that extend Qt'sscope and power. Some of these products, like the Qt/Motif integration moduleand Qt Script for Applications (QSA), are supplied by Trolltech, while othersare provided by companies and by the open source community. See http://www.trolltech.com/products/3rdparty/ for information on Qt add-ons. Qt alsohas a well-established and thriving user community that uses the qt-interestmailing list; see http://lists.trolltech.com/ for details.
The book is divided into two parts. Part I covers all the concepts and practicesnecessary for programming GUI applications using Qt. Knowledge of thispart alone is sufficient to write useful GUI applications. Part II covers centralQt topics in more depth and provides more specialized and advanced material.The chapters of Part II can be read in any order, but they assume familiaritywith the contents of Part I.
Product details
- Publisher : Pearson P T R; 1st edition (January 1, 2004)
- Language : English
- Paperback : 448 pages
- ISBN-10 : 0131240722
- ISBN-13 : 978-0131240728
- Item Weight : 2.39 pounds
- Dimensions : 6.75 x 1 x 9 inches
- Best Sellers Rank: #5,777,204 in Books (See Top 100 in Books)
- #1,396 in C++ Programming Language
- #2,230 in Computer Graphics
- #3,599 in Graphics & Multimedia Programming
- Customer Reviews:
About the authors

Mark Summerfield is a computer science graduate and qualified teacher with many years experience working in the software industry, primarily as a programmer and documenter. Mark owns Qtrac Ltd., http://www.qtrac.eu, where he works as a programmer and where he created and now maintains his commercial software --- PDF comparison tools DiffPDF (GUI) and comparepdfcmd (command line). He also created the open source UXF (Uniform eXchange Format), and wrote the first UXF libraries.
All Mark's books are aimed at programmers and others, such as students, scientists, and engineers, who already have some programming experience (how much depends on the individual book). Each solo book has its own page on the Qtrac website from which the source code can be downloaded and that lists the book's errata. All the books are designed to teach technologies that Mark loves and has found to be the best of their kind.

Jasmin Blanchette (1978-) worked for Trolltech in Oslo, Norway from 2000 to 2008 as a software engineer and documentation manager. He (sic) obtained his M.Sc. in computer science from the University of Oslo in 2008 and is now working on his Ph.D. in Munich (http://www4.in.tum.de/~blanchet/).
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
This book is an ideal way to ease yourself into the joy of Qt programming. You know you've decided to use Qt because of all the good things you've heard about it around the net, and the buzz it creates. Or perhaps you're writing free software on Linux. Or, perhaps you're like me, and use Qt as a competetive advantage in your day job, not feeling one bit sorry for the MFC programmers of this world. Whatever your motive for using Qt, this is a darn good book to own.
When you start in a new environment, you need a helping hand because you can feel lost. This book guides you by starting with the basics, that of getting a simple Qt program working, and proceeds to expand its use of the Qt framework as you become familiar with your surroundings.
The work takes simple applications and describes, thoroughly, what each section of code does and how it does it. It teaches software reuse by taking components developed early in the book and using them in new applications, extending them as needed.
Qt isn't just about aesthetically pleasing user interfaces: Qt is a real application framework, something that deals with files, sockets, and network programming. This book covers it all. From XML, a vital new technology, using both SAX and DOM models, to network programming using sockets. And, if you're so inclined, a portable way to write OpenGL applications.
This book also presents a behind-the-scenes view of Qt, and takes time to describe the rationale behind the design decisions made by the Trolltech team.
Being completely objective, it would have been nice to enjoy a little more content related to Qt/Embedded and Qtopia, but this is a minor quibble as the target is readers for the desktop product. Who knows, perhaps Mark and Jasmin are already hatching plans to write such a sequel?
When I say that every Qt programmer should own this book, it's true. This book won't be shelfware, it's a book that you can use over and over again. And I'm quite sure that this book will now become standard issue for all Qt courses, wherever they are held.
Well done Mark and Jasmin!
Initially there are a lot of similarities to the online documentation and online tutorials that you can get from trolltech's site. But that's really just in the first chapter. The beginning of the book is a walkthrough of the programming of a spreadsheet program.
There are some bad points however... as a novice programmer, I thought they should have gone over the design process a little more. However, if you are familiar with designing a GUI program and just want to learn how to code stuff in QT and the online docs don't quite cut it, then this is the book for you. While I haven't found any errors yet, I have found that certain things aren't explained all that well. (like this referring to the parent widget... they never really explained that) However, as a novice, I was able to answer all my questions with the online documentation, it just forces you to look up a few things outside of the book.
The idea of signals and slots is pretty ingenious and the book covers how to use them quite well. I'm very happy that trolltech gives away qt free to Open Source developers. It's very well put together and I wouldn't hesitate in using it in a proprietary application (after paying appropriate license fees). Being free for Open Source isn't what makes qt popular, being easy and fun to use is. I think we'll be seeing a lot more qt in the future.
So if you feel that the online documentation is pretty good and are skilled at using qt's assistant program then you probably don't need this book. However, if you can't find good enough documentation on something like Database connectivity (like me) then this book will really help you.
This book is very good, but needs more. How about a chapter on definitions or maybe better, a new book on nothing but definitions in C++.
The shortcomings are minor. There is no reference portion to the book and while I understand that a full reference would add a significant bulk to the book a class reference with brief descriptions for each method would be appreciated. There is one large reference graphic that shows the class structure of the library. Syntax highlighting, especially on the large code fragments, would have been appreciated.
A quality work for anyone looking to develop on Qt, well worth the expense.






