没有合适的资源?快使用搜索试试~ 我知道了~
首页C+++GUI+Programming+with+Qt+4.pdf
C+++GUI+Programming+with+Qt+4.pdf

C+++GUI+Programming+with+Qt+4C+++GUI+Programming+with+Qt+4C+++GUI+Programming+with+Qt+4C+++GUI+Programming+with+Qt+4C+++GUI+Programming+with+Qt+4C+++GUI+Programming+with+Qt+4C+++GUI+PrC+++GUI+Programming+with+Qt+4ogramming+with+Qt+4C+++GUI+Programming+with+Qt+4C+++GUI+Programming+with+Qt+4C+++GUI+Programming+with+Qt+4C+++GUI+Programming+with+Qt+4
资源详情
资源评论
资源推荐

-
C++ GUI Programming with Qt 4
By Jasmin Blanchette, Mark Summerfield
...............................................
Publisher: Prentice Hall
Pub Date: June 21, 2006
Print ISBN-10: 0-13-187249-4
Print ISBN-13: 978-0-13-187249-3
Pages: 560
Overview
The Only Official Best-Practice Guide to Qt 4.1 Programming
Using Trolltech's Qt you can build industrial-strength C++ applications that run natively on
Windows, Linux/Unix, Mac OS X, and embedded Linux--without making source code changes. With
this book Trolltech insiders have written a start-to-finish guide to getting great results with the most
powerful version of Qt ever created: Qt 4.1.
Using C++ GUI Programming with Qt 4 you'll discover the most effective Qt 4 programming
patterns and techniques as you master key technologies ranging from Qt's model/view architecture
to Qt's powerful new 2D paint engine. The authors provide readers with unparalleled insight into Qt's
event model and layout system. Then, using realistic examples, they introduce superior techniques
for everything from basic GUI development to advanced database and XML integration.
Includes new chapters on Qt 4's model/view architecture and Qt's new plugin support, along
with a brief introduction to Qtopia embedded programming
Covers all Qt fundamentals, from dialogs and windows to implementing application
functionality
Introduces best practices for layout management and event processing
Shows how to make the most of Qt 4's new APIs, including the powerful new 2D paint engine
and the new easy-to-use container classes
Contains completely updated material in every chapter
Presents advanced Qt 4 techniques covered in no other book, from creating both Qt and
application plugins to interfacing with native APIs
Contains an in-depth appendix on C++/Qt programming for experienced Java developers
The accompanying CD-ROM includes the open source edition of Qt 4.1.1 for Windows, Mac, Linux,
and many Unixes, as well as MinGW, a set of freely available development tools that can be used to
build Qt applications on Windows, and also the source code for the book's examples.
Edited by Foxit Reader
Copyright(C) by Foxit Software Company,2005-2008
For Evaluation Only.

INDEX
Copyright
Foreword
Preface
Acknowledgments
A Brief History of Qt
Part 1: Basic Qt
Chapter 1. Getting Started
Hello Qt
Making Connections
Laying Out Widgets
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
Setting Up the Status Bar
Implementing the File Menu
Using Dialogs
Storing Settings
Multiple Documents
Splash Screens
Chapter 4. Implementing Application Functionality
The Central Widget
Subclassing QTableWidget
Loading and Saving
Implementing the Edit Menu
Implementing the Other Menus
Subclassing QTableWidgetItem
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
Laying Out Widgets on a Form
Stacked Layouts
Splitters
Scrolling Areas
Dock Widgets and Toolbars
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
Painter Transformations
Edited by Foxit Reader
Copyright(C) by Foxit Software Company,2005-2008
For Evaluation Only.

High-Quality Rendering with QImage
Printing
Graphics with OpenGL
Chapter 9. Drag and Drop
Enabling Drag and Drop
Supporting Custom Drag Types
Clipboard Handling
Chapter 10. Item View Classes
Using the Item View Convenience Classes
Using Predefined Models
Implementing Custom Models
Implementing Custom Delegates
Chapter 11. Container Classes
Sequential Containers
Associative Containers
Generic Algorithms
Strings, Byte Arrays, and Variants
Chapter 12. Input/Output
Reading and Writing Binary Data
Reading and Writing Text
Traversing Directories
Embedding Resources
Inter-Process Communication
Chapter 13. Databases
Connecting and Querying
Presenting Data in Tabular Form
Implementing MasterDetail Forms
Chapter 14. Networking
Writing FTP Clients
Writing HTTP Clients
Writing TCP ClientServer Applications
Sending and Receiving UDP Datagrams
Chapter 15. XML
Reading XML with SAX
Reading XML with DOM
Writing XML
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
Part III: Advanced Qt
Chapter 17. Internationalization
Working with Unicode
Making Applications Translation-Aware
Dynamic Language Switching
Translating Applications
Chapter 18. Multithreading
Creating Threads
Synchronizing Threads
Communicating with the Main Thread
Using Qt's Classes in Secondary Threads
Chapter 19. Creating Plugins
Extending Qt with Plugins
Making Applications Plugin-Aware
Writing Application Plugins
Chapter 20. Platform-Specific Features

Interfacing with Native APIs
Using ActiveX on Windows
Handling X11 Session Management
Chapter 21. Embedded Programming
Getting Started with Qtopia
Customizing Qtopia Core
Appendix A. Installing Qt
A Note on Licensing
Installing Qt/Windows
Installing Qt/Mac
Installing Qt/X11
Appendix B. Introduction to C++ for Java and C# Programmers
Getting Started with C++
Main Language Differences
The Standard C++ Library
About the Authors
Production
Index

Copyright
Many of the designations used by manufacturers and sellers to distinguish their products are claimed
as trademarks. Where those designations appear in this book, and the publisher was aware of a
trademark claim, the designations have been printed with initial capital letters or in all capitals.
The authors and publisher have taken care in the preparation of this book, but make no expressed
or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is
assumed for incidental or consequential damages in connection with or arising out of the use of the
information or programs contained herein.
The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or
special sales, which may include electronic versions and/or custom covers and content particular to
your business, training goals, marketing focus, and branding interests. For more information, please
contact:
U.S. Corporate and Government Sales
(800) 382-3419
corpsales@pearsontechgroup.com
For sales outside the United States, please contact:
International Sales
international@pearsoned.com
Visit us on the Web: www.prenhallprofessional.com
Library of Congress Cataloging-in-Publication Data
Blanchette, Jasmin.
C++ GUI programming with Qt 4 / Jasmin Blanchette, Mark Summerfield.
p. cm.
Includes bibliographical references and index.
ISBN 0-13-187249-4 (pbk.: alk. paper)
1. Graphical user interfaces (Computer systems) 2. C++ (Computer program language)
I. Summerfield, Mark. II. Title.
QA76.9.U83B532 2006
005.4'37dc22
2006013376
Copyright © 2006 Trolltech AS
All rights reserved. Printed in the United States of America. This publication may only be distributed
subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the
latest version is available at http://www.open-content.org/openpub/).
Trolltech
®
, Qt
®
, Qtopia
®
, and the Trolltech and Qtopia logos are registered trademarks of Trolltech
AS.
Text printed in the United States on recycled paper at Courier in Stoughton, Massachusetts.
First printing, June 2006
剩余430页未读,继续阅读


















安全验证
文档复制为VIP权益,开通VIP直接复制

评论14