Résumé
Contents
Preface
Chapter 1. Introduction
Why GUI Toolkits?Why Portability?
Why Qt?
Implementing Cross-Platform GUI Libraries
Acquiring Qt
Compiling and Installing Qt
C++ as Used by Qt
Getting Help
Chapter 2. First Steps in Qt Programming
Hello, world!Using the Qt Reference Documentation
Adding an Exit Button
Introduction to Signals and Slots
Event Handling and Simple Drawings with QPainter
Chapter 3. Learning More About Qt
Adding MenusAdding a Scrolled View
Adding a Context Menu
File I/O
Chapter 4. A Guided Tour Through the Simple Widgets
General Widget ParametersWidget Styles
Buttons
Selection Widgets
Widgets for Bounded-Range Input
Scrollbars
Menu-Related Widgets
Arrangers
Tab-Related Widgets
Text-Entry Fields
Labels
Widgets for the Office
Progress Bars
Scrolled Views
List Views
Icon Views
Widgets for Tabular Material
Widgets for Displaying Rich Text
Chapter 5. A Guided Tour Through the Qt Dialog Boxes
Predefined Dialog BoxesBuilding Blocks for Your Own Dialog Boxes
Chapter 6. Using Layout Managers
Layout Manager BasicsLaying Out Widgets in Rows and Columns
Nested Layout Managers
Grid Layout
Implicit Geometry Management
Chapter 7. Some Thoughts on GUI Design
Chapter 8. Container Classes
Available Container ClassesChoosing a Container Class
Working with Reference-Based Container Classes
Working with Value-Based Container Classes
Chapter 9. Graphics
AnimationsPrinting
Managing Colors
Basic QPainter: Drawing Figures
Advanced QPainter
Double-Buffering and Other Nifty Techniques
Independently Movable Objects with QCanvas
Working with Styles
Loading and Saving Custom Image Formats
Setting a Cursor
Chapter 10. Text Processing
Internationalization and Localization of On-Screen TextValidating User Input
Working with Regular Expressions
Reading and Writing XML Files
Rich Text
Chapter 11. Working with Files and Directories
Reading a Text FileTraversing a Directory
File Information
Reading and Writing Configuration Data
Chapter 12. Interapplication Communication
Using the ClipboardDrag-and-Drop
Chapter 13. Interfacing with the Operating System
Working with Date and Time ValuesLoading Code Libraries Dynamically
Spawning Child Processes
Playing Sounds
Chapter 14. Writing Your Own Widgets
Implementing a Coordinate SelectorImplementing a Browse Box
Chapter 15. Focus Handling
Chapter 16. Advanced Event Handling
Event FiltersSending Synthetic Events
Chapter 17. Advanced Signals and Slots
Signals and Slots RevisitedConnecting Several Buttons to One Slot
Actions
Chapter 18. Providing Help
Chapter 19. Accessing Databases
Installation of the SQL moduleConnecting to a Database
Simple Data Retrieval
Data Retrieval with Cursors
Data Display
Data Manipulation
Anything Else?
Chapter 20. Multithreading
Configuring Qt for MultithreadingUsing Qt's Multithreading Classes
Multithreading Pitfalls
Alternatives to Multithreading
Chapter 21. Debugging
Chapter 22. Portability
Why Portability Is DesirableHow to Write Portable Programs
Danger Ahead: When Even Qt Is Not Portable
Building Projects Portably with qmake
Chapter 23. Qt Network Programming
Low-Level Socket AccessHigher-Level Network Access
Chapter 24. Interfacing Qt with Other Languages and\ Libraries
OpenGL Programming with QtWriting Netscape Plug-ins
Integrating Xt Widgets
Interfacing Qt with Perl
Chapter 25. Using the Visual C++ IDE for Qt Programs
Importing an Existing MakefileCreating Your Own Project from Scratch
Using qmake to Create a Project File
Using the MS Visual Studio Integration
Chapter 26. Visual Design with Qt Designer
Why Do You Need A GUI Designer?Creating a Simple Application with the Help of Qt Designer
Adding Functionality to a Dialog Box by Subclassing
Using Layout Management
Useful Techniques
Appendix A. Answers to Exercises
Glossary
Index
L'auteur - Matthias Kalle Dalheimer
a grandi a Hambourg, sa ville natale. C'est la,
precisement a l'Universite de Hambourg, qu'il a effectue
ses etudes en informatique. Il a travaille deux ans et demi
a la tete du departement Unix chez Star Division, en tant
que responsable du portage de la suite bureautique
StarOffice vers les systemes Unix et Linux. Il crea ensuite
sa propre societe de consulting, specialisee dans la
conception et la mise en oeuvre de solutions logicielles en
milieu heterogene (en ayant souvent recours a Qt, bien
entendu !!) Kalle travaille egalement comme editeur pour le
bureau allemand d'O'Reilly & Associates, et a traduit
de nombreux ouvrages O'Reilly, de l'americain vers
l'allemand.
Kalle est membre du directoire de la fondation KDE. Il est
responsable des bibliotheques fondamentales et de plusieurs
applications, ainsi que des relations publiques.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | O'Reilly |
Auteur(s) | Matthias Kalle Dalheimer |
Parution | 22/02/2002 |
Édition | 2eme édition |
Nb. de pages | 500 |
Format | 17,5 x 23,3 |
Couverture | Broché |
Poids | 735g |
Intérieur | Noir et Blanc |
EAN13 | 9780596000646 |
ISBN13 | 978-0-596-00064-6 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse