pyqt


Create Simple GUI Applications with Python and Qt  gui

Create Simple GUI Applications with Python and Qt

Create Simple GUI Applications will show you how to use Python and Qt to do just that. This ebook was written to accompany the video tutorial course on Udemy, adding background and detail to the lectures, with more examples and reference documentation. However, it stands perfectly well alone as a ... Continue reading


Create Simple GUI Applications with Python and Qt  gui

Create Simple GUI Applications with Python and Qt

If you want to learn to build GUI applications with Python the learning curve is pretty steep. There is a lot you need to know just to get something to work. Many tutorials offer only screen casts and miss the simple concepts that actually matter. Like writing any code, successfully ... Continue reading


PyQtConfig

PyQtConfig

PyQtConfig: a simple API for handling, persisting and synchronising configuration within PyQt applications. This module was built initially as part of the Pathomx data analysis platform but spun out into a standalone module when it became clear it was quite useful. Continue reading


Gremlins in the Machine: Creating custom tools for the Pathomx data analysis platform  data-science

Pathomx is a workflow-based data analysis tool built on IPython. It began as a metabolomic-analysis toolkit, but has extended to support general data analysis workflows. It aims to be simple to use for non-experts while powerful enough for complex analysis tasks. Key to both of these goals is the ability ... Continue reading



Transmit extra data with signals in PyQt  gui

Signals are a neat feature of Qt that allow message-passing between different areas of your program. To use a signal you attach a function to be called in the event of the signal firing, usually accepting a small item of data about the signal state. However, there is a limitation: the signal can only emit the data it was designed to do. So for example, a QAction has a .triggered that fires when that particular action has been activated. Unfortunately the receiving connected function only receives one thing: checked=True or False. In other words, the receiving function has no way of knowing which action triggered it. This is usually fine. You can tie a particular action to a particular function. However, sometimes you want to trigger multiple actions off the same type of action, and treat them differently. Here’s a neat trick to do just that. Continue reading


cx_Freeze and PySide on Mac  gui

I’d had success using py2app for building Mac binaries for distribution but wanted to give cx_Freeze a go since it’s cross platform - allowing builds for Windows, Linux, and more. Unfortunately, attempting to build using cx_Freeze was resulting in errors: libpyside-python2.7.1.1.dylib: No such file or ... Continue reading