(self, stuff)
| 37 | return "" |
| 38 | |
| 39 | def getImageId(self, stuff): |
| 40 | if not isinstance(stuff, Module): |
| 41 | return -1 |
| 42 | |
| 43 | if stuff.charge is None: |
| 44 | return -1 |
| 45 | else: |
| 46 | iconFile = stuff.charge.iconID if stuff.charge.iconID else "" |
| 47 | if iconFile: |
| 48 | return self.fittingView.imageList.GetImageIndex(iconFile, "icons") |
| 49 | else: |
| 50 | return -1 |
| 51 | |
| 52 | def getToolTip(self, mod): |
| 53 | if isinstance(mod, Module) and mod.charge is not None: |
nothing calls this directly
no test coverage detected