Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyQt5/PyQt
/ initItems
Method
initItems
QListWidget/DragDrop.py:156–159 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
154
self.setItemWidget(item, label)
155
156
def
initItems(self):
157
size = QSize(100, 100)
158
for
cname in QColor.colorNames():
159
self.makeItem(size, cname)
160
161
162
if
__name__ ==
'__main__'
:
Callers
1
__init__
Method · 0.95
Calls
1
makeItem
Method · 0.95
Tested by
no test coverage detected