skip to navigation
skip to content

PyQt

About PyQt

PyQt is a comprehensive set of Python bindings for the Qt GUI/XML/SQL C++ toolkit from Trolltech.

PyQt implements around 300 classes and over 5,750 functions and methods including:

  • a substantial set of GUI widgets

  • classes for accessing SQL databases (ODBC, MySQL, PostgreSQL, Oracle)

  • QScintilla, [WWW] Scintilla-based rich text editor widget

  • data aware widgets that are automatically populated from a database

  • an XML parser

  • classes for embedding ActiveX controls on Windows

Earlier versions of PyQt included a graphical debugger called eric, written using PyQt, which can be used to debug PyQt and ordinary Python console applications. It's now available separately as eric3 from [WWW] http://www.die-offenbachs.de/detlev/eric3.html.

PyQt includes pyuic which generates Python code from GUI designs created with Qt Designer. This makes PyQt very useful as a rapid prototyping tool for applications that will eventually be (partly or completely) implemented in C++ because the user interface designs can be re-used without modification.

PyQt is available for Windows, UNIX/Linux, MacOS X and the Sharp Zaurus.

For more information see [WWW] toolkit homepage.

PyQt documentation

Current documentation is available at [WWW] http://www.river-bank.demon.co.uk/docs/pyqt/PyQt.html.

Boudewijn Rempt's book, GUI Programming with Python: Qt Edition, is available at [WWW] http://www.commandprompt.com/community/pyqt/.

A tutorial presented by Jonathan Gardner at the 2003 Northwest Linux Fest is available at JonathanGardnerPyQtTutorial.

A tutorial presented by Oleksandr Yakovlyev for embeding PyQt in C++/Qt application EmbedingPyQtTutorial

PyQt applications

Some applications that use PyQt as their UI layer:

Links to other resources

A Wiki dedicated to PyQt and PyKDE can be found at [WWW] The PyQt and PyKDE community Wiki.

EditText (last edited 2006-04-13 06:29:42 by clj25-50)

DeleteCache (cached 2006-06-15 22:04:36)