MTK GUI

Added by Jeremy Wright almost 9 years ago

I've put some thought into an MTK GUI, and I may have an idea. Building a Jupyter based FreeCAD module would be fairly similar to what I did when building the CadQuery module. The CadQuery module starts a PyQode backbend server, so Jupyter's server shouldn't be a problem to start. I also would expect we could embed the libraries and resources in the module so that installation would be simplified.

Getting the Qt web view to work properly with Jupyter might be a challenge, I'm not sure.


Replies (6)

RE: MTK GUI - Added by Jeremy Wright almost 9 years ago

Poked around with the GUI design a little bit in Qt Creator to see what I'd be getting myself into if we do a new IPython-based GUI in a future sprint.

This one is done in C++, but I would convert it to PySide. The convenience of Qt Creator was just too much to pass up for a quick and dirty pass. It also gives me the foundation to use when converting to PySide. The Code Editor would house PyQode, which is the Qt/PySide based editor that was used for the CadQuery FreeCAD module. The IPython Editor would at least start out as a web pane displaying the Jupyter front-end.

RE: MTK GUI - Added by J. Simmons almost 9 years ago

Nice. I like it.

RE: MTK GUI - Added by Jeremy Wright almost 9 years ago

The Code and IPython editor panes are separate subwindows, and you can add as many of each as you want through the File menu. That provides a lot of flexibility in how MTK can be used.

RE: MTK GUI - Added by J. Simmons almost 9 years ago

Good idea. It might be interesting later on to have a couple of pre-set modes if we find there are common use patterns.

RE: MTK GUI - Added by Jeremy Wright almost 9 years ago

I've added a 'Modes' submenu under the 'Window' menu.

(1-6/6)