C++ GUI Programming with Qt 3

C++ GUI Programming with Qt 3

3.68 (16 ratings by Goodreads)
By (author)  , By (author) 

List price: US$47.99

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks


Appropriate for all courses in Qt or KDE programming.

C++ GUI Programming with Qt 3 is the first official TrollTech guide to Qt 3.x programming. In this book, two TrollTech insiders provide students all they need to build industrial-strength applications with Qt 3.x and C++: applications that can run natively on Windows, Linux/Unix, Solaris, Mac OS X, and embedded Linux with no source code changes. The book teaches through example, and covers every facet of Qt 3 programming, ranging from basic user interfaces and layout managers to 2D/3D graphics, drag-and-drop, signaling, networking, XML, database integration, even internationalization and multithreading. The coverage will be appropriate for students at all levels of Qt expertise; students planning to build either open source or commercial applications; and students who wish to develop for Windows without purchasing an expensive compiler. C++ GUI Programming with Qt 3 is part of Bruce Perens Open Source Series, edited by Bruce Perens, one of the worlds leading authorities on open source technologies.
show more

Product details

  • Paperback | 464 pages
  • 170.18 x 233.68 x 35.56mm | 907.18g
  • Prentice Hall
  • Upper Saddle River, United States
  • English
  • w. figs.
  • 0131240722
  • 9780131240728

Table of contents




A Brief History of Qt.

1. Getting Started.

Hello Qt.

Making Connections.

Using the Reference Documentation.

2. Creating Dialogs.

Subclassing QDialog.

Signals and Slots in Depth.

Rapid Dialog Design.

Shape-Changing Dialogs.

Dynamic Dialogs.

Built-inWidget and Dialog Classes.

3. Creating Main Windows.

Subclassing QMainWindow.

Creating Menus and Toolbars.

Implementing the File Menu.

Setting Up the Status Bar.

Using Dialogs.


Multiple Documents.

Splash Screens.

4. Implementing Application Functionality.

The CentralWidget.

Subclassing QTable.

Loading and Saving.

Implementing the Edit Menu.

Implementing the Other Menus.

Subclassing QTableItem.

5. Creating Custom Widgets.

Customizing Qt Widgets.

Subclassing QWidget.

Integrating CustomWidgets with Qt Designer.

Double Buffering.


6. Layout Management.

Basic Layouts.


Widget Stacks.

Scroll Views.

Dock Windows.

Multiple Document Interface.

7. Event Processing.

Reimplementing Event Handlers.

Installing Event Filters.

Staying Responsive During Intensive Processing.

8. 2D and 3D Graphics.

Painting with QPainter.

Graphics with QCanvas.


Graphics with OpenGL.

9. Drag and Drop.

Enabling Drag and Drop.

Supporting Custom Drag Types.

Advanced Clipboard Handling.

10. Input/Output.

Reading and Writing Binary Data.

Reading and Writing Text.

Handling Files and Directories.

Inter-Process Communication.

11. Container Classes.




Pointer-Based Containers.

QString and QVariant.

12. Databases.

Connecting and Querying.

Presenting Data in Tabular Form.

Creating Data-Aware Forms.

13. Networking.

Using QFtp.

Using QHttp.

TCP Networking with QSocket.

UDP Networking with QSocketDevice.

14. XML.

Reading XML with SAX.

Reading XML with DOM.

Writing XML.

15. Internationalization.

Working with Unicode.

Making Applications Translation-Aware.

Dynamic Language Switching.

Translating Applications.

16. Providing Online Help.

Tooltips, Status Tips, and "What's This?" Help.

Using QTextBrowser as a Simple Help Engine.

Using Qt Assistant for Powerful Online Help.

17. Multithreading.

Working with Threads.

Communicating with the GUI Thread.

Using Qt's Classes in Non-GUI Threads.

18. Platform-Specific Features.

Interfacing with Native APIs.

Using ActiveX.

Session Management.

A: Installing Qt.

A Note on Licensing.

Installing Qt/Windows.

Installing Qt/Mac.

Installing Qt/X11.

B: Qt's Class Hierarchy.
show more

About Jasmin Blanchette

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.
show more

Rating details

16 ratings
3.68 out of 5 stars
5 31% (5)
4 31% (5)
3 19% (3)
2 12% (2)
1 6% (1)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X