PyQt for Desktop and Embedded Devices

Author: David Boddie
Date: 2009-07-09
Version: 1.1

Note: This text is marked up using reStructuredText formatting. It should be readable in a text editor but can be processed to produce versions of this document in other formats.

Contents

Introduction

This package contains the presentation program and examples for the PyQt for Desktop and Embedded Devices talk at PyCon Italia Tre, the third PyCon Italia conference, held in Florence from 8-10 May 2009.

Requirements

The presentation program requires Qt 4.5 and PyQt 4.5 to run - snapshots of PyQt 4.5 were used to create the presentation.

Some examples use features, such as WebKit and Phonon, that require Qt 4.4 and PyQt 4.4 or later.

Running the presentation and examples

Run the setup.py script supplied to set up the presentation program and slides:

python setup.py

This creates Python modules from the resource (.qrc) and user interface (.ui) files.

To view the presentation, run the main.pyw program in the Presentation directory. For example, at the command line, type the following:

python main.pyw

Use the left and right cursor keys to navigate between slides. Press Ctrl+Q to exit and Ctrl+P to create a PDF file of the slides in the current working directory.

The examples included in the presentation can be run separately. These can be found along with additional examples in the Examples directory.

Licenses

The files contained in this package, with the exception of some pictures, are provided under a modified three clause BSD license. Copyright information and the license text is provided in the LICENSE.txt file.

The default pictures used by the photos_rotated.py and photos_n800.py are Copyright (C) 2007, 2009 David Boddie and are licensed under the Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Norway License:

http://creativecommons.org/licenses/by-nc-nd/3.0/no/

An English translation can be found here:

http://creativecommons.org/licenses/by-nc-nd/3.0/no/deed.en

The weatherquery.py example obtains data from yr.no - a service provided by the Norwegian Meteorological Institute (met.no) and the Norwegian Broadcasting Corporation (NRK). See http://www.yr.no/verdata/1.3321307 for the terms of use of the yr.no weather service.

See each file for specific license information.