FacebookTwitterDiggDeliciousStumbleuponGoogle BookmarksRedditNewsvineTechnoratiMixxPinterest
Pin It

So I decided I needed to learn #python to where I can write, not just hack it. So I needed a project, and decided to rewrite the #PiClock on the #RaspberryPi. I used PyQt as the gui.

b_200_200_16777215_00_images_20150402_231238.jpg

The previous version was built using a static web page, stored on the file system.  It made extensive use of JQuery, and Ajax.  It took me a while to decide on the gui.  I had to do several proof of concepts trying Tk, Gtk, wx and finally Qt.   I settled on Qt because it was the only one that supported transparent backgrounds, and was supported on the #RaspberryPi, but let me develop it on my Windows PC.

 

b_200_200_16777215_00_images_20150404_165441.jpg

After about a week, sneaking in spare time here and there, I ended up with a good result, and a few extra features: Auto Scaling, Multi-Platform.  These pictures show it running on the Original PiClock #RaspberryPi Model B, a Windows Desktop, and a #RaspberryPi2 Model B with a 7" hdmi display.

b_200_200_16777215_00_images_20150404_165410.jpgb_200_200_16777215_00_images_20150404_165315.jpg