QtPyVCP - GCodeEditor - Widget Styling - Please review and comment.

More
6 years 10 months ago #153292 by Donb9261
It should. Kurt is referencing where the correct file to edit is. If done by his masterful method, you would then be able to run a pip uninstall and then a pip install to rewrite the .local set avoiding the need to edit the .local copies completely and limiting file read mistakes and potential crashes. Working copy separation from your dev copy.

I will try my best to post a full explanation using his instructions in a step by step soon. Until then as long as it works for you now coolness...

Please Log in to join the conversation.

More
6 years 10 months ago #153314 by Leon82
i encountered this trying to safe from inside the vcp

Traceback (most recent call last):
File "/home/leon/.local/lib/python2.7/site-packages/qtpyvcp/widgets/input_widgets/gcode_editor.py", line 459, in save
self.filename = QtCore.QFileInfo(path)
NameError: global name 'QtCore' is not defined


edit to add,

looks like the @slot save is different between the two

Please Log in to join the conversation.

More
6 years 10 months ago #153323 by Donb9261
It is. One is dependent on the file widget and assumes you have the file name already populated into a label.

I will send my slot that works with either.

Please Log in to join the conversation.

More
6 years 10 months ago #153359 by hottabich
I use your GcodeEditor file and your run from line method, everything works thank you very much and Happy New Year !!!

Please Log in to join the conversation.

Time to create page: 0.040 seconds
Powered by Kunena Forum