Files
create/src/Mod/Draft/draftguitools
vocx-fc 439d021dd7 Draft: Snapper class with new gui_trackers module
Also change the imports in `DraftFillet.py`
and `DraftEdit.py` so the trackers are found.
2020-03-23 12:14:33 +01:00
..

2020 February

These files define the "GuiCommands", that is, classes called in a graphical way through either buttons, menu entries, or context actions. They don't define the graphical interfaces themselves, they just setup tools that connect with FreeCAD's C++ code.

These tools should be split from the big DraftTools.py module. The classes defined here internally use the GUI-less functions defined in Draft.py, or in the newer modules under draftobjects/.

These tools are loaded by InitGui.py, and thus require the graphical interface to exist.

Those commands that require a "task panel" call the respective module and class in drafttaskpanels/. The task panel interfaces themselves are defined inside the Resources/ui/ files created with QtCreator.

For more information see the thread: [Discussion] Splitting Draft tools into their own modules