Rapid GUI Programming with Python and Qt: The Definitive Guide to PyQt ProgrammingWhether you're building GUI prototypes or full-fledged cross-platform GUI applications with native look-and-feel, PyQt 4 is your fastest, easiest, most powerful solution. Qt expert Mark Summerfield has written the definitive best-practice guide to PyQt 4 development. With Rapid GUI Programming with Python and Qt you'll learn how to build efficient GUI applications that run on all major operating systems, including Windows, Mac OS X, Linux, and many versions of Unix, using the same source code for all of them. Summerfield systematically introduces every core GUI development technique: from dialogs and windows to data handling; from events to printing; and more. Through the book's realistic examples you'll discover a completely new PyQt 4-based programming approach, as well as coverage of many new topics, from PyQt 4's rich text engine to advanced model/view and graphics/view programming. Every key concept is illuminated with realistic, downloadable examples–all tested on Windows, Mac OS X, and Linux with Python 2.5, Qt 4.2, and PyQt 4.2, and on Windows and Linux with Qt 4.3 and PyQt 4.3. |
Contents
Control Structures | |
List Comprehensions and Generators | |
Writing and Reading Using QDataStream | |
Writing and Reading Using QTextStream | |
Writing XML | |
Exercise | |
Extension Dialogs | |
A Fraction Slider | |
A FlowMixing Widget | |
ItemBased Graphics | |
Using Keyword Arguments | |
Classes and Modules | |
Static Data and Static Methods and Decorators | |
Collection Classes | |
Using the doctest Module | |
Introduction to GUI Programming | |
Exercise | |
Dialogs | |
Modeless ApplyCloseStyle Dialogs | |
Actions and Key Sequences | |
Restoring and Saving the Main Windows State | |
Handling User Actions | |
Handling Edit Actions | |
Custom Widgets | |
Using Qt Designer | |
Main Windows | |
Using QSyntaxHighlighter | |
A Rich Text Line Edit | |
Printing Images | |
Printing Documents Using QPainter | |
ModelView Programming | |
Implementing the View Logic | |
Data Handling and Custom File Formats | |
Exercise | |
Advanced ModelView Programming | |
Online Help and Internationalization | |
Networking | |
Multithreading | |
Appendix A Installing | |
Appendix B Selected PyQt Widgets | |
Selected PyQt Class Hierarchies | |
Other editions - View all
Rapid GUI Programming with Python and Qt: The Definitive Guide to PyQt ... Mark Summerfield No preview available - 2008 |
Rapid GUI Programming with Python and Qt: The Definitive Guide to Pyqt ... Mark Summerfield No preview available - 2015 |