draftguitools.gui_lineslope.LineSlope Class Reference
Public Member Functions | |
| def | accept (self) |
| def | Activated (self) |
| def | GetResources (self) |
Public Member Functions inherited from draftguitools.gui_base.GuiCommandNeedsSelection | |
| def | IsActive (self) |
Public Attributes | |
| spinbox | |
Public Attributes inherited from draftguitools.gui_base.GuiCommandSimplest | |
| command_name | |
| doc | |
Detailed Description
Gui Command for the Line slope tool. For a line in the XY plane, it changes the height of one of its points to create a sloped line. To Do ----- Make it work also with lines lying on the YZ and XZ planes, or in an arbitrary plane, for which the normal is known.
Member Function Documentation
◆ accept()
| def draftguitools.gui_lineslope.LineSlope.accept | ( | self | ) |
Execute when clicking the OK button or pressing Enter key. It changes the slope of the line that lies on the XY plane. TODO: make it work also with lines lying on the YZ and XZ planes.
References Gui::GraphvizView.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, ExpressionCompleterModel::Info.doc, App::RelabelDocumentExpressionVisitor.doc, App::DynamicProperty::PropData.doc, App::LinkBaseExtension::PropInfo.doc, ItemInfo.doc, ItemInfo2.doc, importIFClegacy.IfcEntity.doc, and draftguitools.gui_lineslope.LineSlope.spinbox.
◆ Activated()
| def draftguitools.gui_lineslope.LineSlope.Activated | ( | self | ) |
Execute when the command is called.
Reimplemented from draftguitools.gui_base.GuiCommandSimplest.
◆ GetResources()
| def draftguitools.gui_lineslope.LineSlope.GetResources | ( | self | ) |
Set icon, menu and tooltip.
Member Data Documentation
◆ spinbox
| draftguitools.gui_lineslope.LineSlope.spinbox |
Referenced by draftguitools.gui_lineslope.LineSlope.accept().
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_lineslope.py
Public Member Functions inherited from
1.8.17