package_list.PackageListItemDelegate Class Reference

Public Member Functions

str get_compact_update_string (self, Addon repo)
 
str get_expanded_update_string (self, Addon repo)
 
def paint (self, QPainter painter, QStyleOptionViewItem option, QModelIndex _)
 
None set_view (self, ListDisplayStyle style)
 
def sizeHint (self, option, index)
 
def update_content (self, index)
 

Public Attributes

 compact
 
 displayStyle
 
 expanded
 
 widget
 

Detailed Description

Render the repo data as a formatted region

Member Function Documentation

◆ get_compact_update_string()

str package_list.PackageListItemDelegate.get_compact_update_string (   self,
Addon  repo 
)
Get a single-line string listing details about the installed version and date

Referenced by package_list.PackageListItemDelegate.update_content().

◆ get_expanded_update_string()

str package_list.PackageListItemDelegate.get_expanded_update_string (   self,
Addon  repo 
)
Get a multi-line string listing details about the installed version and date

References DraftVecUtils.toString().

Referenced by package_list.PackageListItemDelegate.update_content().

◆ paint()

def package_list.PackageListItemDelegate.paint (   self,
QPainter  painter,
QStyleOptionViewItem  option,
QModelIndex  _ 
)

References OfflineRenderingUtils.render(), Ui_DlgExpressionInput.widget, Gui::Ui_VectorListEditor.widget, Gui::Dialog::TaskDisplayProperties.widget, Gui::Dialog::TaskPlacement.widget, GesturesDevice.widget, Gui::TaskElementColors.widget, Gui::DockWnd::ToolBox.widget(), Gui::Dialog::DefaultTransformStrategy.widget, UpdateDisabler.widget, package_list.PackageListItemDelegate.widget, DrawingGui::TaskProjection.widget, DrawingGui::TaskDlgOrthoViews.widget, InspectionGui::ViewProviderProxyObject.widget, MaterialEditor.MaterialEditor.widget, MeshGui::TaskDecimating.widget, MeshGui::SmoothingDialog.widget, MeshGui::TaskSmoothing.widget, MeshGui::TaskRemeshGmsh.widget, MeshGui::RemoveComponentsDialog.widget, MeshGui::TaskRemoveComponents.widget, MeshGui::TaskSegmentation.widget, MeshGui::TaskSegmentationBestFit.widget, MeshPartGui::TaskCrossSections.widget, MeshPartGui::TaskCurveOnMesh.widget, MeshPartGui::TaskTessellation.widget, PartGui::TaskCrossSections.widget, PartGui::TaskBooleanOperation.widget, PartGui::TaskExtrusion.widget, PartGui::FilletEdgesDialog.widget, PartGui::TaskFilletEdges.widget, PartGui::TaskChamferEdges.widget, PartGui::TaskPrimitives.widget, PartGui::TaskPrimitivesEdit.widget, PartGui::TaskProjectionOnSurface.widget, PartGui::TaskRevolution.widget, PartGui::TaskMirroring.widget, PartGui::TaskCheckGeometryDialog.widget, PartGui::TaskFaceColors.widget, PartGui::TaskLoft.widget, PartGui::TaskOffset.widget, PartGui::TaskShapeBuilder.widget, PartGui::TaskSweep.widget, PartGui::TaskThickness.widget, Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.widget, PathScripts.PathGui.QuantitySpinBox.widget, PathScripts.PathPropertyEditor._PropertyEditor.widget(), PathScripts.PathPropertyEditor._PropertyEditorBool.widget(), PathScripts.PathPropertyEditor._PropertyEditorString.widget(), PathScripts.PathPropertyEditor._PropertyEditorQuantity.widget(), PathScripts.PathPropertyEditor._PropertyEditorPercent.widget(), PathScripts.PathPropertyEditor._PropertyEditorInteger.widget(), PathScripts.PathPropertyEditor._PropertyEditorFloat.widget(), PathScripts.PathPropertyEditor._PropertyEditorFile.widget(), PathScripts.PathPropertyEditor._PropertyEditorEnumeration.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyEnumEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyBoolEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyStringEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyAngleEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyLengthEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyPercentEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyIntegerEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyFloatEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyFileEditor.widget(), ReenGui::TaskFitBSplineSurface.widget, ReenGui::TaskPoisson.widget, ReverseEngineeringGui::TaskSegmentation.widget, ReverseEngineeringGui::TaskSegmentationManual.widget, SketcherGui::TaskSketcherGeneral.widget, SurfaceGui::TaskGeomFillSurface.widget, TechDrawGui::TaskDlgActiveView.widget, TechDrawGui::TaskDlgAlignViews.widget, TechDrawGui::TaskDlgBalloon.widget, TechDrawGui::TaskDlgCenterLine.widget, TechDrawGui::TaskDlgCosmeticLine.widget, TechDrawGui::TaskDlgCosVertex.widget, TechDrawGui::TaskDlgCustomizeFormat.widget, TechDrawGui::TaskDlgDetail.widget, TechDrawGui::TaskDlgDimension.widget, TechDrawGui::TaskDlgGeomHatch.widget, TechDrawGui::TaskDlgHatch.widget, TechDrawGui::TaskDlgLeaderLine.widget, TechDrawGui::TaskDlgLineDecor.widget, TechDrawGui::TaskDlgLinkDim.widget, TechDrawGui::TaskDlgProjection.widget, TechDrawGui::TaskDlgProjGroup.widget, TechDrawGui::TaskDlgRichAnno.widget, TechDrawGui::TaskDlgSectionView.widget, TechDrawGui::TaskDlgSelectLineAttributes.widget, and TechDrawGui::TaskDlgWeldingSymbol.widget.

◆ set_view()

None package_list.PackageListItemDelegate.set_view (   self,
ListDisplayStyle  style 
)

◆ sizeHint()

def package_list.PackageListItemDelegate.sizeHint (   self,
  option,
  index 
)

References package_list.PackageListItemDelegate.sizeHint(), package_list.PackageListItemDelegate.update_content(), Ui_DlgExpressionInput.widget, Gui::Ui_VectorListEditor.widget, Gui::Dialog::TaskDisplayProperties.widget, Gui::Dialog::TaskPlacement.widget, GesturesDevice.widget, Gui::TaskElementColors.widget, Gui::DockWnd::ToolBox.widget(), Gui::Dialog::DefaultTransformStrategy.widget, UpdateDisabler.widget, package_list.PackageListItemDelegate.widget, DrawingGui::TaskProjection.widget, DrawingGui::TaskDlgOrthoViews.widget, InspectionGui::ViewProviderProxyObject.widget, MaterialEditor.MaterialEditor.widget, MeshGui::TaskDecimating.widget, MeshGui::SmoothingDialog.widget, MeshGui::TaskSmoothing.widget, MeshGui::TaskRemeshGmsh.widget, MeshGui::RemoveComponentsDialog.widget, MeshGui::TaskRemoveComponents.widget, MeshGui::TaskSegmentation.widget, MeshGui::TaskSegmentationBestFit.widget, MeshPartGui::TaskCrossSections.widget, MeshPartGui::TaskCurveOnMesh.widget, MeshPartGui::TaskTessellation.widget, PartGui::TaskCrossSections.widget, PartGui::TaskBooleanOperation.widget, PartGui::TaskExtrusion.widget, PartGui::FilletEdgesDialog.widget, PartGui::TaskFilletEdges.widget, PartGui::TaskChamferEdges.widget, PartGui::TaskPrimitives.widget, PartGui::TaskPrimitivesEdit.widget, PartGui::TaskProjectionOnSurface.widget, PartGui::TaskRevolution.widget, PartGui::TaskMirroring.widget, PartGui::TaskCheckGeometryDialog.widget, PartGui::TaskFaceColors.widget, PartGui::TaskLoft.widget, PartGui::TaskOffset.widget, PartGui::TaskShapeBuilder.widget, PartGui::TaskSweep.widget, PartGui::TaskThickness.widget, Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.widget, PathScripts.PathGui.QuantitySpinBox.widget, PathScripts.PathPropertyEditor._PropertyEditor.widget(), PathScripts.PathPropertyEditor._PropertyEditorBool.widget(), PathScripts.PathPropertyEditor._PropertyEditorString.widget(), PathScripts.PathPropertyEditor._PropertyEditorQuantity.widget(), PathScripts.PathPropertyEditor._PropertyEditorPercent.widget(), PathScripts.PathPropertyEditor._PropertyEditorInteger.widget(), PathScripts.PathPropertyEditor._PropertyEditorFloat.widget(), PathScripts.PathPropertyEditor._PropertyEditorFile.widget(), PathScripts.PathPropertyEditor._PropertyEditorEnumeration.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyEnumEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyBoolEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyStringEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyAngleEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyLengthEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyPercentEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyIntegerEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyFloatEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyFileEditor.widget(), ReenGui::TaskFitBSplineSurface.widget, ReenGui::TaskPoisson.widget, ReverseEngineeringGui::TaskSegmentation.widget, ReverseEngineeringGui::TaskSegmentationManual.widget, SketcherGui::TaskSketcherGeneral.widget, SurfaceGui::TaskGeomFillSurface.widget, TechDrawGui::TaskDlgActiveView.widget, TechDrawGui::TaskDlgAlignViews.widget, TechDrawGui::TaskDlgBalloon.widget, TechDrawGui::TaskDlgCenterLine.widget, TechDrawGui::TaskDlgCosmeticLine.widget, TechDrawGui::TaskDlgCosVertex.widget, TechDrawGui::TaskDlgCustomizeFormat.widget, TechDrawGui::TaskDlgDetail.widget, TechDrawGui::TaskDlgDimension.widget, TechDrawGui::TaskDlgGeomHatch.widget, TechDrawGui::TaskDlgHatch.widget, TechDrawGui::TaskDlgLeaderLine.widget, TechDrawGui::TaskDlgLineDecor.widget, TechDrawGui::TaskDlgLinkDim.widget, TechDrawGui::TaskDlgProjection.widget, TechDrawGui::TaskDlgProjGroup.widget, TechDrawGui::TaskDlgRichAnno.widget, TechDrawGui::TaskDlgSectionView.widget, TechDrawGui::TaskDlgSelectLineAttributes.widget, and TechDrawGui::TaskDlgWeldingSymbol.widget.

Referenced by package_list.PackageListItemDelegate.sizeHint().

◆ update_content()

def package_list.PackageListItemDelegate.update_content (   self,
  index 
)

References package_list.PackageListItemDelegate.compact, package_list.PackageListItemDelegate.displayStyle, Gui::PropertyEditor::PropertyItem.expanded, package_list.PackageListItemDelegate.expanded, package_list.PackageListItemDelegate.get_compact_update_string(), package_list.PackageListItemDelegate.get_expanded_update_string(), Ui_DlgExpressionInput.widget, Gui::Ui_VectorListEditor.widget, Gui::Dialog::TaskDisplayProperties.widget, Gui::Dialog::TaskPlacement.widget, GesturesDevice.widget, Gui::TaskElementColors.widget, Gui::DockWnd::ToolBox.widget(), Gui::Dialog::DefaultTransformStrategy.widget, UpdateDisabler.widget, package_list.PackageListItemDelegate.widget, DrawingGui::TaskProjection.widget, DrawingGui::TaskDlgOrthoViews.widget, InspectionGui::ViewProviderProxyObject.widget, MaterialEditor.MaterialEditor.widget, MeshGui::TaskDecimating.widget, MeshGui::SmoothingDialog.widget, MeshGui::TaskSmoothing.widget, MeshGui::TaskRemeshGmsh.widget, MeshGui::RemoveComponentsDialog.widget, MeshGui::TaskRemoveComponents.widget, MeshGui::TaskSegmentation.widget, MeshGui::TaskSegmentationBestFit.widget, MeshPartGui::TaskCrossSections.widget, MeshPartGui::TaskCurveOnMesh.widget, MeshPartGui::TaskTessellation.widget, PartGui::TaskCrossSections.widget, PartGui::TaskBooleanOperation.widget, PartGui::TaskExtrusion.widget, PartGui::FilletEdgesDialog.widget, PartGui::TaskFilletEdges.widget, PartGui::TaskChamferEdges.widget, PartGui::TaskPrimitives.widget, PartGui::TaskPrimitivesEdit.widget, PartGui::TaskProjectionOnSurface.widget, PartGui::TaskRevolution.widget, PartGui::TaskMirroring.widget, PartGui::TaskCheckGeometryDialog.widget, PartGui::TaskFaceColors.widget, PartGui::TaskLoft.widget, PartGui::TaskOffset.widget, PartGui::TaskShapeBuilder.widget, PartGui::TaskSweep.widget, PartGui::TaskThickness.widget, Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.widget, PathScripts.PathGui.QuantitySpinBox.widget, PathScripts.PathPropertyEditor._PropertyEditor.widget(), PathScripts.PathPropertyEditor._PropertyEditorBool.widget(), PathScripts.PathPropertyEditor._PropertyEditorString.widget(), PathScripts.PathPropertyEditor._PropertyEditorQuantity.widget(), PathScripts.PathPropertyEditor._PropertyEditorPercent.widget(), PathScripts.PathPropertyEditor._PropertyEditorInteger.widget(), PathScripts.PathPropertyEditor._PropertyEditorFloat.widget(), PathScripts.PathPropertyEditor._PropertyEditorFile.widget(), PathScripts.PathPropertyEditor._PropertyEditorEnumeration.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyEnumEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyBoolEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyStringEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyAngleEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyLengthEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyPercentEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyIntegerEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyFloatEditor.widget(), PathScripts.PathSetupSheetOpPrototypeGui._PropertyFileEditor.widget(), ReenGui::TaskFitBSplineSurface.widget, ReenGui::TaskPoisson.widget, ReverseEngineeringGui::TaskSegmentation.widget, ReverseEngineeringGui::TaskSegmentationManual.widget, SketcherGui::TaskSketcherGeneral.widget, SurfaceGui::TaskGeomFillSurface.widget, TechDrawGui::TaskDlgActiveView.widget, TechDrawGui::TaskDlgAlignViews.widget, TechDrawGui::TaskDlgBalloon.widget, TechDrawGui::TaskDlgCenterLine.widget, TechDrawGui::TaskDlgCosmeticLine.widget, TechDrawGui::TaskDlgCosVertex.widget, TechDrawGui::TaskDlgCustomizeFormat.widget, TechDrawGui::TaskDlgDetail.widget, TechDrawGui::TaskDlgDimension.widget, TechDrawGui::TaskDlgGeomHatch.widget, TechDrawGui::TaskDlgHatch.widget, TechDrawGui::TaskDlgLeaderLine.widget, TechDrawGui::TaskDlgLineDecor.widget, TechDrawGui::TaskDlgLinkDim.widget, TechDrawGui::TaskDlgProjection.widget, TechDrawGui::TaskDlgProjGroup.widget, TechDrawGui::TaskDlgRichAnno.widget, TechDrawGui::TaskDlgSectionView.widget, TechDrawGui::TaskDlgSelectLineAttributes.widget, and TechDrawGui::TaskDlgWeldingSymbol.widget.

Referenced by package_list.PackageListItemDelegate.sizeHint().

Member Data Documentation

◆ compact

package_list.PackageListItemDelegate.compact

◆ displayStyle

package_list.PackageListItemDelegate.displayStyle

◆ expanded

package_list.PackageListItemDelegate.expanded

◆ widget

package_list.PackageListItemDelegate.widget

Referenced by MaterialEditor.MaterialEditor.accept(), Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.addColumn(), MaterialEditor.MaterialEditor.addCustomProperty(), PathScripts.PathGui.QuantitySpinBox.attachTo(), MaterialEditor.MaterialEditor.chooseMaterial(), MaterialEditor.MaterialEditor.deleteCustomProperty(), MaterialEditor.MaterialEditor.exec_(), PathScripts.PathGui.QuantitySpinBox.expression(), MaterialEditor.MaterialEditor.getDict(), Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.getDoubleValue(), Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.getFocusedCell(), Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.getFocusedColumn(), Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.getListValue(), MaterialEditor.MaterialEditor.implementModel(), MaterialEditor.MaterialEditor.onClickTree(), PathScripts.PathGui.QuantitySpinBox.onWidgetValueChanged(), MaterialEditor.MaterialEditor.openfile(), MaterialEditor.MaterialEditor.openProductURL(), MaterialEditor.MaterialEditor.outputDict(), package_list.PackageListItemDelegate.paint(), MaterialEditor.MaterialEditor.reject(), MaterialEditor.MaterialEditor.savefile(), Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.setDoubleValue(), Mod.PartDesign.WizardShaft.WizardShaftTable.WizardShaftTable.setListValue(), PathScripts.PathGui.QuantitySpinBox.setMinimum(), MaterialEditor.MaterialEditor.show(), package_list.PackageListItemDelegate.sizeHint(), MaterialEditor.MaterialEditor.storeSize(), package_list.PackageListItemDelegate.update_content(), MaterialEditor.MaterialEditor.updateCardsInCombo(), MaterialEditor.MaterialEditor.updateMatParamsInTree(), MaterialEditor.MaterialEditor.updatePreviews(), PathScripts.PathGui.QuantitySpinBox.updateProperty(), and PathScripts.PathGui.QuantitySpinBox.updateSpinBox().


The documentation for this class was generated from the following file: