Publisher: Prentice Hall PTRPub Date: January 15, 2004
ISBN: 0-13-124072-2
Pages: 464
Copyright
Bruce Perens'' Open Source Series
Foreword
Preface
Acknowledgments
A Brief History of Qt
About the Authors
Production
About the CD-ROM
Part I:
Basic Qt
Chapter 1.
Getting Started
Hello Qt
Making Connections
Using the Reference Documentation
Chapter 2.
Creating Dialogs
Subclassing QDialog
Signals and Slots in Depth
Rapid Dialog Design
Shape-Changing Dialogs
Dynamic Dialogs
Built-in Widget and Dialog Classes
Chapter 3.
Creating Main Windows
Subclassing QMainWindow
Creating Menus and Toolbars
Implementing the File Menu
Setting Up the Status Bar
Using Dialogs
Storing Settings
Multiple Documents
Splash Screens
Chapter 4.
Implementing Application Functionality
The Central Widget
Subclassing QTable
Loading and Saving
Implementing the Edit Menu
Implementing the Other Menus
Subclassing QTableItem
Chapter 5.
Creating Custom Widgets
Customizing Qt Widgets
Subclassing QWidget
Integrating Custom Widgets with Qt Designer
Double Buffering
Part II:
Intermediate Qt
Chapter 6.
Layout Management
Basic Layouts
Splitters
Widget Stacks
Scroll Views
Dock Windows
Multiple Document Interface
Chapter 7.
Event Processing
Reimplementing Event Handlers
Installing Event Filters
Staying Responsive During Intensive Processing
Chapter 8.
2D and 3D Graphics
Painting with QPainter
Graphics with QCanvas
Printing
Graphics with OpenGL
Chapter 9.
Drag and Drop
Enabling Drag and Drop
Supporting Custom Drag Types
Advanced Clipboard Handling
Chapter 10.
Input/Output
Reading and Writing Binary Data
Reading and Writing Text
Handling Files and Directories
Inter-Process Communication
Chapter 11.
Container Classes
Vectors
Lists
Maps
Pointer-Based Containers
QString and QVariant
Chapter 12.
Databases
Connecting and Querying
Presenting Data in Tabular Form
Creating Data-Aware Forms
Chapter 13.
Networking
Using QFtp
Using QHttp
TCP Networking with QSocket
UDP Networking with QSocketDevice
Chapter 14.
XML
Reading XML with SAX
Reading XML with DOM
Writing XML
Chapter 15.
Internationalization
Working with Unicode
Making Applications Translation-Aware
Dynamic Language Switching
Translating Applications
Chapter 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
Chapter 17.
Multithreading
Working with Threads
Communicating with the GUI Thread
Using Qt''s Classes in Non-GUI Threads
Chapter 18.
Platform-Specific Features
Interfacing with Native APIs
Using ActiveX
Session Management
Appendix A.
Installing Qt
A Note on Licensing
Installing Qt/Windows
Installing Qt/Mac
Installing Qt/X11
Appendix B.
Qt''s Class Hierarchy
Index