Jump to content

PySide

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Feminist (talk | contribs) at 14:08, 27 March 2016 (Cat-a-lot: Moving from Category:Qt (framework) to Category:Qt (software)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

PySide
Original author(s)Openbossa
Developer(s)Qt Project
Initial release18 August 2009; 14 years ago (2009-08-18)[1]
Stable release
1.2.4 / 14 October 2015; 8 years ago (2015-10-14)
Written inPython
Operating systemCross-platform[which?]
LicenseLGPL
Websitewww.pyside.org

PySide is a Python binding of the cross-platform GUI toolkit Qt. It is one of the alternatives to the standard library package Tkinter. Like Qt, PySide is free software. The project started out using Boost.Python from the Boost C++ Libraries for the bindings and later switched to the binding generator Shiboken[2] to reduce the size of the binaries and the memory footprint.

PySide was released under the LGPL in August 2009 by Nokia,[1] the former owners of the Qt toolkit, after Nokia failed to reach an agreement with PyQt developers Riverbank Computing[3] to change its licensing terms to include LGPL as an alternative license.

PySide supports Linux/X11, Mac OS X, Windows and Maemo. Support for Android and Symbian is currently being added by the PySide community.[4]

Hello world example

import sys
from PySide import QtGui

app = QtGui.QApplication(sys.argv)

win = QtGui.QWidget()

win.resize(320, 240)  
win.setWindowTitle("Hello, World!") 
win.show()

sys.exit(app.exec_())

See also

References

  1. ^ a b PySide has been released, August 18th, 2009 – PySide – Python for Qt. Template:Wayback
  2. ^ "Shiboken". Pyside.org. Retrieved 2010-05-25.
  3. ^ "FAQ – PySide – Python for Qt". Pyside.org. Retrieved 2015-05-04.
  4. ^ "Which platforms is PySide available for? FAQ – PySide – Python for Qt". Pyside.org. Retrieved 2015-05-04.