Public Member Functions | |
def | Activated (self) |
def | GetResources (self) |
def | IsActive (self) |
def | Activated (self, name="None", noplanesetup=False, is_subtool=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) |
Public Attributes | |
running | |
Public Attributes inherited from draftguitools.gui_base_original.Modifier | |
copymode | |
Public Attributes inherited from draftguitools.gui_base_original.DraftTool | |
call | |
commitList | |
constrain | |
doc | |
extendedCopy | |
featureName | |
node | |
obj | |
planetrack | |
point | |
pos | |
support | |
ui | |
view | |
GuiCommand to delete a point to a line being drawn.
def draftguitools.gui_line_add_delete.DelPoint.Activated | ( | self | ) |
Execute when the command is called.
Reimplemented from draftguitools.gui_base_original.Modifier.
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 draftguitools.gui_line_add_delete.DelPoint.GetResources | ( | self | ) |
Set icon, menu and tooltip.
References draftutils.translate.QT_TRANSLATE_NOOP.
def draftguitools.gui_line_add_delete.DelPoint.IsActive | ( | self | ) |
Return True when there is selection and the command is active.
Reimplemented from draftguitools.gui_base_original.DraftTool.
draftguitools.gui_line_add_delete.DelPoint.running |
Referenced by draftguitools.gui_edit.Edit.Activated(), draftguitools.gui_wire2spline.WireToBSpline.Activated(), draftguitools.gui_edit.Edit.finish(), draftguitools.gui_offset.Offset.finish(), draftguitools.gui_snapper.Snapper.off(), ArchNesting.Nester.run(), draftguitools.gui_snapper.Snapper.snap(), draftguitools.gui_snapper.Snapper.snapToObject(), femsolver.task.Task.start(), ArchNesting.Nester.stop(), and ArchNesting.Nester.update().