Public Member Functions | |
def | action (self, arg) |
def | Activated (self) |
def | create (self) |
def | finish (self, closed=False, cont=False) |
def | GetResources (self) |
def | numericInput (self, numx, numy, numz) |
def | setmode (self, i) |
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) |
Public Attributes | |
call | |
ghost | |
labeltype | |
name | |
point | |
sel | |
Public Attributes inherited from draftguitools.gui_base_original.Creator | |
support | |
Public Attributes inherited from draftguitools.gui_base_original.DraftTool | |
call | |
commitList | |
constrain | |
doc | |
extendedCopy | |
featureName | |
node | |
obj | |
planetrack | |
point | |
pos | |
support | |
ui | |
view | |
Detailed Description
Gui Command for the Label tool.
Member Function Documentation
◆ action()
def draftguitools.gui_labels.Label.action | ( | self, | |
arg | |||
) |
Handle the 3D scene events. This is installed as an EventCallback in the Inventor view. Parameters ---------- arg: dict Dictionary with strings that indicates the type of event received from the 3D view.
References Gui::ViewProviderBuilder.create(), Base::Persistence.create(), Gui::OpenGLBuffer.create(), Gui::Dialog::AboutDialogFactory.create(), Gui::OpenGLMultiBuffer.create(), Base::Exception.create(), draftguitools.gui_labels.Label.create(), Base::BaseClass.create(), Base::AbortException.create(), ArchWindow._ArchWindowTaskPanel.create(), zipios::GZIPOutputStreambuf.finish(), zipios::GZIPOutputStream.finish(), Gui::SoFCDB.finish(), zipios::ZipOutputStreambuf.finish(), Gui::SoFCBackgroundGradient.finish(), Gui::SoFCColorLegend.finish(), zipios::ZipOutputStream.finish(), Gui::SoFCColorGradient.finish(), Gui::SoFCColorBarBase.finish(), Gui::SoFCHighlightAction.finish(), Gui::SoFCUnifiedSelection.finish(), Gui::SoFCSelection.finish(), Gui::SoFCSelectionAction.finish(), draftguitools.gui_arcs.Arc.finish(), Gui::SoFCBoundingBox.finish(), Gui::SoFCEnableSelectionAction.finish(), Gui::SoSkipBoundingGroup.finish(), Gui::SoFCEnableHighlightAction.finish(), Gui::SoFCColorBar.finish(), Gui::SoFCPathAnnotation.finish(), draftguitools.gui_base_original.DraftTool.finish(), Gui::SoFCSelectionColorAction.finish(), Gui::SoFCSeparator.finish(), Gui::SoFCHighlightColorAction.finish(), draftguitools.gui_base.GuiCommandBase.finish(), Gui::SoFCSelectionRoot.finish(), Gui::SoFCDocumentAction.finish(), Gui::ManualAlignment.finish(), Gui::SoFCDocumentObjectAction.finish(), Gui::SoUpdateVBOAction.finish(), DraftGui.DraftToolBar.finish(), ifc4.ifcworktime.finish, draftguitools.gui_labels.Label.ghost, draftguitools.gui_drawing.Drawing.ghost, draftguitools.gui_edit.Edit.ghost, Gui::Dialog::Clipping::Private.node, draftguitools.gui_base_original.DraftTool.node, Gui::AxisOrigin.node, uvPtStruct.node, StdMeshers_Quadrangle_2D::ForcedPoint.node, draftguitools.gui_arcs.Arc.node, draftguitools.gui_base_original.DraftTool.planetrack, draftguitools.gui_base.GuiCommandBase.planetrack, Gui::PickedPoint.point, FaceQuadStruct::Side::Contact.point, Gui::DAG::VertexProperty.point, draftguitools.gui_base_original.DraftTool.point, draftguitools.gui_arcs.Arc.point, test.ui, Gui::Dialog::Clipping::Private.ui, Gui::Dialog::DlgAddProperty.ui, Gui::TaskBoxPosition.ui, Gui::Dialog::DlgProjectInformationImp.ui, Gui::Dialog::DlgGeneralImp.ui, Gui::Dialog::DlgSettings3DViewImp.ui, Gui::ElementColors::Private.ui, Gui::Dialog::TextureMapping.ui, Gui::Dialog::DlgSettingsNavigation.ui, Gui::Dialog::DlgCustomCommandsImp.ui, Gui::Dialog::DlgSettingsEditorImp.ui, Gui::Dialog::DlgDisplayPropertiesImp::Private.ui, Gui::Dialog::DlgParameterFind.ui, Gui::TaskBoxAngle.ui, Gui::Dialog::DlgCustomKeyboardImp.ui, Gui::Dialog::DlgWorkbenchesImp.ui, Gui::Dialog::DlgMacroExecuteImp.ui, Gui::TaskView::TaskAppearance.ui, Gui::Dialog::DlgInputDialogImp.ui, Gui::Dialog::DlgMaterialPropertiesImp.ui, Gui::Dialog::DlgExpressionInput.ui, Gui::Dialog::DlgMacroRecordImp.ui, Gui::Dialog::DlgSettingsColorGradientImp.ui, Gui::Dialog::DemoMode.ui, Gui::DlgObjectSelection.ui, Gui::Dialog::DlgCustomizeSpNavSettings.ui, Gui::Dialog::DlgProjectUtility.ui, Gui::Dialog::DlgInspector.ui, Gui::Dialog::DlgActivateWindowImp.ui, Gui::Dialog::DlgCustomActionsImp.ui, Gui::Dialog::DlgReportViewImp.ui, Gui::Dialog::DlgSettingsMacroImp.ui, Gui::Dialog::DlgSettingsViewColor.ui, Gui::Dialog::Placement.ui, Gui::Dialog::DlgSettingsUnitsImp.ui, Gui::Dialog::DownloadManager.ui, Gui::Dialog::DlgSettingsDocumentImp.ui, Gui::TaskView::TaskSelectLinkProperty.ui, Gui::Dialog::DlgOnlineHelpImp.ui, Gui::Dialog::DlgPropertyLink.ui, Gui::Dialog::DlgRunExternal.ui, Gui::Dialog::DlgUnitsCalculator.ui, Gui::Dialog::IconDialog.ui, Gui::Dialog::DlgParameterImp.ui, Gui::Dialog::DlgCustomToolbars.ui, draftguitools.gui_base_original.DraftTool.ui, Gui::Dialog::DlgSettingsImageImp.ui, Gui::Dialog::DlgCheckableMessageBoxPrivate.ui, Gui::Dialog::AboutDialog.ui, Gui::Dialog::Transform.ui, Gui::Dialog::DlgPreferencesImp.ui, Gui::Dialog::DocumentRecoveryPrivate.ui, Gui::CheckListDialog.ui, Gui::LocationDialogImp< Ui >.ui, Gui::LocationImpUi< Ui >.ui, and Gui::LocationDialogUiImp.ui.
◆ Activated()
def draftguitools.gui_labels.Label.Activated | ( | self | ) |
Execute when the command is called.
◆ create()
def draftguitools.gui_labels.Label.create | ( | self | ) |
Create the actual object.
References DraftVecUtils.angle(), zipios::GZIPOutputStreambuf.finish(), zipios::GZIPOutputStream.finish(), Gui::SoFCDB.finish(), Gui::SoFCBackgroundGradient.finish(), zipios::ZipOutputStreambuf.finish(), Gui::SoFCColorLegend.finish(), Gui::SoFCColorGradient.finish(), zipios::ZipOutputStream.finish(), Gui::SoFCColorBarBase.finish(), Gui::SoFCHighlightAction.finish(), Gui::SoFCUnifiedSelection.finish(), Gui::SoFCSelection.finish(), Gui::SoFCSelectionAction.finish(), draftguitools.gui_arcs.Arc.finish(), Gui::SoFCBoundingBox.finish(), Gui::SoFCEnableSelectionAction.finish(), Gui::SoSkipBoundingGroup.finish(), Gui::SoFCEnableHighlightAction.finish(), Gui::SoFCColorBar.finish(), Gui::SoFCPathAnnotation.finish(), draftguitools.gui_base_original.DraftTool.finish(), Gui::SoFCSelectionColorAction.finish(), Gui::SoFCSeparator.finish(), Gui::SoFCHighlightColorAction.finish(), draftguitools.gui_base.GuiCommandBase.finish(), Gui::SoFCSelectionRoot.finish(), Gui::SoFCDocumentAction.finish(), Gui::ManualAlignment.finish(), Gui::SoFCDocumentObjectAction.finish(), Gui::SoUpdateVBOAction.finish(), DraftGui.DraftToolBar.finish(), ifc4.ifcworktime.finish, draftguitools.gui_labels.Label.labeltype, Gui::Dialog::Clipping::Private.node, draftguitools.gui_base_original.DraftTool.node, Gui::AxisOrigin.node, uvPtStruct.node, StdMeshers_Quadrangle_2D::ForcedPoint.node, draftguitools.gui_arcs.Arc.node, draftguitools.gui_labels.Label.sel, and ArchWindow._CommandWindow.sel.
Referenced by draftguitools.gui_labels.Label.action().
◆ finish()
def draftguitools.gui_labels.Label.finish | ( | self, | |
closed = False , |
|||
cont = False |
|||
) |
Finish the command.
References draftguitools.gui_labels.Label.ghost, draftguitools.gui_drawing.Drawing.ghost, and draftguitools.gui_edit.Edit.ghost.
Referenced by drafttaskpanels.task_polararray.TaskPanelPolarArray.accept(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.accept(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.accept(), draftguitools.gui_selectplane.Draft_SelectPlane.action(), draftguitools.gui_selectplane.Draft_SelectPlane.checkSelection(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickAlign(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickAuto(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickCenter(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickFront(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickMove(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickPrevious(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickSide(), draftguitools.gui_selectplane.Draft_SelectPlane.onClickTop(), draftguitools.gui_selectplane.Draft_SelectPlane.reject(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.reject(), drafttaskpanels.task_polararray.TaskPanelPolarArray.reject(), and drafttaskpanels.task_circulararray.TaskPanelCircularArray.reject().
◆ GetResources()
def draftguitools.gui_labels.Label.GetResources | ( | self | ) |
Set icon, menu and tooltip.
◆ numericInput()
def draftguitools.gui_labels.Label.numericInput | ( | self, | |
numx, | |||
numy, | |||
numz | |||
) |
Validate the entry fields in the user interface. This function is called by the toolbar or taskpanel interface when valid x, y, and z have been entered in the input fields.
Referenced by draftguitools.gui_scale.Scale.handle_mouse_click_event().
◆ setmode()
def draftguitools.gui_labels.Label.setmode | ( | self, | |
i | |||
) |
Set the type of label, if it is associated to an object.
References draftguitools.gui_labels.Label.labeltype.
Member Data Documentation
◆ call
draftguitools.gui_labels.Label.call |
◆ ghost
draftguitools.gui_labels.Label.ghost |
Referenced by draftguitools.gui_mirror.Mirror.action(), draftguitools.gui_offset.Offset.action(), draftguitools.gui_labels.Label.action(), draftguitools.gui_labels.Label.finish(), draftguitools.gui_mirror.Mirror.finish(), draftguitools.gui_offset.Offset.finish(), draftguitools.gui_trimex.Trimex.finish(), draftguitools.gui_offset.Offset.numericRadius(), draftguitools.gui_trimex.Trimex.redraw(), and draftguitools.gui_trimex.Trimex.trimObject().
◆ labeltype
draftguitools.gui_labels.Label.labeltype |
Referenced by draftguitools.gui_labels.Label.create(), and draftguitools.gui_labels.Label.setmode().
◆ name
draftguitools.gui_labels.Label.name |
Referenced by prototype.Node.addtofreecad(), drafttaskpanels.task_polararray.TaskPanelPolarArray.create_object(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.create_object(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.create_object(), gzip_utf8.GzipFile.filename(), ifc4.ifcapproval.hasidentifierorname(), femsolver.elmer.sifio.Section.keys(), automotive_design.si_unit.named_unit_dimensions(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.output(), prototype.Node.pprint(), prototype.Node.pprint2(), draftguitools.gui_pointarray.PointArray.proceed(), draftguitools.gui_patharray.PathArray.proceed(), PathScripts.PathSetupSheetGui.OpTaskPanel.propertyGroup(), PathScripts.PathSetupSheetGui.OpTaskPanel.propertyName(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.reject(), drafttaskpanels.task_polararray.TaskPanelPolarArray.reject(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.reject(), ifc2x3.ifcexternalreference.wr1(), ifc4.ifcexternalreference.wr1(), ifc2x3.ifcdocumentreference.wr1(), ifc4.ifcdocumentreference.wr1(), and automotive_design.general_property_association.wr2().
◆ point
draftguitools.gui_labels.Label.point |
Referenced by drafttaskpanels.task_shapestring.ShapeStringTaskPanel.action(), draftguitools.gui_orthoarray.OrthoArray.click(), draftguitools.gui_polararray.PolarArray.click(), PathScripts.PathGetPoint.TaskPanel.getPoint(), draftguitools.gui_polararray.PolarArray.move(), and PathScripts.PathGetPoint.TaskPanel.updatePoint().
◆ sel
draftguitools.gui_labels.Label.sel |
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_labels.py