Python Forum

Full Version: Can someone point me in the right direction?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a little python experience but zero with creating a GUI. I've created a layout using QT designer - mostly just to have a plan really. it looks like this:
[Image: Untitled.png]
each button controls an external device via a relay on a GPIO pin on a raspberry pi. I have the code for each button worked out - power cycle and heat cycle run a constant loop, off and on do as they say on the button. my problem is i want to be able to have only one button in a given frame running at any one time, and run different cycles within the other frames - also at the same time.

How and where on earth do i start?


Thanks.
Here's a good write-up on importing qt Designer forms into pyqt:
http://pyqt.sourceforge.net/Docs/PyQt5/designer.html