draftguitools.gui_lines.Wire Class Reference

Public Member Functions

def Activated (self)
def GetResources (self)
- Public Member Functions inherited from draftguitools.gui_lines.Line
def action (self, arg)
def Activated (self, name=translate("draft", "Line"))
def drawSegment (self, point)
def finish (self, closed=False, cont=False)
def numericInput (self, numx, numy, numz)
def orientWP (self)
def removeTemporaryObject (self)
def undolast (self)
def wipe (self)
- Public Member Functions inherited from draftguitools.gui_base_original.Creator
def Activated (self, name="None", noplanesetup=False)
- Public Member Functions inherited from draftguitools.gui_base_original.DraftTool
def Activated (self, name="None", noplanesetup=False, is_subtool=False)
def commit (self, name, func)
def finish (self, close=False)
def getStrings (self, addrot=None)
def IsActive (self)

Additional Inherited Members

- Public Attributes inherited from draftguitools.gui_lines.Line
- Public Attributes inherited from draftguitools.gui_base_original.Creator
- Public Attributes inherited from draftguitools.gui_base_original.DraftTool

Detailed Description

Gui command for the Wire or Polyline tool.

It inherits the `Line` class, and calls essentially the same code,
only this time the `wiremode` is set to `True`,
so we are allowed to place more than two points.

Member Function Documentation

◆ Activated()

◆ GetResources()

def draftguitools.gui_lines.Wire.GetResources (   self)
Set icon, menu and tooltip.

Reimplemented from draftguitools.gui_lines.Line.

References draftutils.translate.QT_TRANSLATE_NOOP.

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