Advanced Qt Programming: Creating Great Software with C++ and Qt 4

Advanced Qt Programming: Creating Great Software with C++ and Qt 4

by Mark Summerfield

NOOK Book(eBook)

$41.49 $43.99 Save 6% Current price is $41.49, Original price is $43.99. You Save 6%.
View All Available Formats & Editions

Available on Compatible NOOK Devices and the free NOOK Apps.
WANT A NOOK?  Explore Now

Product Details

ISBN-13: 9780132480161
Publisher: Pearson Education
Publication date: 07/11/2010
Sold by: Barnes & Noble
Format: NOOK Book
Pages: 99998
File size: 29 MB
Note: This product may take a few minutes to download.

About the Author

Mark Summerfield owns Qtrac Ltd., where he works as an independent consultant, programmer, author, editor, and trainer specializing in C++, Qt, Python, and PyQt. During nearly three years as documentation manager for Trolltech (now Nokia’s Qt Development Frameworks), he founded and edited the Qt Quarterly technical journal. His books include Rapid GUI Programming with Python and Qt (Prentice Hall, 2008) and Programming in Python 3, Second Edition (Addison-Wesley, 2010). With Jasmin Blanchette, he coauthored C++ GUI Programming with Qt 4, Second Edition (Prentice Hall, 2008).

Table of Contents

List of Tables xiii

Foreword xv

 

Introduction 1

 

Chapter 1: Hybrid Desktop/Internet Applications 5

Internet-Aware Widgets 6

Using WebKit 21

 

Chapter 2: Audio and Video 53

Using QSound and QMovie 54

The Phonon Multimedia Framework 60

 

Chapter 3: Model/View Table Models 87

Qt’s Model/View Architecture 88

Using QStandardItemModels for Tables 90

Creating Custom Table Models 113

 

Chapter 4: Model/View Tree Models 129

Using QStandardItemModels for Trees 130

Creating Custom Tree Models 151

 

Chapter 5: Model/View Delegates 185

Datatype-Specific Editors 186

Datatype-Specific Delegates 188

Model-Specific Delegates 201

 

Chapter 6: Model/View Views 207

QAbstractItemView Subclasses 208

Model-Specific Visualizing Views 224

 

Chapter 7: Threading with QtConcurrent 245

Executing Functions in Threads 248

Filtering and Mapping in Threads 261

 

Chapter 8: Threading with QThread 287

Processing Independent Items 287

Processing Shared Items 302

 

Chapter 9: Creating Rich Text Editors 317

Introducing QTextDocument 318

Creating Custom Text Editors 320

A Rich Text Single Line Editor 342

Multi-line Rich Text Editing 353

 

Chapter 10: Creating Rich Text Documents 359

Exported QTextDocument File Quality 361

Creating QTextDocuments 364

Exporting and Printing Documents 371

Painting Pages 379

 

Chapter 11: Creating Graphics/View Windows 389

The Graphics/View Architecture 390

Graphics/View Widgets and Layouts 392

Introducing Graphics Items 399

 

Chapter 12: Creating Graphics/View Scenes 409

Scenes, Items, and Actions 411

Enhancing QGraphicsView 439

Creating a Dock Widget Toolbox 440

Creating Custom Graphics Items 447

 

Chapter 13: The Animation and State Machine Frameworks 469

Introducing the Animation Framework 469

Introducing the State Machine Framework 474

Combining Animations and State Machines 481

 

Epilogue 491

 

Selected Bibliography 495

 

Index 499

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Advanced Qt Programming: Creating Great Software with C++ and Qt 4 4 out of 5 based on 0 ratings. 4 reviews.
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago