MCPcopy Create free account
hub / github.com/PyQt5/PyQt / closeEvent

Method closeEvent

QListView/ImageView.py:198–201  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

196 self.verticalScrollBar().setSingleStep(ScrollPixel)
197
198 def closeEvent(self, event):
199 # 关闭预览窗口
200 self.bigView.close()
201 super(ImageView, self).closeEvent(event)
202
203 def wheelEvent(self, event):
204 # 修复滑动bug

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected