Differences between revisions 20 and 33 (spanning 13 versions)
Revision 20 as of 2008-08-27 18:08:38
Size: 3581
Editor: 71-80-173-126
Comment: Adding french translation of PyQt documentation
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:
 * A comprehensive set of [http://doc.trolltech.com/4.3/gallery.html widgets]
 * Flexible [http://doc.trolltech.com/4.3/layout.html layout managers]
 * Standard [http://doc.trolltech.com/4.3/qt4-mainwindow.html GUI features for applications] (menus, toolbars, dock windows)
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)
Line 9: Line 17:
 * A [http://doc.trolltech.com/4.3/qpainter.html unified painting system] with transparency, anti-aliasing, OpenGL integration and SVG support
 * Internationalization (i18n) support and integration with the [http://www.trolltech.com/products/qt/features/internationalization Qt Linguist] translation tool
 * [http://doc.trolltech.com/4.3/qt4-scribe.html Rich text processing], display and printing facilities, including support for PDF export (Qt 4.1 and later)
 * 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)
Line 13: Line 21:
 * [http://doc.trolltech.com/4.3/threads.html Threading classes], providing abstractions for threads, mutexes and semaphores  * [[http://doc.trolltech.com/4.3/threads.html|Threading classes]], providing abstractions for threads, mutexes and semaphores
Line 15: Line 23:
 * Widget styles, including support for [http://doc.trolltech.com/4.3/stylesheet.html widget stylesheets] (from Qt 4.2 onwards)  * Widget styles, including support for [[http://doc.trolltech.com/4.3/stylesheet.html|widget stylesheets]] (from Qt 4.2 onwards)
Line 18: Line 26:
 * A powerful, feature-rich [http://doc.trolltech.com/4.3/graphicsview.html graphics canvas] (Qt 4.2 and later)  * A powerful, feature-rich [[http://doc.trolltech.com/4.3/graphicsview.html|graphics canvas]] (Qt 4.2 and later)
Line 22: Line 30:
 * 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.
   * 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 29: Line 40:
[http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.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]. [[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]].
Line 31: Line 42:
[http://www.diotavelli.net/PyQtWiki The PyQt and PyKDE Community Wiki] aims to provide tutorials and sample code for PyQt4. The [[PyQt|PyQt Wiki pages]] aim to provide tutorials and sample code for PyQt4.
Line 33: Line 44:
An [http://indico.cern.ch/contributionDisplay.py?contribId=33&sessionId=41&confId=44 overview of PyQt4] was presented at EuroPython 2006. An [[http://indico.cern.ch/contributionDisplay.py?contribId=33&sessionId=41&confId=44|overview of PyQt4]] was presented at EuroPython 2006.
Line 35: Line 46:
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]. 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]].
Line 38: Line 49:
[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. [[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.
Line 40: Line 51:
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] 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/]]
Line 42: Line 53:
French translation of PyQt 4 Documentation is available at [http://leroybrice.free.fr/?/Python-Bindings-Tools-For-QtV] French translation of PyQt 4 Documentation is available at [[http://leroybrice.free.fr/?/Python-Bindings-Tools-For-QtV]]
Line 45: Line 56:
[http://www.riverbankcomputing.co.uk/software/pyqt/download Download PyQt4] [[http://www.riverbankcomputing.co.uk/software/pyqt/download|Download PyQt4]]
Line 47: Line 58:
["CategoryPyGUI"] [[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.