- Posts: 40
- Thank you received: 0
QTPYVCP Info on GcodeEditor
Here are some of my problems:
1) Files are not editable.
2) The find function works, but not replace.
3) The "Save As" function does not actually save a new file.
I connected a pushbutton to the slot "setEditable(bool)" but that didn't seem to change anything.
I appreciate your help.
Please Log in to join the conversation.
Please Log in to join the conversation.
Also, for the editor, I was trying to edit my own g code files that I had written, not locked files.
Please Log in to join the conversation.
Lcvette wrote: if you are trying to edit example gcode programs, such as 3dchips etc.. they are protected and the editor will not change them. try physically saving and renaming them in another folder and retest to see if your gcode editor works. we have it working great in probe basic, you could install that and see how the connections are setup.
Does it update with qtpyvcp of is there another branch to sync. My copy doesn't have any signals set for saving the file. I have gotten as far as getting the selected file into the plain text widget
I am able to edit in the gcode editor.
I set a button as checkable and a signal for when toggled set editable and I can edit.
I have not been able to successfully save it
Please Log in to join the conversation.
I was missing a signal
The set file name qstring
Gcodeeditor 2 signals
Attachment not found
Sorry for the crude pic
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Lcvette wrote: The latest version should be functional, however some test files in the examples folder are locked and cannot be saved.
Understood,
Save as is working properly for me since adding the signal I was missing
Please Log in to join the conversation.
Please Log in to join the conversation.
I had to make the button checkable to have it set edit mode on the gcode editor
Please Log in to join the conversation.
