Public Member Functions | |
def | Activated (self) |
def | GetResources (self) |
![]() | |
def | Activated (self, mode="None") |
![]() | |
def | IsActive (self) |
Additional Inherited Members | |
![]() | |
command_name | |
doc | |
Detailed Description
GuiCommand for the Draft_ToggleContinueMode tool. When continue mode is active, any drawing tool that is terminated will automatically start again. This can be used to draw several objects one after the other in succession.
Member Function Documentation
◆ Activated()
def draftguitools.gui_togglemodes.ToggleContinueMode.Activated | ( | self | ) |
Execute when the command is called. It calls the `toggleContinue()` method of the `DraftToolbar` class.
Reimplemented from draftguitools.gui_base.GuiCommandSimplest.
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().
◆ GetResources()
def draftguitools.gui_togglemodes.ToggleContinueMode.GetResources | ( | self | ) |
Set icon, menu and tooltip.
References draftutils.translate.QT_TRANSLATE_NOOP.
The documentation for this class was generated from the following file:
- Sources/FreeCAD/src/Mod/Draft/draftguitools/gui_togglemodes.py