kliment/Printrun — pull request #286 by iXce (2012-09-10 11:37:35+00:00)
Title: GUI creation split

This pull requests moves most of the GUI creation which was previously in the Pronterface::popwindow() function into a set of classes in printrun/gui.py. Pronterface now inherits from printrun/gui.py:MainWindow instead of wx.Frame, and the popwindow() function was replaced by MainWindow::createGui().

The classes are basically wrappers around previously existing containers. I noted that the left pane was quite hard to work with (it's pretty much a single grid). Splitting it into several containers could be nicer to work with (like, 1 for the stop motors/speed settings, 1 for the XYZ controls, 1 for thermal/extrusion control).

I also factored the buttons creation, and replaced a bunch of packs of 3 or 4 code lines by oneliners.

Thanks to cakeller98 for the heavy testing :)