.NODE

Views of a QStringList

Review Questions

1.

List six things that QWidgets have in common.

2.

How can you save and later restore the size, position, and arrangements of widgets for a GUI app?

3.

Why would you want to do such a thing?

4.

What is a dialog? Where is an appropriate place to use it?

5.

What is a QLayout? What is its purpose? What is an example of a concrete QLayout class?

6.

Can a widget be a child of a layout?

7.

Can a layout be a child of a widget?

8.

Revisiting Example 11.15, how does the QGridLayout determine the number of columns? What would be the effect of using

mainGrid->addWidget(moveLeft, 1,2);
 

in line 25?

9.

What are the advantages of listing our images in a resources file?

10.

What is the difference between a spacer and a stretch?

11.

What is a QAction? How are actions triggered?

12.

It is possible to create QMenus without using QActions. What are the advantages of using a QAction?


Part I: Introduction to C++ and Qt 4

C++ Introduction

Classes

Introduction to Qt

Lists

Functions

Inheritance and Polymorphism

Part II: Higher-Level Programming

Libraries

Introduction to Design Patterns

QObject

Generics and Containers

Qt GUI Widgets

Concurrency

Validation and Regular Expressions

Parsing XML

Meta Objects, Properties, and Reflective Programming

More Design Patterns

Models and Views

Qt SQL Classes

Part III: C++ Language Reference

Types and Expressions

Scope and Storage Class

Statements and Control Structures

Memory Access

Chapter Summary

Inheritance in Detail

Miscellaneous Topics

Part IV: Programming Assignments

MP3 Jukebox Assignments

Part V: Appendices

MP3 Jukebox Assignments

Bibliography

MP3 Jukebox Assignments





An Introduction to Design Patterns in C++ with Qt 4
An Introduction to Design Patterns in C++ with Qt 4
ISBN: 0131879057
EAN: 2147483647
Year: 2004
Pages: 268
Similar book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net