Differences between revisions 3 and 33 (spanning 30 versions)
Revision 3 as of 2007-03-15 19:06:57
Size: 1088
Editor: 74-135-8-13
Comment:
Revision 33 as of 2014-06-07 23:26:15
Size: 4525
Editor: DavidBoddie
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== About PyQt4 == == About PyQt ==
Line 3: Line 3:
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, including: '''The contents of this page should probably be merged with the PyQt page and this page made to redirect there.'''
Line 5: Line 5:
 * widgets, layouts, widget styles
 * standard GUI features for applications (menus, toolbars, dock windows)
 * easy communication between application components (signals and slots)
 * a unified painting system with transparency, anti-aliasing and SVG support
 * rich text processing, display and printing
 * database support (SQL) and model/view features
 * input/output and networking
 * threading
 * integrated resource handling for applications
 * classes for handling XML
PyQt is a set of Python bindings for [[http://qt.nokia.com|Qt]] that are dual-licensed under the GPL (version 2 and 3, with additional license exceptions) and a commercial license.
There is also !PySide by Nokia - new alternative bindings (as of November 2009) with LGPL license that struggle to be API compatible (at least until Qt 4.6) with PyQt4.

 * [[http://pyqt.sourceforge.net/Docs/PyQt4|PyQt4 Reference Guide]]
 * [[http://pyqt.sourceforge.net/Docs/PyQt5|PyQt5 Reference Guide]]

PyQt exposes much of the functionality of Qt to Python, including:

 * A comprehensive set of [[http://qt-project.org/doc/qt-5.1/qtwidgets/qtwidgets-index.html|widgets]]
 * Flexible [[http://qt-project.org/doc/qt-5.1/qtwidgets/qlayout.html|layout managers]]
 * Standard [[http://doc.trolltech.com/4.3/qt4-mainwindow.html|GUI features for applications]] (menus, toolbars, dock windows)
 * Easy communication between application components (signals and slots)
 * A [[http://qt-project.org/doc/qt-5.1/qtdoc/topics-graphics.html|unified painting system]] with transparency, anti-aliasing, OpenGL integration and SVG support
 * Internationalization (i18n) support and integration with the [[http://qt-project.org/doc/qt-5.0/qtlinguist/qtlinguist-index.html|Qt Linguist]] translation tool
 * [[http://qt-project.org/doc/qt-5.0/qtgui/richtext.html|Rich text processing]], display and printing facilities, including support for PDF export (Qt 4.1 and later)
 * Database support (SQL) and model/view features
 * [[http://doc.trolltech.com/4.3/threads.html|Threading classes]], providing abstractions for threads, mutexes and semaphores
 * Integrated resource handling for applications
 * Widget styles, including support for [[http://doc.trolltech.com/4.3/stylesheet.html|widget stylesheets]] (from Qt 4.2 onwards)
 * Input/output and networking
   * Qt 4.3 and later supports Secure Sockets Layer communications
 * A powerful, feature-rich [[http://doc.trolltech.com/4.3/graphicsview.html|graphics canvas]] (Qt 4.2 and later)
 * Inter-process communication for Unix via D-Bus message buses (Qt 4.2 and later)
 * Text completion and undo frameworks (Qt 4.2 and later)
 * XML handling APIs, including SAX, DOM and (from Qt 4.3 onwards) a stream-oriented API
   * Support for XML query technologies, such as [[http://doc.trolltech.com/4.4/qtxmlpatterns.html|XQuery, XPath]] and [[http://doc.trolltech.com/4.5/qtxmlpatterns.html#xslt-2-0|XSLT]].
 * An [[http://doc.trolltech.com/4.3/qtscript.html|ECMAScript interpreter]] with the ability to access Qt's object model
 * Support for [[http://doc.trolltech.com/4.3/qt4-designer.html|Qt Designer]], including facilities to add custom Python-based widgets to the standard set of Qt widgets available to user interface designers.
 * [[http://doc.trolltech.com/4.4/qtwebkit.html|WebKit browser engine integration]].
 * Support for [[http://doc.trolltech.com/4.4/phonon-overview.html|audio and video playback]].
Line 18: Line 38:
[http://www.riverbankcomputing.com/Docs/PyQt4/pyqt4ref.html Comprehensive documentation] is available for PyQt4 which includes detailed [http://www.riverbankcomputing.com/Docs/PyQt4/html/classes.html class and function documentation]. '''The PyQt4 tutorial''' available at http://zetcode.com/tutorials/pyqt4/
Line 20: Line 40:
An [http://indico.cern.ch/contributionDisplay.py?contribId=33&sessionId=41&confId=44 overview of PyQt4] was presented at EuroPython 2006. [[http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/|Comprehensive documentation]] is available for PyQt4 which includes detailed [[http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/classes.html|class and function documentation]].

The [[PyQt|PyQt Wiki pages]] aim to provide tutorials and sample code for PyQt4.

An [[http://indico.cern.ch/contributionDisplay.py?contribId=33&sessionId=41&confId=44|overview of PyQt4]] was presented at EuroPython 2006.

An introduction to using [[http://www.diotavelli.net/PyQtWiki/Creating_GUI_Applications_with_PyQt_and_Qt_Designer|PyQt4 with Qt Designer]] for the development of GUI applications was given at [[http://www.pyconuk.org|PyCon UK 2007]].

The book
[[http://www.qtrac.eu/pyqtbook.html|Rapid GUI Programming with Python and Qt]] is PyQt4-specific and covers development with Python 2.5, PyQt4 and Qt 4.2/4.3.

Installation instructions for PyQt 4.4 on Windows with MinGW is available at [[http://www.saltycrane.com/blog/2007/01/how-to-install-pyqt-41-python-25-and-qt_8340/]]

French translation of PyQt 4 Documentation is available at [[http://leroybrice.free.fr/?/Python-Bindings-Tools-For-QtV]]

== Download ==
[[http://www.riverbankcomputing.co.uk/software/pyqt/download|Download PyQt4]]
----
[[CategoryPyGUI]]

About PyQt

The contents of this page should probably be merged with the PyQt page and this page made to redirect there.

PyQt is a set of Python bindings for Qt that are dual-licensed under the GPL (version 2 and 3, with additional license exceptions) and a commercial license. There is also PySide by Nokia - new alternative bindings (as of November 2009) with LGPL license that struggle to be API compatible (at least until Qt 4.6) with PyQt4.

PyQt exposes much of the functionality of Qt to Python, including:

  • A comprehensive set of widgets

  • Flexible layout managers

  • Standard GUI features for applications (menus, toolbars, dock windows)

  • Easy communication between application components (signals and slots)
  • A unified painting system with transparency, anti-aliasing, OpenGL integration and SVG support

  • Internationalization (i18n) support and integration with the Qt Linguist translation tool

  • Rich text processing, display and printing facilities, including support for PDF export (Qt 4.1 and later)

  • Database support (SQL) and model/view features
  • Threading classes, providing abstractions for threads, mutexes and semaphores

  • Integrated resource handling for applications
  • Widget styles, including support for widget stylesheets (from Qt 4.2 onwards)

  • Input/output and networking
    • Qt 4.3 and later supports Secure Sockets Layer communications
  • A powerful, feature-rich graphics canvas (Qt 4.2 and later)

  • Inter-process communication for Unix via D-Bus message buses (Qt 4.2 and later)
  • Text completion and undo frameworks (Qt 4.2 and later)
  • XML handling APIs, including SAX, DOM and (from Qt 4.3 onwards) a stream-oriented API
  • An ECMAScript interpreter with the ability to access Qt's object model

  • Support for Qt Designer, including facilities to add custom Python-based widgets to the standard set of Qt widgets available to user interface designers.

  • WebKit browser engine integration.

  • Support for audio and video playback.

Documentation and Learning Materials

The PyQt4 tutorial available at http://zetcode.com/tutorials/pyqt4/

Comprehensive documentation is available for PyQt4 which includes detailed class and function documentation.

The PyQt Wiki pages aim to provide tutorials and sample code for PyQt4.

An overview of PyQt4 was presented at EuroPython 2006.

An introduction to using PyQt4 with Qt Designer for the development of GUI applications was given at PyCon UK 2007.

The book Rapid GUI Programming with Python and Qt is PyQt4-specific and covers development with Python 2.5, PyQt4 and Qt 4.2/4.3.

Installation instructions for PyQt 4.4 on Windows with MinGW is available at http://www.saltycrane.com/blog/2007/01/how-to-install-pyqt-41-python-25-and-qt_8340/

French translation of PyQt 4 Documentation is available at http://leroybrice.free.fr/?/Python-Bindings-Tools-For-QtV

Download

Download PyQt4


CategoryPyGUI

PyQt4 (last edited 2014-06-07 23:26:15 by DavidBoddie)

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