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 | |
| modification_commands | |
| utility_commands_menu | |
| utility_commands_toolbar | |
The Draft Workbench definition.
| def InitGui.DraftWorkbench.Activated | ( | self | ) |
When entering the workbench.
Referenced by ArchStructure.CommandStructuralSystem.Activated(), 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(), draftguitools.gui_arcs.Arc_3Points.getPoint(), and ArchPanel.CommandPanel.getPoint().
| def InitGui.DraftWorkbench.ContextMenu | ( | self, | |
| recipient | |||
| ) |
Define an optional custom context menu.
References Gui::PythonBaseWorkbench.appendContextMenu(), FreeCADGuiInit.Workbench.appendContextMenu(), and InitGui.DraftWorkbench.context_commands.
| def InitGui.DraftWorkbench.Deactivated | ( | self | ) |
When quitting the workbench.
| def InitGui.DraftWorkbench.GetClassName | ( | self | ) |
Type of workbench.
References draftutils.translate.QT_TRANSLATE_NOOP.
| def InitGui.DraftWorkbench.Initialize | ( | self | ) |
When the workbench is first loaded.
| InitGui.DraftWorkbench.annotation_commands |
| InitGui.DraftWorkbench.context_commands |
Referenced by InitGui.DraftWorkbench.ContextMenu().
| InitGui.DraftWorkbench.drawing_commands |
| InitGui.DraftWorkbench.modification_commands |
| InitGui.DraftWorkbench.utility_commands_menu |
| InitGui.DraftWorkbench.utility_commands_toolbar |