Public Member Functions | |
def | Activated (self) |
def | ContextMenu (self, recipient) |
def | Deactivated (self) |
def | GetClassName (self) |
def | Initialize (self) |
Public Attributes | |
annotation_commands | |
context_commands | |
drawing_commands | |
line_commands | |
modification_commands | |
utility_commands | |
utility_small | |
Detailed Description
The Draft Workbench definition.
Member Function Documentation
◆ Activated()
def InitGui.DraftWorkbench.Activated | ( | self | ) |
When entering the workbench.
Referenced by draftguitools.gui_arcs.Arc.finish(), draftguitools.gui_beziers.BezCurve.finish(), draftguitools.gui_beziers.CubicBezCurve.finish(), draftguitools.gui_ellipses.Ellipse.finish(), draftguitools.gui_lines.Line.finish(), draftguitools.gui_mirror.Mirror.finish(), draftguitools.gui_move.Move.finish(), draftguitools.gui_polygons.Polygon.finish(), draftguitools.gui_rectangles.Rectangle.finish(), draftguitools.gui_rotate.Rotate.finish(), draftguitools.gui_splines.BSpline.finish(), draftguitools.gui_texts.Text.finish(), draftguitools.gui_points.Point.finish(), draftguitools.gui_shapestrings.ShapeString.finish(), and ArchPanel.CommandPanel.getPoint().
◆ ContextMenu()
def InitGui.DraftWorkbench.ContextMenu | ( | self, | |
recipient | |||
) |
Define an optional custom context menu.
References Gui::PythonBaseWorkbench.appendContextMenu(), Gui::PythonWorkbenchPy.appendContextMenu(), FreeCADGuiInit.Workbench.appendContextMenu(), InitGui.DraftWorkbench.context_commands, InitGui.DraftWorkbench.drawing_commands, InitGui.DraftWorkbench.line_commands, and InitGui.DraftWorkbench.modification_commands.
◆ Deactivated()
def InitGui.DraftWorkbench.Deactivated | ( | self | ) |
When quitting the workbench.
◆ GetClassName()
def InitGui.DraftWorkbench.GetClassName | ( | self | ) |
Type of workbench.
References draftutils.translate.QT_TRANSLATE_NOOP.
◆ Initialize()
def InitGui.DraftWorkbench.Initialize | ( | self | ) |
When the workbench is first loaded.
References draftutils.translate.QT_TRANSLATE_NOOP.
Member Data Documentation
◆ annotation_commands
InitGui.DraftWorkbench.annotation_commands |
◆ context_commands
InitGui.DraftWorkbench.context_commands |
Referenced by InitGui.DraftWorkbench.ContextMenu().
◆ drawing_commands
InitGui.DraftWorkbench.drawing_commands |
Referenced by InitGui.DraftWorkbench.ContextMenu().
◆ line_commands
InitGui.DraftWorkbench.line_commands |
Referenced by InitGui.DraftWorkbench.ContextMenu().
◆ modification_commands
InitGui.DraftWorkbench.modification_commands |
Referenced by InitGui.DraftWorkbench.ContextMenu().
◆ utility_commands
InitGui.DraftWorkbench.utility_commands |
◆ utility_small
InitGui.DraftWorkbench.utility_small |
The documentation for this class was generated from the following file:
- Sources/FreeCAD/src/Mod/Draft/InitGui.py