PySide

From Wikipedia, the free encyclopedia
Jump to: navigation, search
PySide
Pyside.png
Original author(s) Openbossa
Developer(s) Qt Project
Stable release 1.2.2 / April 25, 2014; 2 months ago (2014-04-25)
Written in Python
Operating system Cross-platform
License LGPL
Website www.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[1] to reduce the size of the binaries and the memory footprint.

PySide was released under the LGPL in August 2009 by Nokia,[2] 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[edit]

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[edit]

References[edit]

  1. ^ "Shiboken". Pyside.org. Retrieved 2010-05-25. 
  2. ^ http://www.pyside.org/2009/08/pyside-has-been-released/
  3. ^ "FAQ – PySide – Python for Qt". Pyside.org. Retrieved 2010-05-25. 
  4. ^ "FAQ – PySide – Python for Qt". Pyside.org. Retrieved 2013-03-19. 

External links[edit]