Public Member Functions | |
def | Activated (self) |
def | createDefaultPage (self) |
def | GetResources (self) |
def | proceed (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 | |
call | |
ghost | |
page | |
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 | |
Gui Command for the Drawing tool. This command should be considered obsolete as the Drawing Workbench is obsolete since 0.17.
def draftguitools.gui_drawing.Drawing.Activated | ( | self | ) |
Execute when the command is called.
Reimplemented from draftguitools.gui_base_original.Modifier.
References draftguitools.gui_drawing.Drawing.Activated().
Referenced by ArchStructure.CommandStructuralSystem.Activated(), draftguitools.gui_drawing.Drawing.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_drawing.Drawing.createDefaultPage | ( | self | ) |
Create a default Drawing Workbench page.
References App::DynamicProperty::PropData.doc, App::RelabelDocumentExpressionVisitor.doc, App::LinkBaseExtension::PropInfo.doc, Py::PythonType.doc(), ExpressionCompleterModel::Info.doc, Gui::GraphvizView.doc, ItemInfo.doc, ItemInfo2.doc, importIFClegacy.IfcEntity.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, draftguitools.gui_base.GuiCommandBase.doc, draftguitools.gui_base_original.DraftTool.doc, drafttests.test_airfoildat.DraftAirfoilDAT.doc, drafttests.test_creation.DraftCreation.doc, drafttests.test_dwg.DraftDWG.doc, drafttests.test_dxf.DraftDXF.doc, drafttests.test_modification.DraftModification.doc, drafttests.test_oca.DraftOCA.doc, drafttests.test_pivy.DraftPivy.doc, drafttests.test_svg.DraftSVG.doc, WorkingPlane.Plane.doc, Import::ImportOCAF.doc, Import::ImportXCAF.doc, Import::ImportOCAFAssembly.doc, MeshPartGui::Mesh2ShapeGmsh::Private.doc, PartGui::SectionCut.doc, PartGui::FaceColors::Private.doc, PartDesignGui::ComboLinks.doc, Mod.PartDesign.WizardShaft.Shaft.Shaft.doc, Mod.PartDesign.WizardShaft.WizardShaft.TaskWizardShaft.doc, PathTests.TestCentroidPost.TestCentroidPost.doc, PathTests.TestGrblPost.TestGrblPost.doc, PathTests.TestLinuxCNCPost.TestLinuxCNCPost.doc, PathTests.TestMach3Mach4Post.TestMach3Mach4Post.doc, PathTests.TestPathAdaptive.TestPathAdaptive.doc, PathTests.TestPathDrillable.TestPathDrillable.doc, PathTests.TestPathHelix.TestPathHelix.doc, PathTests.TestPathHelpers.TestPathHelpers.doc, PathTests.TestPathPost.TestBuildPostList.doc, PathTests.TestPathPost.TestOutputNameSubstitution.doc, PathTests.TestPathPropertyBag.TestPathPropertyBag.doc, PathTests.TestPathSetupSheet.TestPathSetupSheet.doc, PathTests.TestPathStock.TestPathStock.doc, PathTests.TestPathToolController.TestPathToolController.doc, PathTests.TestPathUtil.TestPathUtil.doc, PathTests.TestRefactoredCentroidPost.TestRefactoredCentroidPost.doc, PathTests.TestRefactoredGrblPost.TestRefactoredGrblPost.doc, PathTests.TestRefactoredLinuxCNCPost.TestRefactoredLinuxCNCPost.doc, PathTests.TestRefactoredMach3Mach4Post.TestRefactoredMach3Mach4Post.doc, PathTests.TestRefactoredTestPost.TestRefactoredTestPost.doc, Sandbox::CustomAddObjectEvent.doc, Sandbox::CustomRemoveObjectEvent.doc, Sandbox::CustomRecomputeEvent.doc, Sandbox::DocumentSaverThread.doc, Mod.Show.SceneDetail.SceneDetail.doc, Mod.Show.SceneDetails.Camera.Camera.doc, Mod.Show.SceneDetails.ClipPlane.ClipPlane.doc, Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.doc, Mod.Show.SceneDetails.Pickability.Pickability.doc, Mod.Show.SceneDetails.VProperty.VProperty.doc, TestSpreadsheet.SpreadsheetCases.doc, TestSpreadsheetGui.SpreadsheetGuiCases.doc, and Commands.TemplatePyMod_Cmd2.doc.
def draftguitools.gui_drawing.Drawing.GetResources | ( | self | ) |
Set icon, menu and tooltip.
References draftutils.translate.QT_TRANSLATE_NOOP.
def draftguitools.gui_drawing.Drawing.proceed | ( | self | ) |
Proceed with execution of the command after proper selection.
References Py::PythonExtensionBase.call(), draftguitools.gui_arcs.Arc.call, draftguitools.gui_array_simple.Array.call, draftguitools.gui_base.GuiCommandBase.call, draftguitools.gui_base_original.DraftTool.call, draftguitools.gui_clone.Clone.call, draftguitools.gui_dimensions.Dimension.call, draftguitools.gui_downgrade.Downgrade.call, draftguitools.gui_draft2sketch.Draft2Sketch.call, draftguitools.gui_drawing.Drawing.call, draftguitools.gui_ellipses.Ellipse.call, draftguitools.gui_facebinders.Facebinder.call, draftguitools.gui_join.Join.call, draftguitools.gui_labels.Label.call, draftguitools.gui_lines.Line.call, draftguitools.gui_mirror.Mirror.call, draftguitools.gui_move.Move.call, draftguitools.gui_offset.Offset.call, draftguitools.gui_patharray.PathArray.call, draftguitools.gui_pathtwistedarray.PathTwistedArray.call, draftguitools.gui_polygons.Polygon.call, draftguitools.gui_rectangles.Rectangle.call, draftguitools.gui_rotate.Rotate.call, draftguitools.gui_scale.Scale.call, draftguitools.gui_selectplane.Draft_SelectPlane.call, draftguitools.gui_shape2dview.Shape2DView.call, draftguitools.gui_shapestrings.ShapeString.call, draftguitools.gui_split.Split.call, draftguitools.gui_stretch.Stretch.call, draftguitools.gui_subelements.SubelementHighlight.call, draftguitools.gui_texts.Text.call, draftguitools.gui_trimex.Trimex.call, draftguitools.gui_upgrade.Upgrade.call, drafttaskpanels.task_shapestring.ShapeStringTaskPanelEdit.call, Commands.TemplatePyMod_Cmd2.call, Gui::Dialog::Clipping::Private.view, Gui::GraphvizView.view, Gui::ItemViewSelection.view, Gui::PointMarker.view, draftguitools.gui_base.GuiCommandBase.view, draftguitools.gui_base_original.DraftTool.view, draftguitools.gui_circulararray.CircularArray.view, draftguitools.gui_edit.Edit.view, draftguitools.gui_orthoarray.OrthoArray.view, draftguitools.gui_points.Point.view, draftguitools.gui_polararray.PolarArray.view, draftguitools.gui_selectplane.Draft_SelectPlane.view, draftguitools.gui_snapper.Snapper.view, draftguitools.gui_trackers.archDimTracker.view, DrawingGui::ViewProviderDrawingPage.view, femexamples.examplesgui.FemExamples.view, FemGui::PointMarker.view, FemGui::DataMarker.view, MeshGui::DlgEvaluateMeshImp::Private.view, MeshPartGui::CrossSections.view, PartGui::CrossSections.view, PartGui::FaceColors::Private.view, PathScripts.PathGetPoint.TaskPanel.view, MyPaintable.view, Teapots.view, Rubberband.view, ExpressionDelegate.view, SpreadsheetGui::ViewProviderSheet.view, Commands.TemplatePyMod_Cmd2.view, and WebGui::BrowserView.view.
Referenced by draftguitools.gui_split.Split.action(), draftguitools.gui_edit.Edit.Activated(), draftguitools.gui_pointarray.PointArray.Activated(), draftguitools.gui_move.Move.get_object_selection(), draftguitools.gui_rotate.Rotate.get_object_selection(), draftguitools.gui_scale.Scale.get_object_selection(), and draftguitools.gui_subelements.SubelementHighlight.get_selection().
draftguitools.gui_drawing.Drawing.call |
Referenced by draftguitools.gui_base.GuiCommandBase.finish(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelEdit.finish(), draftguitools.gui_base_original.DraftTool.finish(), draftguitools.gui_selectplane.Draft_SelectPlane.finish(), draftguitools.gui_subelements.SubelementHighlight.get_selection(), draftguitools.gui_drawing.Drawing.proceed(), draftguitools.gui_mirror.Mirror.proceed(), draftguitools.gui_move.Move.proceed(), draftguitools.gui_offset.Offset.proceed(), draftguitools.gui_rotate.Rotate.proceed(), draftguitools.gui_scale.Scale.proceed(), draftguitools.gui_stretch.Stretch.proceed(), draftguitools.gui_trimex.Trimex.proceed(), and draftguitools.gui_subelements.SubelementHighlight.remove_view_callback().
draftguitools.gui_drawing.Drawing.ghost |
Referenced by draftguitools.gui_labels.Label.action(), draftguitools.gui_mirror.Mirror.action(), draftguitools.gui_offset.Offset.action(), draftguitools.gui_edit.Edit.finalizeGhost(), draftguitools.gui_offset.Offset.finish(), draftguitools.gui_trimex.Trimex.finish(), draftguitools.gui_labels.Label.finish(), draftguitools.gui_mirror.Mirror.finish(), draftguitools.gui_offset.Offset.numericRadius(), draftguitools.gui_trimex.Trimex.redraw(), draftguitools.gui_trimex.Trimex.trimObject(), draftguitools.gui_edit.Edit.updateGhost(), and draftguitools.gui_edit.Edit.updateTrackerAndGhost().
draftguitools.gui_drawing.Drawing.page |