C++ GUI Programming with Qt 3 (Bruce Perens' Open Source Series)

( 2 )

Overview

"...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 ...

See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (18) from $1.99   
  • Used (18) from $1.99   
Close
Sort by
Page 1 of 2
Showing 1 – 9 of 18 (2 pages)
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$1.99
Seller since 2007

Feedback rating:

(10159)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

Good
Light shelf wear and minimal interior marks. Millions of satisfied customers and climbing. Thriftbooks is the name you can trust, guaranteed. Spend Less. Read More.

Ships from: Auburn, WA

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$1.99
Seller since 2009

Feedback rating:

(7395)

Condition: Good
Book shows a small amount of wear to cover and binding. Some pages show signs of use. Sail the Seas of Value

Ships from: Windsor Locks, CT

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$1.99
Seller since 2014

Feedback rating:

(4185)

Condition: Very Good
This copy shows very minor wear. Free State Books. Never settle for less.

Ships from: Halethorpe, MD

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$1.99
Seller since 2010

Feedback rating:

(5751)

Condition: Good
This book has a light amount of wear to the pages, cover and binding. Blue Cloud Books ??? Hot deals from the land of the sun.

Ships from: Phoenix, AZ

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$1.99
Seller since 2014

Feedback rating:

(2774)

Condition: Acceptable
Biggest little used bookstore in the world.

Ships from: Reno, NV

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$1.99
Seller since 2014

Feedback rating:

(4185)

Condition: Good
Book shows minor use. Cover and Binding have minimal wear, and the pages have only minimal creases. Free State Books. Never settle for less.

Ships from: Halethorpe, MD

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$1.99
Seller since 2009

Feedback rating:

(24028)

Condition: Very Good
Our feedback rating says it all: Five star service and fast delivery! We have shipped four million items to happy customers, and have one MILLION unique items ready to ship today!

Ships from: Toledo, OH

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$1.99
Seller since 2009

Feedback rating:

(6935)

Condition: Good
Only lightly used. Book has minimal wear to cover and binding. A few pages may have small creases and minimal underlining. Book selection as BIG as Texas.

Ships from: Dallas, TX

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$2.29
Seller since 2010

Feedback rating:

(972)

Condition: Very Good
0131240722 Very Good Condition. No CD/DVD(s) Included. Five star seller - Ships Quickly - Buy with confidence!

Ships from: Lake Arrowhead, CA

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Page 1 of 2
Showing 1 – 9 of 18 (2 pages)
Close
Sort by
Sending request ...

Overview

"...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 applicationswith 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
Read More Show Less

Editorial Reviews

From The Critics
Slashdot.org
Jasmin Blanchette and Mark Summerfield's book can take a sufficiently clueless newbie with some C++ knowledge and guide him through the intricacies of GUI building, providing practical advice and some bits of experience on the way. ... The language of the book is simple to follow; there are plenty of code examples (with discussion following each), and when the authors make certain choices, they also explain why.
Read More Show Less

Product Details

  • ISBN-13: 9780131240728
  • Publisher: Prentice Hall
  • Publication date: 1/15/2004
  • Series: Bruce Perens' Open Source Series
  • Pages: 440
  • Product dimensions: 8.48 (w) x 11.01 (h) x 0.94 (d)

Meet 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.



Read More Show Less

Read an Excerpt

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 inverticalmarkets, 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.

Read More Show Less

Table of Contents

Foreword
Preface
Acknowledgments
A Brief History of Qt
Pt. I Basic Qt
1 Getting Started 3
2 Creating Dialogs 11
3 Creating Main Windows 39
4 Implementing Application Functionality 69
5 Creating Custom Widgets 97
Pt. II Intermediate Qt
6 Layout Management 135
7 Event Processing 163
8 2D and 3D Graphics 175
9 Drag and Drop 215
10 Input/Output 227
11 Container Classes 243
12 Databases 261
13 Networking 283
14 XML 307
15 Internationalization 319
16 Providing Online Help 339
17 Multithreading 349
18 Platform-Specific Features 367
App. A: Installing Qt 393
App. B: Qt's Class Hierarchy 399
Index 403
Read More Show Less

Preface

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 inverticalmarkets, 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 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 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.

Read More Show Less

Introduction

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 softwaresystems 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.

Read More Show Less

Customer Reviews

Average Rating 4
( 2 )
Rating Distribution

5 Star

(1)

4 Star

(0)

3 Star

(1)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted February 6, 2004

    Enjoyable to read, simple to follow

    In the first part of the book authors hold readers' hands and walk through the jungle of the basic GUI programming by building a spreadsheet application. The basis of GUI programming such as creating different kinds of widgets becomes very simple. The communication between widgets/objects becomes attractively straightforward to handle through writing signals-slots. The book is not just suitable for newbies of GUI programmers. The second part of the book covers advanced GUI programming techniques such as layout, 3D graphics with OpenGL, drag and drop, and interationalization, as well as the techniques for writing SQL database, networking, and XML applications. The language of the book is so easy to follow that it is enjoyable to read. The book gives readers useful advices at the right places. For example, at the beginning when the authors give an example about user-visible strings, the authors advise that it is good habit to surround every user-visible string with a tr(). I wish that the authors could clarify any possible interactions between Qt and popular C++ libraries such as Boost libraries instead of the Chapter 11 'Container Class'. But I guess that is beyond the topic of GUI programming therefore does not impair the value of the book. This book is highly recommended to GUI programming newbies who want to have an easy beginning, and to the daily Qt programmers as a good reference.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted January 17, 2009

    No text was provided for this review.

Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)