fieldOfView / Cura-CustomJobPrefix

A Cura plugin that lets the user set a custom print job prefix
GNU Affero General Public License v3.0
24 stars 5 forks source link

Add text field to copy variable names #11

Closed CWempe closed 4 years ago

CWempe commented 4 years ago

It would be nice if there was an easy way to copy the variable names you want to use.

Currently you cannot select and Ctrl+C the variable names in the dialog.

image

If this is not possible in the dialog, maybe add a list of the available variables to the README.md and add a link in the dialog.

For now I use the source code.
https://github.com/fieldOfView/Cura-CustomJobPrefix/blob/master/PrintInformationPatches.py#L75

fieldOfView commented 4 years ago

In the above linked commit, I have made the text selectable. I hope that in the future I'll have a better solution where eg clicking on the text will insert the replacementpattern into the textfield.