1 option
Advanced QT programming : creating great software with C++ and QT 4
- Format:
- Book
- Author/Creator:
- Summerfield, Mark, Author.
- Language:
- English
- Subjects (All):
- Qt (Electronic resource).
- Graphical user interfaces (Computer systems).
- C++ (Computer program language).
- Physical Description:
- 1 online resource (iv, 256 p.) : ill.
- Edition:
- 1st edition
- Place of Publication:
- [Place of publication not identified] Prentice Hall 2011
- Language Note:
- English
- System Details:
- text file
- Summary:
- Master Qt’s Most Powerful APIs, Patterns, and Development Practices Qt has evolved into a remarkably powerful solution for cross-platform desktop, Web, and mobile development. However, even the most experienced Qt programmers only use a fraction of its capabilities. Moreover, practical information about Qt’s newest features has been scarce—until now. Advanced Qt Programming shows developers exactly how to take full advantage of Qt 4.5’s and Qt 4.6’s most valuable new APIs, application patterns, and development practices. Authored by Qt expert Mark Summerfield, this book concentrates on techniques that offer the most power and flexibility with the least added complexity. Summerfield focuses especially on model/view and graphics/view programming, hybrid desktop/Web applications, threading, and applications incorporating media and rich text. Throughout, he presents realistic, downloadable code examples, all tested on Windows, Mac OS X, and Linux using Qt 4.6 (and most tested on Qt 4.5) and designed to anticipate future versions of Qt. The book Walks through using Qt with WebKit to create innovative hybrid desktop/Internet applications Shows how to use the Phonon framework to build powerful multimedia applications Presents state-of-the-art techniques for using model/view table and tree models, QStandardItemModels, delegates, and views, and for creating custom table and tree models, delegates, and views Explains how to write more effective threaded programs with the QtConcurrent module and with the QThread class Includes detailed coverage of creating rich text editors and documents Thoroughly covers graphics/view programming: architecture, windows, widgets, layouts, scenes, and more Introduces Qt 4.6’s powerful animation and state machine frameworks Source code provided for this title.
- Contents:
- Cover
- Contents
- List of Tables
- Foreword
- Introduction
- Acknowledgements
- Chapter 1. Hybrid Desktop/Internet Applications
- Internet-Aware Widgets
- Using WebKit
- A Generic Web Browser Window Component
- Creating Web Site-Specific Applications
- Embedding Qt Widgets in Web Pages
- Chapter 2. Audio and Video
- Using QSound and QMovie
- The Phonon Multimedia Framework
- Playing Music
- Playing Videos
- Chapter 3. Model/View Table Models
- Qt's Model/View Architecture
- Using QStandardItemModels for Tables
- Changing a Table Model through the User Interface
- A QStandardItemModel Subclass for Tables
- A QSortFilterProxyModel to Filter Out Duplicate Rows
- A QSortFilterProxyModel to Filter In Wanted Rows
- Creating Custom Table Models
- A CustomQAbstractTableModel Subclass for Tables
- Chapter 4. Model/View Tree Models
- Using QStandardItemModels for Trees
- Changing a Tree Model through the User Interface
- A QStandardItem Subclass for Tree Items
- A QStandardItemModel Subclass for Trees
- Creating Custom Tree Models
- A Custom Item Class for Tree Items
- A CustomQAbstractItemModel Subclass for Trees
- Chapter 5. Model/View Delegates
- Datatype-Specific Editors
- Datatype-Specific Delegates
- A Read-Only Column or Row Delegate
- An Editable Column or Row Delegate
- Model-Specific Delegates
- Chapter 6. Model/View Views
- QAbstractItemView Subclasses
- Model-Specific Visualizing Views
- The Visualizer Widget
- The Visualizer's Aggregated Header Widget
- The Visualizer's Aggregated View Widget
- Chapter 7. Threading with QtConcurrent
- Executing Functions in Threads
- Using QtConcurrent::run()
- Using QRunnable
- Filtering and Mapping in Threads
- Using QtConcurrent to Filter.
- Using QtConcurrent to Filter and Reduce
- Using QtConcurrent to Map
- Chapter 8. Threading with QThread
- Processing Independent Items
- Processing Shared Items
- Chapter 9. Creating Rich Text Editors
- Introducing QTextDocument
- Creating CustomText Editors
- Completion for Line Edits and Comboboxes
- Completion and Syntax Highlighting for Text Editors
- A Rich Text Single Line Editor
- Multi-line Rich Text Editing
- Chapter 10. Creating Rich Text Documents
- Exported QTextDocument File Quality
- Creating QTextDocuments
- Creating QTextDocuments with HTML
- Creating QTextDocuments with QTextCursor
- Exporting and Printing Documents
- Exporting QTextDocuments
- Printing and Previewing QTextDocuments
- Painting Pages
- Painting PDF or PostScript
- Painting SVG
- Painting Pixmaps
- Chapter 11. Creating Graphics/View Windows
- The Graphics/View Architecture
- Graphics/View Widgets and Layouts
- Introducing Graphics Items
- Chapter 12. Creating Graphics/View Scenes
- Scenes, Items, and Actions
- Creating the Main Window
- Saving, Loading, Printing, and Exporting Scenes
- Manipulating Graphics Items
- Enhancing QGraphicsView
- Creating a Dock Widget Toolbox
- Creating Custom Graphics Items
- Enhancing QGraphicsTextItem
- Enhancing an Existing Graphics Item
- Creating a Custom Graphics Item from Scratch
- Chapter 13. The Animation and State Machine Frameworks
- Introducing the Animation Framework
- Introducing the State Machine Framework
- Combining Animations and State Machines
- Epilogue
- Selected Bibliography
- Index.
- Notes:
- Bibliographic Level Mode of Issuance: Monograph
- Includes bibliographical references (p. 253-254).
- Description based on publisher supplied metadata and other sources.
- ISBN:
- 9786612660139
- 9780132480161
- 0132480166
- 9781282660137
- 1282660136
- 9780132480154
- 0132480158
- OCLC:
- 1027202491
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.