Programming with Qt: [writing portable GUI applications on UNIX & WIN32 ; covers Qt 3]
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | German |
Veröffentlicht: |
Cambridge [u.a.]
O'Reilly
2002
|
Ausgabe: | 2. ed. |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XVIII, 499 S. Ill. |
ISBN: | 0596000642 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV014187697 | ||
003 | DE-604 | ||
005 | 20041215 | ||
007 | t | ||
008 | 020306s2002 gw a||| |||| 00||| ger d | ||
020 | |a 0596000642 |9 0-596-00064-2 | ||
035 | |a (OCoLC)248497906 | ||
035 | |a (DE-599)BVBBV014187697 | ||
040 | |a DE-604 |b ger |e rakwb | ||
041 | 0 | |a ger | |
044 | |a gw |c DE | ||
049 | |a DE-91 |a DE-91G |a DE-20 |a DE-Aug4 |a DE-29T |a DE-83 |a DE-634 |a DE-11 |a DE-M100 | ||
050 | 0 | |a QA76.9.U83 | |
082 | 0 | |a 005.428 | |
084 | |a ST 230 |0 (DE-625)143617: |2 rvk | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a ST 267 |0 (DE-625)143635: |2 rvk | ||
084 | |a ST 281 |0 (DE-625)143646: |2 rvk | ||
084 | |a DAT 368f |2 stub | ||
100 | 1 | |a Dalheimer, Matthias Kalle |e Verfasser |0 (DE-588)136641687 |4 aut | |
245 | 1 | 0 | |a Programming with Qt |b [writing portable GUI applications on UNIX & WIN32 ; covers Qt 3] |c Matthias Kalle Dalheimer |
250 | |a 2. ed. | ||
264 | 1 | |a Cambridge [u.a.] |b O'Reilly |c 2002 | |
300 | |a XVIII, 499 S. |b Ill. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 4 | |a Qt 3.0 | |
650 | 4 | |a C++ (Computer program language) | |
650 | 4 | |a Graphical user interfaces (Computer systems) | |
650 | 0 | 7 | |a Qt |g Software |0 (DE-588)4544202-2 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Qt |g Software |0 (DE-588)4544202-2 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=009725169&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-009725169 |
Datensatz im Suchindex
_version_ | 1804129066672979968 |
---|---|
adam_text | Titel: Programming with Qt
Autor: Dalheimer, Matthias Kalle
Jahr: 2002
Table of Contents
Preface........................................................................................................................................xt
1. Introduction.................................................................................................................. 1
Why GUI Toolkits? .............................................................................................. 1
Why Portability? .................................................................................................. 3
Why Qt? ...............................................................................................................3
Implementing Cross-Platform GUI Libraries .....................................................4
Acquiring Qt........................................................................................................6
Compiling and Installing Qt ...............................................................................8
C++ as Used by Qt............................................................................................ 16
Getting Help ...................................................................................................... 17
2. First Steps in Qt Programming......................................................................19
Hello, world! ..................................................................................................... 19
Using the Qt Reference Documentation..........................................................23
Adding an Exit Button ......................................................................................26
Introduction to Signals and Slots .....................................................................28
Event Handling and Simple Drawings with QPainter.....................................37
3. Learning More About Qt....................................................................................45
Adding Menus ...................................................................................................45
Adding a Scrolled View ....................................................................................55
Adding a Context Menu ...................................................................................63
File I/O ..............................................................................................................71
v
vi________Table of Contents
4. A Guided Tour Through the Simple Widgets........................................81
General Widget Parameters ..............................................................................85
Widget Styles .....................................................................................................86
Buttons ..............................................................................................................88
Selection Widgets ..............................................................................................91
Widgets for Bounded-Range Input ..................................................................95
Scrollbars ......................................................................................................... 100
Menu-Related Widgets .................................................................................... 102
Arrangers .........................................................................................................103
Tab-Related Widgets ....................................................................................... 108
Text-Entry Fields ............................................................................................. 108
Labels ............................................................................................................... 110
Widgets for the Office .................................................................................... 113
Progress Bars ...................................................................................................120
Scrolled Views ................................................................................................. 121
List Views......................................................................................................... 122
Icon Views ....................................................................................................... 128
Widgets for Tabular Material .......................................................................... 129
Widgets for Displaying Rich Text................................................................... 132
5. A Guided Tour Through the Qt Dialog Boxes..................................134
Predefined Dialog Boxes ................................................................................ 134
Building Blocks for Your Own Dialog Boxes ............................................... 145
6. Using Layout Managers..................................................................................155
Layout Manager Basics ................................................................................... 155
Laying Out Widgets in Rows and Columns................................................... 157
Nested Layout Managers................................................................................. 160
Grid Layout...................................................................................................... 162
Implicit Geometry Management..................................................................... 164
7. Some Thoughts on GUI Design..................................................................167
8. Container Classes................................................................................................173
Available Container Classes ............................................................................ 174
Choosing a Container Class............................................................................ 176
Working with Reference-Based Container Classes........................................177
Working with Value-Based Container Classes ............................................... 181
Table of Contents_vii
9. Graphics.....................................................................................................................184
Animations.......................................................................................................184
Printing ............................................................................................................ 186
Managing Colors .............................................................................................191
Basic QPainter: Drawing Figures ................................................................... 196
Advanced QPainter .........................................................................................198
Double-Buffering and Other Nifty Techniques .............................................203
Independently Movable Objects with QCanvas............................................208
Working with Styles ........................................................................................213
Loading and Saving Custom Image Formats .................................................215
Setting a Cursor...............................................................................................218
10. Text Processing.......................................................................................................219
Internationalization and Localization of On-Screen Text .............................219
Validating User Input ......................................................................................227
Working with Regular Expressions ................................................................232
Reading and Writing XML Files ......................................................................237
Rich Text..........................................................................................................245
11. Working with Files and Directories.........................................................248
Reading a Text File .........................................................................................248
Traversing a Directory ....................................................................................251
File Information ..............................................................................................253
Reading and Writing Configuration Data.......................................................254
12. Interapplication Communication............................................................258
Using the Clipboard........................................................................................258
Drag-and-Drop ................................................................................................259
13. Interfacing with the Operating System.................................................265
Working with Date and Time Values .............................................................265
Loading Code Libraries Dynamically .............................................................266
Spawning Child Processes..............................................................................269
Playing Sounds................................................................................................271
14. Writing Your Own Widgets...........................................................................274
Implementing a Coordinate Selector .............................................................276
Implementing a Browse Box..........................................................................285
viii_______Table of Contents
15. Focus Handling.....................................................................................................299
16. Advanced Event Handling.............................................................................302
Event Filters .....................................................................................................302
Sending Synthetic Events................................................................................304
17. Advanced Signals and Slots..........................................................................306
Signals and Slots Revisited .............................................................................306
Connecting Several Buttons to One Slot .......................................................309
Actions .............................................................................................................310
18. Providing Help.......................................................................................................313
19. Accessing Databases..........................................................................................317
Installation of the SQL Module ......................................................................319
Connecting to a Database ..............................................................................320
Simple Data Retrieval ......................................................................................322
Data Retrieval with Cursors ............................................................................325
Data Display....................................................................................................328
Data Manipulation...........................................................................................337
Anything Else? .................................................................................................341
20. Multithreading.......................................................................................................343
Configuring Qt for Multithreading .................................................................344
Using Qt s Multithreading Classes ..................................................................344
Multithreading Pitfalls .....................................................................................348
Alternatives to Multithreading ........................................................................348
21. Debugging.................................................................................................................350
22. Portability.................................................................................................................353
Why Portability Is Desirable ...........................................................................353
How to Write Portable Programs ...................................................................355
Danger Ahead: When Even Qt Is Not Portable.............................................356
Building Projects Portably with qmake .........................................................360
23. Qt Network Programming.............................................................................365
Low-Level Socket Access ................................................................................365
Higher-Level Network Access ........................................................................370
Table of Contents_____to
24. Interfacing Qt with Other Languages and Libraries...................3 75
OpenGL Programming with Qt......................................................................375
Writing Netscape Plug-ins...............................................................................379
Integrating Xt Widgets ....................................................................................387
Interfacing Qt with Perl ..................................................................................389
25. Using the Visual C++ IDE for Qt Programs.......................................397
Importing an Existing Makefile ......................................................................397
Creating Your Own Project from Scratch ......................................................398
Using qmake to Create a Project File ............................................................399
Using the MS Visual Studio Integration .........................................................399
26. Visual Design with Qt Designer.................................................................400
Why Do You Need A GUI Designer?.............................................................400
Creating a Simple Application with the Help of Qt Designer ......................401
Adding Functionality to a Dialog Box by Subclassing..................................418
Using Layout Management .............................................................................427
Useful Techniques...........................................................................................436
Appendix: Answers to Exercises...........................................................................455
Bibliography......................................................................................................................477
Index.......................................................................................................................................479
|
any_adam_object | 1 |
author | Dalheimer, Matthias Kalle |
author_GND | (DE-588)136641687 |
author_facet | Dalheimer, Matthias Kalle |
author_role | aut |
author_sort | Dalheimer, Matthias Kalle |
author_variant | m k d mk mkd |
building | Verbundindex |
bvnumber | BV014187697 |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.9.U83 |
callnumber-search | QA76.9.U83 |
callnumber-sort | QA 276.9 U83 |
callnumber-subject | QA - Mathematics |
classification_rvk | ST 230 ST 250 ST 267 ST 281 |
classification_tum | DAT 368f |
ctrlnum | (OCoLC)248497906 (DE-599)BVBBV014187697 |
dewey-full | 005.428 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.428 |
dewey-search | 005.428 |
dewey-sort | 15.428 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
edition | 2. ed. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01676nam a2200445 c 4500</leader><controlfield tag="001">BV014187697</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20041215 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">020306s2002 gw a||| |||| 00||| ger d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0596000642</subfield><subfield code="9">0-596-00064-2</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)248497906</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV014187697</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakwb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">ger</subfield></datafield><datafield tag="044" ind1=" " ind2=" "><subfield code="a">gw</subfield><subfield code="c">DE</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-91</subfield><subfield code="a">DE-91G</subfield><subfield code="a">DE-20</subfield><subfield code="a">DE-Aug4</subfield><subfield code="a">DE-29T</subfield><subfield code="a">DE-83</subfield><subfield code="a">DE-634</subfield><subfield code="a">DE-11</subfield><subfield code="a">DE-M100</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA76.9.U83</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.428</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 230</subfield><subfield code="0">(DE-625)143617:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 267</subfield><subfield code="0">(DE-625)143635:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 281</subfield><subfield code="0">(DE-625)143646:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 368f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Dalheimer, Matthias Kalle</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)136641687</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Programming with Qt</subfield><subfield code="b">[writing portable GUI applications on UNIX & WIN32 ; covers Qt 3]</subfield><subfield code="c">Matthias Kalle Dalheimer</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">2. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Cambridge [u.a.]</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">2002</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XVIII, 499 S.</subfield><subfield code="b">Ill.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Qt 3.0</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">C++ (Computer program language)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Graphical user interfaces (Computer systems)</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Qt</subfield><subfield code="g">Software</subfield><subfield code="0">(DE-588)4544202-2</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Qt</subfield><subfield code="g">Software</subfield><subfield code="0">(DE-588)4544202-2</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=009725169&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-009725169</subfield></datafield></record></collection> |
id | DE-604.BV014187697 |
illustrated | Illustrated |
indexdate | 2024-07-09T18:59:14Z |
institution | BVB |
isbn | 0596000642 |
language | German |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-009725169 |
oclc_num | 248497906 |
open_access_boolean | |
owner | DE-91 DE-BY-TUM DE-91G DE-BY-TUM DE-20 DE-Aug4 DE-29T DE-83 DE-634 DE-11 DE-M100 |
owner_facet | DE-91 DE-BY-TUM DE-91G DE-BY-TUM DE-20 DE-Aug4 DE-29T DE-83 DE-634 DE-11 DE-M100 |
physical | XVIII, 499 S. Ill. |
publishDate | 2002 |
publishDateSearch | 2002 |
publishDateSort | 2002 |
publisher | O'Reilly |
record_format | marc |
spelling | Dalheimer, Matthias Kalle Verfasser (DE-588)136641687 aut Programming with Qt [writing portable GUI applications on UNIX & WIN32 ; covers Qt 3] Matthias Kalle Dalheimer 2. ed. Cambridge [u.a.] O'Reilly 2002 XVIII, 499 S. Ill. txt rdacontent n rdamedia nc rdacarrier Qt 3.0 C++ (Computer program language) Graphical user interfaces (Computer systems) Qt Software (DE-588)4544202-2 gnd rswk-swf Qt Software (DE-588)4544202-2 s DE-604 HBZ Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=009725169&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Dalheimer, Matthias Kalle Programming with Qt [writing portable GUI applications on UNIX & WIN32 ; covers Qt 3] Qt 3.0 C++ (Computer program language) Graphical user interfaces (Computer systems) Qt Software (DE-588)4544202-2 gnd |
subject_GND | (DE-588)4544202-2 |
title | Programming with Qt [writing portable GUI applications on UNIX & WIN32 ; covers Qt 3] |
title_auth | Programming with Qt [writing portable GUI applications on UNIX & WIN32 ; covers Qt 3] |
title_exact_search | Programming with Qt [writing portable GUI applications on UNIX & WIN32 ; covers Qt 3] |
title_full | Programming with Qt [writing portable GUI applications on UNIX & WIN32 ; covers Qt 3] Matthias Kalle Dalheimer |
title_fullStr | Programming with Qt [writing portable GUI applications on UNIX & WIN32 ; covers Qt 3] Matthias Kalle Dalheimer |
title_full_unstemmed | Programming with Qt [writing portable GUI applications on UNIX & WIN32 ; covers Qt 3] Matthias Kalle Dalheimer |
title_short | Programming with Qt |
title_sort | programming with qt writing portable gui applications on unix win32 covers qt 3 |
title_sub | [writing portable GUI applications on UNIX & WIN32 ; covers Qt 3] |
topic | Qt 3.0 C++ (Computer program language) Graphical user interfaces (Computer systems) Qt Software (DE-588)4544202-2 gnd |
topic_facet | Qt 3.0 C++ (Computer program language) Graphical user interfaces (Computer systems) Qt Software |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=009725169&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT dalheimermatthiaskalle programmingwithqtwritingportableguiapplicationsonunixwin32coversqt3 |