Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyQt5/PyQt
/ sizeHint
Method
sizeHint
QListWidget/DeleteCustomItem.py:37–39 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
35
self.itemDeleted.emit(self._item)
36
37
def
sizeHint(self):
38
# 决定item的高度
39
return
QSize(200, 40)
40
41
42
class
Window(QWidget):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected