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

Method updateGeometries

QListView/ImageView.py:193–196  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

191 return self.currentIndex().row()
192
193 def updateGeometries(self):
194 # 一次滑动20px
195 super(ImageView, self).updateGeometries()
196 self.verticalScrollBar().setSingleStep(ScrollPixel)
197
198 def closeEvent(self, event):
199 # 关闭预览窗口

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected