def onCategoryChange(self,item = None):
assetType = str(self.typeList.getCurrentItem())
log.debug("onCategoryChange() " + assetType)
if assetType == "Clothes":
category = str(self.categoryList.getCurrentItem())
if category == '' or not category:
category = "All"
self.assetList.setData(sorted(self.clothesNames[category]))
self.screenshot.setPixmap(QtGui.QPixmap(os.path.abspath(self.notfound)))
self.thumbnail.setPixmap(QtGui.QPixmap(os.path.abspath(self.notfound)))
self.assetInfoText.setText("Nothing selected")
assetdownload.py 文件源码
python
阅读 27
收藏 0
点赞 0
评论 0
评论列表
文章目录