After my last post, I’ve been looking at a number of GUI tools that I can use to create a control system in Python. I finally settled on WXGlade, simply because it’s pretty much as close to what I am familiar with as I can get.
I say “as familiar with” because the way it works seems to be much the same way that web sites were once constructed – by using tables to handle the layout. This seems to be the way of things with this kind thing in the world of Python, and it seems to be that it works this way because that’s how people choose to work. So no dragging elements around like you would, say, in Xcode on a Mac when creating a UI for a phone or desktop machine.
I also took the time to make the Raspberry Pi work via VNC on a number of resolutions – my desktop Mac, and MacBook Pro (which both have the same screen resolution), my iPad, and my iPhone, so it can be controlled without being hooked into the television all the time. The phone is important as the screen is about the same size as the screen I intend to use with the camera eventually. It fits fairly well, but I know I need to do more to make it fit exactly. It will also tell me how it will work. I still intend the main control to be a physical shutter button, with LEDs for feedback, but some functions (uploading to Dropbox, for example), will be controlled via the GUI on the screen.
You’ll see in the screen shot above that there is the OS’s tool bar along the top of the screen (the big black cross on the right is the pointer). Since I took this, this now hides unless the pointer is at the tip of the screen (more space for the window!). There is also a progress bar that shows how far along the photo processing stage it is. This takes a little time (about 30 seconds), so an indication of what is going on is nice. The textured blue area will eventually show the finished card when all the processing is done.