Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chidiwilliams/buzz
/ initStyleOption
Method
initStyleOption
buzz/widgets/record_delegate.py:12–15 ·
view source on GitHub ↗
(self, option, index)
Source
from the content-addressed store, hash-verified
10
self.callback = text_getter
11
12
def
initStyleOption(self, option, index):
13
super().initStyleOption(option, index)
14
model: QSqlTableModel = index.model()
15
option.text = self.callback(model.record(index.row()))
Callers
nothing calls this directly
Calls
2
model
Method · 0.80
callback
Method · 0.80
Tested by
no test coverage detected