mrlukeparry / FreeCAD_sf_master

mirror of the FreeCAD sf.net git master branch. Clone this one if you want to start FreeCAD development!
Other
0 stars 6 forks source link

Two tool-path related updates #3

Closed andrewjrobinson closed 11 years ago

mrlukeparry commented 11 years ago

Looks interesting with respect to HTML. I need to try it out - is there an example of how to use this?

The only thing I suggest is that we don't hard code the html into the c++ source files and keep these has QT Resources embedded in the application.

andrewjrobinson commented 11 years ago

Hi Luke,

Sorry I was in a bit of a rush last night and should have explained it better.

HTML: this is just a sample that is loaded to make it look better and test the function that adds the html to the widget. It will be deleted once the widget is connected to the other parts of the workbench (when they are created). The HTML that is in the Python module can also be removed once we connect things together.

Usage: The dockwindow is just a UI component so it doesnt really do anything. Once the other code is there it will call the setToolPath() method on the dock window to update its display. The Python module needs to be wrapped in C++ which I will be working on next.

Cheers Andrew

On 8 November 2012 00:07, Luke Parry notifications@github.com wrote:

Looks interesting with respect to HTML. I need to try it out - is there an example of how to use this?

The only thing I suggest is that we don't hard code the html into the c++ source files and keep these has QT Resources embedded in the application.

— Reply to this email directly or view it on GitHubhttps://github.com/mrlukeparry/FreeCAD_sf_master/pull/3#issuecomment-10147590.