Differences between revisions 39 and 40
Revision 39 as of 2007-08-28 14:26:23
Size: 4067
Editor: PaulBoddie
Comment: Added category.
Revision 40 as of 2007-10-22 21:54:08
Size: 4270
Editor: DavidBoddie
Comment: Some clarifications and a little more information.
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
PyQt is a comprehensive set of Python bindings for the Qt GUI/XML/SQL C++ toolkit from Trolltech. PyQt is a comprehensive set of Python bindings for the Qt cross-platform GUI/XML/SQL C++ framework from Trolltech. PyQt provides bindings for Qt 2 and Qt 3. PyQt4, a separate set of bindings, covers the Qt 4 series of releases.
Line 17: Line 17:
PyQt is available for Windows, UNIX/Linux, MacOS X and the Sharp Zaurus. PyQt is available for Windows, UNIX/Linux, Mac OS X and the Sharp Zaurus.
Line 19: Line 19:
For more information see [http://www.riverbankcomputing.co.uk/pyqt/ framework homepage]. For more information see the [http://www.riverbankcomputing.co.uk/pyqt/ framework homepage].
Line 29: Line 29:
Mark Summerfield's book, '''Rapid GUI Programming with Python and Qt''', is an up-to-date guide to GUI application development with Python 2.5, PyQt4 and Qt 4.2/4.3. More information can be found at http://www.qtrac.eu/pyqtbook.html.
Line 34: Line 36:

Installation instructions for PyQt 4.1 on Windows with MinGW is available at [http://iwiwdsmi.blogspot.com/2007/01/how-to-install-pyqt-41-python-25-and-qt_8340.html]

About PyQt

PyQt is a comprehensive set of Python bindings for the Qt cross-platform GUI/XML/SQL C++ framework from Trolltech. PyQt provides bindings for Qt 2 and Qt 3. PyQt4, a separate set of bindings, covers the Qt 4 series of releases.

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, [http://www.scintilla.org/ 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 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, Mac OS X and the Sharp Zaurus.

For more information see the [http://www.riverbankcomputing.co.uk/pyqt/ framework homepage].

PyQt4

PyQt4 is a set of Python bindings for [http://www.trolltech.com/products/qt Qt 4] that exposes much of the functionality of Qt 4 to Python. This version of PyQt is described in more detail on the PyQt4 page.

PyQt documentation

Current documentation is available at [http://www.riverbankcomputing.com/Docs/PyQt4/pyqt4ref.html].

Mark Summerfield's book, Rapid GUI Programming with Python and Qt, is an up-to-date guide to GUI application development with Python 2.5, PyQt4 and Qt 4.2/4.3. More information can be found at http://www.qtrac.eu/pyqtbook.html.

Boudewijn Rempt's book, GUI Programming with Python: Qt Edition, is available at 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 embedding PyQt in C++/Qt application ["EmbedingPyQtTutorial"]

PyQt applications

Some applications that use PyQt as their UI layer:

A more up to date list of applications can be found on the [http://www.diotavelli.net/PyQtWiki/SomeExistingApplications PyQt Wiki].

A Wiki dedicated to PyQt and ["PyKDE"] can be found at [http://www.diotavelli.net/PyQtWiki The PyQt and PyKDE community Wiki].

Phil Thompson was [http://dot.kde.org/1155075248/ interviewed about PyQt] for [http://dot.kde.org KDE Dot News] in August 2006.


["CategoryPyGUI"]

PyQt (last edited 2021-08-18 06:00:52 by WillmanJoshua)

Unable to edit the page? See the FrontPage for instructions.