PyQt: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
Line 7: Line 7:
== Articles and references ==
== Articles and references ==


At [http://www.devshed.com DevShed] -- [http://www.devshed.com/c/a/Python/PyQT-Getting-Started/ PyQT Getting Started]
At [http://www.devshed.com DevShed]: [http://www.devshed.com/c/a/Python/PyQT-Getting-Started/ PyQT Getting Started]
 
A tutorial: http://www.cs.usfca.edu/~afedosov/qttut/


== Development tools ==
== Development tools ==

Revision as of 19:50, 2 September 2008

  1. I seek a way to design GUI interfaces for Python.
  2. I want one that runs cross-platform (Windows and Linux)
  3. I want to create apps that can run on my OpenMoko FreeRunner.

This page is about PyQt, which is a set of bindings to allow using Python with TrollTech QT

Articles and references

At DevShed: PyQT Getting Started

A tutorial: http://www.cs.usfca.edu/~afedosov/qttut/

Development tools

I use ActiveState Komodo as my Python IDE. I recommend it highly even though it costs money. There is a CIX package for Komodo available from ActiveState.

Windows A complete Windows binary package is available from http://www.riverbankcomputing.co.uk/pyqt It includes everything you need, including the runtime, the designer, the bindings. Quite nice.

Development cycle

Design user interface in QT4 Designer. Save as a .ui file (XML).

Widgets send "signals" when their states change. "Slots" are signal receivers.