- Hardcover: 648 pages
- Publisher: Prentice Hall; 1 edition (October 28, 2007)
- Language: English
- ISBN-10: 0132354187
- ISBN-13: 978-0132354189
- Product Dimensions: 7 x 1.4 x 8.9 inches
- Shipping Weight: 2.6 pounds
- Average Customer Review: 40 customer reviews
- Amazon Best Sellers Rank: #543,276 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Rapid GUI Programming with Python and Qt (Prentice Hall Open Source Software Development) 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
"Enlightenment Now: The Case for Reason, Science, Humanism, and Progress"
Is the world really falling apart? Is the ideal of progress obsolete? Cognitive scientist and public intellectual Steven Pinker urges us to step back from the gory headlines and prophecies of doom, and instead, follow the data: In seventy-five jaw-dropping graphs, Pinker shows that life, health, prosperity, safety, peace, knowledge, and happiness are on the rise. Learn more
Customers who bought this item also bought
Customers who viewed this item also viewed
What other items do customers buy after viewing this item?
From the Author
All the book's examples can be downloaded from the book's web page. (Amazon don't allow URLs so google for "qtrac" to find the page.) Note also that versions of the examples are also available for Python 3.1 and the PyQt's API 2--the book uses Python 2 and API 1, but the differences aren't that great as explained at the bottom of the book's web page.
From the Back Cover
The Insider's Best-Practice Guide to Rapid PyQt 4 GUI Development
Whether 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.
Coverge includesPython basics for every PyQt developer: data types, data structures, control structures, classes, modules, and moreCore PyQt GUI programming techniques: dialogs, main windows, and custom file formatsUsing Qt Designer to design user interfaces, and to implement and test dialogs, events, the Clipboard, and drag-and-drop Building custom widgets: Widget Style Sheets, composite widgets, subclassing, and moreMaking the most of Qt 4.2's new graphics/view architectureConnecting to databases, executing SQL queries, and using form and table viewsAdvanced model/view programming: custom views, generic delegates, and moreImplementing online help, internationalizing applications, and using PyQt's networking and multithreading facilities
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
One of my favorite things about this book are the exercises at the end of each chapter. There are only a few, but each one involves extending that chapter's examples in some manner, to better illustrate the concepts. I found these to be a tremendous learning opportunity. You can download the answers to the examples from the author's website, and it was very informative to compare my code to that of a professional programmer.
On a similar note, I expected to skip over the first three chapters introducing you to Python programming. As I skimmed through them, I realized that those chapters were, in fact, very illuminating. I think they are one of the best general introductions to Python out there.
In short, if you are anything other than an expert PyQt programmer, you need this book. I had it open continually at my workstation for months, and I still keep it close and refer to it often.
and, don't underestimate the importance of
the downloadable code samples;
because, the style of this book
is explaining each chunk of the code;
and, it's easy to lose sight of the big picture
without having both the book and code in front of you .
. if you don't already know Python,
pay attention to part I, a great beginner's tutorial
(this part is quite instructive without the code samples);
only then it will be obvious
how the object-oriented parts fit together;
so that the explanation of code chunks can fall into place .
. the author carefully explains all of the example code,
and the examples are strategically chosen to be
representative of everything pyqt is capable of doing;
but towards the middle of the book,
you realize the author definitely intends that you
read the pyqt documentation because otherwise
knowing how the authors code works
isn't going to help you with
implementing every design you might have in mind .
. this is in contrast to the front of the book,
where the tutorial on command-line python
may indeed give you a working a knowledge of python
without having to merge his work with the library documentation .
. this book is also recommended by an author of Qubes OS,
a xen-based, python scripted, high-security openware .
. they also recommend another of Summerfield's books
Programming in Python 3: A Complete Introduction to the Python Language (2nd Edition)
That said, the hurdle anyone who takes this path must go through is developing GUIs from a Python 3 perspective while referencing Python 2.x(warts and all), given that the book covers only Python 2.x code. That's not as hard as it seems since the author has taken the time to port all of the code examples to Python 3.x. Also, given the availability of excellent Python 3 references (like Python Essential Reference (4th Edition)) you'll be hopping and skipping pretty quickly.
If you are new to Python, don't hurt your brain. First study an introductory book on Python 3(like Programming in Python 3: A Complete Introduction to the Python Language (2nd Edition)). This should make you mentally stable enough to charge down this path without crashing into trees.
Everyone else, get the book as soon as you can and get busy. You won't regret it!
Another complaint is that he doesn't provide enough of the higher level picture before delving into the examples, as well as pointing out nuances you need to understand at points in time. He very curtly describes what the code does, which I applaud in that you don't have a 1000+ page book, it's very easy to misunderstand what's going on. The book does have good value in that the examples are all good, and the best way to learn writing GUIs with Qt is by examples.