Page 1 of 1

Python Creating Guage

Posted: Sat Oct 01, 2016 12:09 pm
by Delboy82
Hi All


I creating a little program to monitor temperature and humidity and I would like python to create a GUI windows showing two Guages which update accordingly.

Could anyone provide a good tutorial on howto do this?

Example Guage
https://duckduckgo.com/?q=temp+guage+im ... 773355.jpg


I am new two python so any help would be appreciated.

Many thanks
Ric

Re: Python Creating Guage

Posted: Sun Oct 02, 2016 4:36 pm
by RogerW
Have a look at this link
viewtopic.php?f=38&t=134854&p=8977

You could use or adapt the meter classes to do what you need.

You need to put the two files (meter.py and trymeter.py) in the same directory and then run trymeter.

Re: Python Creating Guage

Posted: Sun Oct 02, 2016 6:26 pm
by Delboy82
Hi RogerW


Thanks for your response but unfortunately I could not find the files your referring to. Please could you let me know where to download them.

Thanks
Ric

Re: Python Creating Guage

Posted: Sun Oct 02, 2016 6:59 pm
by B.Goode
There is another post by @RogerW here which may help -

viewtopic.php?f=38&t=134854#p897766

(Looks like the previously supplied url might have got truncated, but it was trivial to track it down, Google is a great tool!)

Re: Python Creating Guage

Posted: Sun Oct 02, 2016 9:35 pm
by RogerW
Yes thats the one I meant. Not sure why my link whent wrong.

Re: Python Creating Guage

Posted: Mon Oct 03, 2016 2:41 pm
by MarkDH102
MyMeter.jpg
MyMeter.jpg (41.32 KiB) Viewed 926 times
And here's the gauge in action.
I've made it resizable and added min/max pointers.
It may not be to everyone's taste but it does for me!
Sorry about the poor quality of the image but I can't upload anything bigger than 64K

Re: Python Creating Guage

Posted: Mon Oct 03, 2016 6:52 pm
by Delboy82
Thanks guys that seems to of of answered my question I will now go away and have a play around.

:D :D

Thanks
Ric