draftguitools.gui_lineops.UndoLine Class Reference

Public Member Functions

def Activated (self)
 
def GetResources (self)
 
- Public Member Functions inherited from draftguitools.gui_lineops.LineAction
def Activated (self, action="None")
 
- Public Member Functions inherited from draftguitools.gui_base.GuiCommandSimplest
def IsActive (self)
 

Additional Inherited Members

- Public Attributes inherited from draftguitools.gui_base.GuiCommandSimplest
 command_name
 
 doc
 

Detailed Description

GuiCommand to undo the last drawn segment of a line.

Member Function Documentation

◆ Activated()

def draftguitools.gui_lineops.UndoLine.Activated (   self)
Execute when the command is called.

It calls the `undolast` method of the active Draft command.

Reimplemented from draftguitools.gui_base.GuiCommandSimplest.

◆ GetResources()

def draftguitools.gui_lineops.UndoLine.GetResources (   self)
Set icon, menu and tooltip.

The documentation for this class was generated from the following file:
  • src/Mod/Draft/draftguitools/gui_lineops.py