Public Member Functions | |
None | append_item (self, Addon repo) |
None | clear (self) |
int | columnCount (self, QModelIndex parent=QModelIndex()) |
def | data (self, QModelIndex index, int role=Qt.DisplayRole) |
def | headerData (self, section, orientation, role=Qt.DisplayRole) |
None | reload_item (self, Addon repo) |
int | rowCount (self, QModelIndex parent=QModelIndex()) |
None | setData (self, QModelIndex index, value, role=Qt.EditRole) |
None | update_item_icon (self, str name, QIcon icon) |
None | update_item_status (self, str name, Addon.Status status) |
Public Attributes | |
repos | |
Static Public Attributes | |
DataAccessRole = Qt.UserRole | |
int | IconUpdateRole = Qt.UserRole + 2 |
list | repos = [] |
int | StatusUpdateRole = Qt.UserRole + 1 |
write_lock = threading.Lock() | |
None package_list.PackageListItemModel.append_item | ( | self, | |
Addon | repo | ||
) |
References addonmanager_workers.CheckWorkbenchesForUpdatesWorker.repos, addonmanager_workers.CacheMacroCode.repos, addonmanager_workers.UpdateMetadataCacheWorker.repos, addonmanager_workers.UpdateAllWorker.repos, package_list.PackageListItemModel.repos, App::MoveCellsExpressionVisitor< P >.rowCount, App::Range.rowCount(), Gui::Dialog::CommandModel.rowCount(), Gui::Dialog::PrintModel.rowCount(), PartGui::ResultModel.rowCount(), Gui::Dialog::ButtonModel.rowCount(), Gui::DocumentModel.rowCount(), Gui::Dialog::DownloadModel.rowCount(), ExpressionCompleterModel.rowCount(), Gui::PropertyEditor::PropertyModel.rowCount(), Gui::VectorTableModel.rowCount(), SpreadsheetGui::SheetModel.rowCount(), package_list.PackageListItemModel.rowCount(), change_branch.ChangeBranchDialogModel.rowCount(), and package_list.PackageListItemModel.write_lock.
None package_list.PackageListItemModel.clear | ( | self | ) |
References App::MoveCellsExpressionVisitor< P >.rowCount, App::Range.rowCount(), Gui::Dialog::CommandModel.rowCount(), Gui::Dialog::PrintModel.rowCount(), PartGui::ResultModel.rowCount(), Gui::Dialog::ButtonModel.rowCount(), Gui::DocumentModel.rowCount(), Gui::Dialog::DownloadModel.rowCount(), ExpressionCompleterModel.rowCount(), Gui::PropertyEditor::PropertyModel.rowCount(), Gui::VectorTableModel.rowCount(), SpreadsheetGui::SheetModel.rowCount(), package_list.PackageListItemModel.rowCount(), change_branch.ChangeBranchDialogModel.rowCount(), and package_list.PackageListItemModel.write_lock.
int package_list.PackageListItemModel.columnCount | ( | self, | |
QModelIndex | parent = QModelIndex() |
||
) |
def package_list.PackageListItemModel.data | ( | self, | |
QModelIndex | index, | ||
int | role = Qt.DisplayRole |
||
) |
References addonmanager_workers.CheckWorkbenchesForUpdatesWorker.repos, addonmanager_workers.CacheMacroCode.repos, addonmanager_workers.UpdateMetadataCacheWorker.repos, addonmanager_workers.UpdateAllWorker.repos, and package_list.PackageListItemModel.repos.
Referenced by Mod.Show.mTempoVis.TempoVis.activateWorkbench(), Mod.Show.SceneDetail.SceneDetail.apply_data(), importIFClegacy.IfcSchema.capitalize(), Mod.Show.mTempoVis.TempoVis.forget(), Mod.Show.mTempoVis.TempoVis.forgetDetail(), Mod.Show.mTempoVis.TempoVis.has(), ArchSchedule.CommandArchSchedule.IsActive(), importIFClegacy.IfcSchema.readEntities(), importIFClegacy.IfcSchema.readTypes(), Mod.Show.mTempoVis.TempoVis.restore(), Mod.Show.mTempoVis.TempoVis.save(), Mod.Show.mTempoVis.TempoVis.stored_val(), FeaturePython.ViewProviderOctahedron.updateData(), and Dice3DS.dom3ds.UndefinedChunk.write().
def package_list.PackageListItemModel.headerData | ( | self, | |
section, | |||
orientation, | |||
role = Qt.DisplayRole |
|||
) |
None package_list.PackageListItemModel.reload_item | ( | self, | |
Addon | repo | ||
) |
References addonmanager_workers.CheckWorkbenchesForUpdatesWorker.repos, addonmanager_workers.CacheMacroCode.repos, addonmanager_workers.UpdateMetadataCacheWorker.repos, addonmanager_workers.UpdateAllWorker.repos, package_list.PackageListItemModel.repos, and package_list.PackageListItemModel.write_lock.
int package_list.PackageListItemModel.rowCount | ( | self, | |
QModelIndex | parent = QModelIndex() |
||
) |
References addonmanager_workers.CheckWorkbenchesForUpdatesWorker.repos, addonmanager_workers.CacheMacroCode.repos, addonmanager_workers.UpdateMetadataCacheWorker.repos, addonmanager_workers.UpdateAllWorker.repos, and package_list.PackageListItemModel.repos.
Referenced by package_list.PackageListItemModel.append_item(), and package_list.PackageListItemModel.clear().
None package_list.PackageListItemModel.setData | ( | self, | |
QModelIndex | index, | ||
value, | |||
role = Qt.EditRole |
|||
) |
Set the data for this row. The column of the index is ignored.
References kdtreeNode.index, SMDS_FaceOfEdges_MyIterator.index, SMDS_VolumeOfFaces_MyIterator.index, App::LinkBaseExtension::PropInfo.index, App::VRMLObject.index, Base::Type.index, NetworkManager.QueueItem.index, Dice3DS.dom3ds.FileLikeBuffer.index, automotive_design.index_expression.index(), MeshGui::ViewProviderFace.index, MeshGui::SoFCMeshSegmentShape.index, PartGui::FaceColors::Private.index, Path::Voronoi::diagram_type.index(), DrawingGui::OrthoViews.index(), PartGui::ResultModel.index(), Gui::Dialog::CommandModel.index(), Gui::DocumentModel.index(), ExpressionCompleterModel.index(), Gui::PropertyEditor::PropertyModel.index(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.index(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction.index(), SMDS_MeshInfo.index(), Path::VoronoiCell.index, Path::VoronoiEdge.index, Path::VoronoiVertex.index, geoff_geometry::SpanVertex.index, PathScripts.PathJobDlg.JobCreate.index, PathScripts.PathUtils.depth_params.index, Sketcher::Sketch::GeoDef.index, Spreadsheet_legacy.MathParser.index, TechDraw::GeometryUtils::ReturnType.index, addonmanager_workers.CheckWorkbenchesForUpdatesWorker.repos, addonmanager_workers.CacheMacroCode.repos, addonmanager_workers.UpdateMetadataCacheWorker.repos, addonmanager_workers.UpdateAllWorker.repos, package_list.PackageListItemModel.repos, and package_list.PackageListItemModel.write_lock.
Referenced by package_list.PackageListItemModel.update_item_icon(), and package_list.PackageListItemModel.update_item_status().
None package_list.PackageListItemModel.update_item_icon | ( | self, | |
str | name, | ||
QIcon | icon | ||
) |
References kdtreeNode.index, SMDS_FaceOfEdges_MyIterator.index, SMDS_VolumeOfFaces_MyIterator.index, App::LinkBaseExtension::PropInfo.index, App::VRMLObject.index, Base::Type.index, automotive_design.index_expression.index(), Path::Voronoi::diagram_type.index(), DrawingGui::OrthoViews.index(), PartGui::ResultModel.index(), Gui::Dialog::CommandModel.index(), Gui::DocumentModel.index(), ExpressionCompleterModel.index(), Gui::PropertyEditor::PropertyModel.index(), NetworkManager.QueueItem.index, Dice3DS.dom3ds.FileLikeBuffer.index, MeshGui::ViewProviderFace.index, MeshGui::SoFCMeshSegmentShape.index, PartGui::FaceColors::Private.index, Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.index(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction.index(), SMDS_MeshInfo.index(), Path::VoronoiCell.index, Path::VoronoiEdge.index, Path::VoronoiVertex.index, geoff_geometry::SpanVertex.index, PathScripts.PathJobDlg.JobCreate.index, PathScripts.PathUtils.depth_params.index, Sketcher::Sketch::GeoDef.index, Spreadsheet_legacy.MathParser.index, TechDraw::GeometryUtils::ReturnType.index, addonmanager_workers.CheckWorkbenchesForUpdatesWorker.repos, addonmanager_workers.CacheMacroCode.repos, addonmanager_workers.UpdateMetadataCacheWorker.repos, addonmanager_workers.UpdateAllWorker.repos, package_list.PackageListItemModel.repos, Gui::GraphvizWorker.setData(), Gui::DocumentModel.setData(), Gui::PropertyEditor::PropertyModel.setData(), SpreadsheetGui::SheetModel.setData(), Gui::VectorTableModel.setData(), PartGui::FilletRadiusModel.setData(), Gui::PropertyEditor::PropertyItem.setData(), Gui::DocumentModelIndex.setData(), Gui::Dialog::ParameterGroupItem.setData(), Gui::Dialog::ParameterValueItem.setData(), Gui::DocumentObjectItem.setData(), PartGui::BooleanOperationItem.setData(), Gui::DocumentItem.setData(), ConstraintItem.setData(), and package_list.PackageListItemModel.setData().
None package_list.PackageListItemModel.update_item_status | ( | self, | |
str | name, | ||
Addon.Status | status | ||
) |
References kdtreeNode.index, SMDS_FaceOfEdges_MyIterator.index, SMDS_VolumeOfFaces_MyIterator.index, App::LinkBaseExtension::PropInfo.index, App::VRMLObject.index, Base::Type.index, automotive_design.index_expression.index(), Path::Voronoi::diagram_type.index(), DrawingGui::OrthoViews.index(), PartGui::ResultModel.index(), Gui::Dialog::CommandModel.index(), Gui::DocumentModel.index(), ExpressionCompleterModel.index(), Gui::PropertyEditor::PropertyModel.index(), NetworkManager.QueueItem.index, Dice3DS.dom3ds.FileLikeBuffer.index, MeshGui::ViewProviderFace.index, MeshGui::SoFCMeshSegmentShape.index, PartGui::FaceColors::Private.index, Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.index(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction.index(), SMDS_MeshInfo.index(), Path::VoronoiCell.index, Path::VoronoiEdge.index, Path::VoronoiVertex.index, geoff_geometry::SpanVertex.index, PathScripts.PathJobDlg.JobCreate.index, PathScripts.PathUtils.depth_params.index, Sketcher::Sketch::GeoDef.index, Spreadsheet_legacy.MathParser.index, TechDraw::GeometryUtils::ReturnType.index, addonmanager_workers.CheckWorkbenchesForUpdatesWorker.repos, addonmanager_workers.CacheMacroCode.repos, addonmanager_workers.UpdateMetadataCacheWorker.repos, addonmanager_workers.UpdateAllWorker.repos, package_list.PackageListItemModel.repos, Gui::GraphvizWorker.setData(), Gui::DocumentModel.setData(), Gui::PropertyEditor::PropertyModel.setData(), SpreadsheetGui::SheetModel.setData(), Gui::VectorTableModel.setData(), PartGui::FilletRadiusModel.setData(), Gui::PropertyEditor::PropertyItem.setData(), Gui::DocumentModelIndex.setData(), Gui::Dialog::ParameterGroupItem.setData(), Gui::Dialog::ParameterValueItem.setData(), Gui::DocumentObjectItem.setData(), PartGui::BooleanOperationItem.setData(), Gui::DocumentItem.setData(), ConstraintItem.setData(), and package_list.PackageListItemModel.setData().
|
static |
|
static |
|
static |
Referenced by package_list.PackageListItemModel.append_item(), package_list.PackageListItemModel.data(), addonmanager_workers.UpdateAllWorker.on_failure(), addonmanager_workers.UpdateAllWorker.on_success(), package_list.PackageListItemModel.reload_item(), package_list.PackageListItemModel.rowCount(), addonmanager_workers.UpdateMetadataCacheWorker.run(), addonmanager_workers.UpdateAllWorker.run(), package_list.PackageListItemModel.setData(), addonmanager_workers.CacheMacroCode.update_and_advance(), package_list.PackageListItemModel.update_item_icon(), and package_list.PackageListItemModel.update_item_status().
package_list.PackageListItemModel.repos |
Referenced by package_list.PackageListItemModel.append_item(), package_list.PackageListItemModel.data(), addonmanager_workers.UpdateAllWorker.on_failure(), addonmanager_workers.UpdateAllWorker.on_success(), package_list.PackageListItemModel.reload_item(), package_list.PackageListItemModel.rowCount(), addonmanager_workers.UpdateMetadataCacheWorker.run(), addonmanager_workers.UpdateAllWorker.run(), package_list.PackageListItemModel.setData(), addonmanager_workers.CacheMacroCode.update_and_advance(), package_list.PackageListItemModel.update_item_icon(), and package_list.PackageListItemModel.update_item_status().
|
static |
|
static |