PySide tutorial
This is PySide tutorial. The tutorial is suited for beginners and intermediate programmers. After reading this tutorial, you will be able to program nontrivial PySide applications.
Table of contents
Introduction
First programs
Menus and toolbars
Layout management
Events and signals
Dialogs
Widgets
Widgets II
Drag & drop
Drawing
Custom widgets
The Tetris game
PySide
PySide is Python library to create cross-platform graphical user interfaces. It is a Python binding to the Qt framework. Qt library is one of the most powerful GUI libraries. It is developed by Digia and Qt Project.
Tweet
Related tutorials
There is a full Python tutorial on ZetCode. Tutorials for other GUI Python bindings include PyQt4 tutorial, wxPython tutorial, PyGTK tutorial and Tkinter tutorial.
Introduction to PySide toolkit
This is an introductory PySide tutorial. The purpose of this tutorial is to get you started with the PySide toolkit. The tutorial has been created and tested on Linux.
About PySide
PySide is Python library to create cross-platform graphical user interfaces. It is a Python binding to the Qt framework. Qt library is one of the most powerful GUI libraries. The official home site for PySide is qt-/wiki/PySide. The installation instructions can be found atpypi./pypi/PySide.
PySide is implemented as a set of Python modules. Currently it has 15 modules. These modules provide powerful tools to work with GUI, multimedia, XML documents, network or databases. In our tutorial, we will work with two of these modules. The QtGui and the QtCore modules.
The QtCore module contains the core non GUI functionality. This module is used for working with time, files and directories, various data types, streams, URLs, mime types, threads or processes. The QtGui module contains the ponents and related classes. These include for example buttons, windows, status bars, toolbars, sliders, bitmaps, colours, fonts etc.
PySide has been released after Nokia, the owner o
pyside学习教程 来自淘豆网www.taodocs.com转载请标明出处.