Tutorial delivered at PyCon Ireland 2011.
This was a quick introduction to developing a GUI using PyQt.
I used the sphinx-build command from the Sphinx
documentation project as an example.
The basic command for generating HTML documentation from source
files is
sphinx-build sourcedir outdir
A GUI(dialog) was designed using Qt Designer to replicate the functionality
of the command above. This was then converted into Python code and then a main
application was written to make use of the dialog.

Slides for the talk: slides.pdf
Code repository: https://github.com/vkvn/sphinx-build-qt/
You can clone the repo using
git clone git://github.com/vkvn/sphinx-build-qt.git
This code works unaltered on Windows too. Thanks to Qt! You would need to have the
C:\Python2*\Scripts in your PATH or wherever you’ve got sphinx-build installed.
Advertisement