MCPcopy Create free account
hub / github.com/PyQt5/PyQtClient / onPictureItemAdded

Method onPictureItemAdded

Widgets/Dialogs/SkinDialog.py:156–163  ·  view source on GitHub ↗

添加分类图片Item :param widget: 该分类对应的PictureWidget :param index: 序号 :param title: 标题 :param path: 图片路径

(self, widget, index, title, path)

Source from the content-addressed store, hash-verified

154 widget.showWaiting(False)
155
156 def onPictureItemAdded(self, widget, index, title, path):
157 """添加分类图片Item
158 :param widget: 该分类对应的PictureWidget
159 :param index: 序号
160 :param title: 标题
161 :param path: 图片路径
162 """
163 widget.addItem(index, title, path)
164
165 def showEvent(self, event):
166 super(SkinDialog, self).showEvent(event)

Callers

nothing calls this directly

Calls 1

addItemMethod · 0.45

Tested by

no test coverage detected