Is it possible to write my own preference editor to for my own workbench in python like those for draft or openscad?
I have looked for an example (but still not found).
thank's for a hint.
How to create an preference editor tab
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: How to create an preference editor tab
please have a look at the .ui files in the resource directories of those modules.
https://github.com/FreeCAD/FreeCAD_sf_m ... sources/ui
They are only present in the repository and not in the binary distribution of FreeCAD.You can view them in the QtDesigner, but i prefer to edit them in a text editor.
https://github.com/FreeCAD/FreeCAD_sf_m ... sources/ui
They are only present in the repository and not in the binary distribution of FreeCAD.You can view them in the QtDesigner, but i prefer to edit them in a text editor.