Programming with Qt
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > Programming with Qt
Programming with Qt

Programming with Qt

|
     0     
5
4
3
2
1




International Edition


About the Book

The popular open source KDE desktop environment for Unix was built with Qt, a C++ class library for writing GUI applications that run on Unix, Linux, Windows 95/98, Windows 2000, and Windows NT platforms. Qt emulates the look and feel of Motif, but is much easier to use. Best of all, after you have written an application with Qt, all you have to do is recompile it to have a version that works on Windows. Qt also emulates the look and feel of Windows, so your users get native-looking interfaces. Platform independence is not the only benefit. Qt is flexible and highly optimized. You'll find that you need to write very little, if any, platform-dependent code because Qt already has what you need. And Qt is free for open source and Linux development. Although programming with Qt is straightforward and feels natural once you get the hang of it, the learning curve can be steep. Qt comes with excellent reference documentation, but beginners often find the included tutorial is not enough to really get started with Qt. That's where Programming with Qt steps in. You'll learn how to program in Qt as the book guides you through the steps of writing a simple paint application. Exercises with fully worked out answers help you deepen your understanding of the topics. The book presents all of the GUI elements in Qt, along with advice about when and how to use them, so you can make full use of the toolkit. For seasoned Qt programmers, there's also lots of information on advanced 2D transformations, drag-and-drop, writing custom image file filters, networking with the new Qt Network Extension, XML processing, Unicode handling, and more. Programming with Qt helps you get the most out of this powerful, easy-to-use, cross-platform toolkit. It's been completely updated for Qt Version 3.0 and includes entirely new information on rich text, Unicode/double byte characters, internationalization, and network programming.

Table of 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 Menus Adding a Scrolled View Adding a Context Menu File I\(slO Chapter 4. A Guided Tour Through the Simple Widgets General Widget Parameters Widget 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 Boxes Building Blocks for Your Own Dialog Boxes Chapter 6. Using Layout Managers Layout Manager Basics Laying 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 Classes Choosing a Container Class Working with Reference-Based Container Classes Working with Value-Based Container Classes Chapter 9. Graphics Animations Printing 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 Text Validating User Input Working with Regular Expressions Reading and Writing XML Files Rich Text Chapter 11. Working with Files and Directories Reading a Text File Traversing a Directory File Information Reading and Writing Configuration Data Chapter 12. Interapplication Communication Using the Clipboard Drag-and-Drop Chapter 13. Interfacing with the Operating System Working with Date and Time Values Loading Code Libraries Dynamically Spawning Child Processes Playing Sounds Chapter 14. Writing Your Own Widgets Implementing a Coordinate Selector Implementing a Browse Box Chapter 15. Focus Handling Chapter 16. Advanced Event Handling Event Filters Sending Synthetic Events Chapter 17. Advanced Signals and Slots Signals and Slots Revisited Connecting Several Buttons to One Slot Actions Chapter 18. Providing Help Chapter 19. Accessing Databases Installation of the SQL module Connecting to a Database Simple Data Retrieval Data Retrieval with Cursors Data Display Data Manipulation Anything Else? Chapter 20. Multithreading Configuring Qt for Multithreading Using Qt's Multithreading Classes Multithreading Pitfalls Alternatives to Multithreading Chapter 21. Debugging Chapter 22. Portability Why Portability Is Desirable How 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 Access Higher-Level Network Access Chapter 24. Interfacing Qt with Other Languages and\ Libraries OpenGL Programming with Qt Writing Netscape Plug-ins Integrating Xt Widgets Interfacing Qt with Perl Chapter 25. Using the Visual C++ IDE for Qt Programs Importing an Existing Makefile Creating 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


Best Sellers


Product Details
  • ISBN-13: 9780596000646
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Height: 178 mm
  • No of Pages: 522
  • Returnable: Y
  • Spine Width: 28 mm
  • ISBN-10: 0596000642
  • Publisher Date: 26 Feb 2002
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Returnable: Y
  • Width: 231 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Programming with Qt
O'Reilly Media -
Programming with Qt
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Programming with Qt

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!