Public Member Functions | |
def | Activated (self) |
def | GetResources (self) |
def | Activated (self, mode="None") |
Public Member Functions inherited from draftguitools.gui_base.GuiCommandSimplest | |
def | Activated (self) |
def | IsActive (self) |
Additional Inherited Members | |
Public Attributes inherited from draftguitools.gui_base.GuiCommandSimplest | |
command_name | |
doc | |
GuiCommand for the Draft_ToggleConstructionMode tool. When construction mode is active, the following objects created will be included in the construction group, and will be drawn with the specified color and properties.
def draftguitools.gui_togglemodes.ToggleConstructionMode.Activated | ( | self | ) |
Execute when the command is called. It calls the `toggle()` method of the construction button in the `DraftToolbar` class.
Reimplemented from draftguitools.gui_togglemodes.BaseMode.
References draftguitools.gui_togglemodes.ToggleConstructionMode.Activated().
Referenced by ArchStructure.CommandStructuralSystem.Activated(), draftguitools.gui_togglemodes.ToggleConstructionMode.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_togglemodes.ToggleConstructionMode.GetResources | ( | self | ) |
Set icon, menu and tooltip.
References draftutils.translate.QT_TRANSLATE_NOOP.