QtPyVCP - GCodeEditor - Widget Styling - Please review and comment.
27 Dec 2019 15:59 #153292
by Donb9261
Replied by Donb9261 on topic QtPyVCP - GCodeEditor - Widget Styling - Please review and comment.
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...
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 or Create an account to join the conversation.
27 Dec 2019 21:02 - 27 Dec 2019 21:17 #153314
by Leon82
Replied by Leon82 on topic QtPyVCP - GCodeEditor - Widget Styling - Please review and comment.
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
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
Last edit: 27 Dec 2019 21:17 by Leon82.
Please Log in or Create an account to join the conversation.
27 Dec 2019 22:01 #153323
by Donb9261
Replied by Donb9261 on topic QtPyVCP - GCodeEditor - Widget Styling - Please review and comment.
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.
I will send my slot that works with either.
The following user(s) said Thank You: hottabich
Please Log in or Create an account to join the conversation.
28 Dec 2019 08:41 - 28 Dec 2019 08:42 #153359
by hottabich
Replied by hottabich on topic QtPyVCP - GCodeEditor - Widget Styling - Please review and comment.
I use your GcodeEditor file and your run from line method, everything works thank you very much and Happy New Year !!!
Last edit: 28 Dec 2019 08:42 by hottabich.
Please Log in or Create an account to join the conversation.
Time to create page: 0.074 seconds