Flylib.com
An Introduction to Design Patterns in C++ with Qt 4
ISBN: 0131879057
EAN: 2147483647
Year: 2004
Pages: 268
Authors:
Alan Ezust
,
Paul Ezust
BUY ON AMAZON
Part I: Introduction to C++ and Qt 4
Part I: Introduction to C++ and Qt 4
C++ Introduction
C++ Introduction
Overview of C++
A Brief History of C++
Setup: Open-Source Platforms
Setup: Win32
C++ First Example
Input and Output
Identifiers, Types, and Literals
C++ Simple Types
C++ Standard Library Strings
Streams
The Keyword const
Pointers and Memory Access
const* and *const
Reference Variables
Points of Departure
Review Questions
Classes
Classes
Structs
Class Definitions
Member Access Specifiers
Encapsulation
Introduction to UML
Friends of a Class
Constructors
Subobjects
Destructors
The Keyword static
Copy Constructors and Assignment Operators
Conversions
const Member Functions
Review Questions
Introduction to Qt
Introduction to Qt
Example Project: Using QApplication and QLabel
Makefile, qmake, and Project Files
Getting Help Online
Style Guidelines and Naming Conventions
The Qt Core Module
Streams and Dates
Points of Departure
Review Questions
Lists
Lists
Introduction to Containers
Iterators
Relationships
Points of Departure
Review Questions
Functions
Functions
Function Declarations
Overloading Functions
Optional Arguments
Operator Overloading
Parameter Passing by Value
Parameter Passing by Reference
References to const
Function Return Values
Returning References from Functions
Overloading on const-ness
Inline Functions
Inlining versus Macro Expansion
Review Questions
Inheritance and Polymorphism
Inheritance and Polymorphism
Simple Derivation
Derivation with Polymorphism
Derivation from an Abstract Base Class
Inheritance Design
Overloading, Hiding, and Overriding
Constructors, Destructors, and Copy Assignment Operators
Processing Command-Line Arguments
Points of Departure
Review Questions
Part II: Higher-Level Programming
Part II: Higher-Level Programming
Libraries
Libraries
Code Containers
Reusing Other Libraries
Organizing Libraries: Dependency Management
Installing Libraries: A Lab Exercise
Frameworks and Components
Review Questions
Introduction to Design Patterns
Introduction to Design Patterns
Iteration and the Visitor Pattern
Review Questions
QObject
QObject
QObjects Child Managment
Composite Pattern: Parents and Children
QApplication and the Event Loop
Q_OBJECT and moc: A Checklist
Values and Objects
tr() and Internationalization
Point of Departure
Review Questions
Generics and Containers
Generics and Containers
Generics and Templates
Containers
Managed Containers, Composites, and Aggregates
Implicitly Shared Classes
Generics, Algorithms, and Operators
Serializer Pattern
Sorted Map Example
Review Questions
Qt GUI Widgets
Qt GUI Widgets
Widget Categories
QMainWindow and QSettings
Dialogs
Images and Resources
Layout of Widgets
QActions, QMenus, and QMenuBars
QActions, QToolbars, and QActionGroups
Regions and QDockWidgets
Views of a QStringList
Points of Departure
Review Questions
Concurrency
Concurrency
QProcess and Process Control
Threads and QThread
Summary: QProcess and QThread
Review Questions
Validation and Regular Expressions
Validation and Regular Expressions
Validators
Regular Expressions
Regular Expression Validation
Review Questions
Parsing XML
Parsing XML
The Qt XML Module
Event-Driven Parsing
XML, Tree Structures, and DOM
Review Questions
Meta Objects, Properties, and Reflective Programming
Meta Objects, Properties, and Reflective Programming
Anti-patterns
QMetaObject: The MetaObject Pattern
Type Identification and qobject_cast
Q_PROPERTY Macro: Describing QObject Properties
QVariant Class: Accessing Properties
DataObject: An Extension of QObject
Property Containers: PropsMap
Review Questions
More Design Patterns
More Design Patterns
Creational Patterns
Serializer Pattern Revisited
The Façade Pattern
Points of Departure
Review Questions
Models and Views
Models and Views
M-V-C: What about the Controller?
Dynamic Form Models
Qt 4 Models and Views
Table Models
Tree Models
Review Questions
Qt SQL Classes
Qt SQL Classes
Introduction to MySQL
Queries and Result Sets
Database Models
Review Questions
Part III: C++ Language Reference
Part III: C++ Language Reference
Types and Expressions
Types and Expressions
Operators
Evaluation of Logical Expressions
Enumerations
Signed and Unsigned Integral Types
Standard Expression Conversions
Explicit Conversions
Safer Typecasting Using ANSI C++ Typecasts
Run-Time Type Identification (RTTI)
Member Selection Operators
Point of Departure
Review Questions
Scope and Storage Class
Scope and Storage Class
Declarations and Definitions
Identifier Scope
Storage Class
Namespaces
Review Questions
Statements and Control Structures
Statements and Control Structures
Statements
Selection Statements
Iteration
Exceptions
Review Questions
Memory Access
Memory Access
Pointer Pathology
Further Pointer Pathology with Heap Memory
Memory Access Summary
Introduction to Arrays
Pointer Arithmetic
Arrays, Functions, and Return Values
Different Kinds of Arrays
Valid Pointer Operations
What Happens If new Fails?
Chapter Summary
Chapter Summary
Review Questions
Inheritance in Detail
Inheritance in Detail
Virtual Pointers and Virtual Tables
Polymorphism and virtual Destructors
Multiple Inheritance
Point of Departure
public, protected, and private Derivation
Review Questions
Miscellaneous Topics
Miscellaneous Topics
Functions with Variable-Length Argument Lists
Resource Sharing
Part IV: Programming Assignments
MP3 Jukebox Assignments
MP3 Jukebox Assignments
Data Model: Mp3File
Visitor: Generating Playlists
Preference: An Enumerated Type
Reusing id3lib
PlayListModel Serialization
Testing Mp3File Related Classes
Simple Queries and Filters
Mp3PlayerView
Models and Views: PlayList
Source Selector
Persistent Settings
Edit Form View for FileTagger
Points of Departure
Part V: Appendices
MP3 Jukebox Assignments
MP3 Jukebox Assignments
Appendix A. C++ Reserved Keywords
Appendix B. Standard Headers
Appendix C. The Development Environment
Section C.1. The Preprocessor: For #including Files
Section C.2. Understanding the Linker
Section C.3. Debugging
Section C.4. Qt Assistant and Designer
Section C.5. Open-Source IDEs and Development Tools
Bibliography
MP3 Jukebox Assignments
MP3 Jukebox Assignments
C++ References
Qt References
OOP References
Docbook References
An Introduction to Design Patterns in C++ with Qt 4
ISBN: 0131879057
EAN: 2147483647
Year: 2004
Pages: 268
Authors:
Alan Ezust
,
Paul Ezust
BUY ON AMAZON
Snort Cookbook
Configuring MySQL for Snort
Using PostgreSQL with Snort and ACID
Detecting IDS Evasion
Performing Real-Time Data Analysis
Recognizing HTTP Traffic on Unusual Ports
FileMaker Pro 8: The Missing Manual
Checking Spelling
Layout Mode
Creating a Relational Database
Organizing Complex Scripts
Server Hardware
Cisco IOS in a Nutshell (In a Nutshell (OReilly))
Basic Router Configuration
System Banners
Asynchronous Interfaces
Older Queuing Methods
Appendix A Network Basics
Microsoft WSH and VBScript Programming for the Absolute Beginner
Overview of the Windows Script Host
Using Procedures to Organize Scripts
Handling Script Errors
Appendix A WSH Administrative Scripting
Appendix B Built-In VBScript Functions
AutoCAD 2005 and AutoCAD LT 2005. No Experience Required
Getting to Know AutoCAD
Using Layers to Organize Your Drawing
Controlling Text in a Drawing
Managing External References
Printing an AutoCAD Drawing
Sap Bw: a Step By Step Guide for Bw 2.0
Loading Data into the InfoCube
Summary
Summary
Tuning Query Performance
Object Transport
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies