binaryninjax.CrossReferenceItemDelegate

class binaryninjax.CrossReferenceItemDelegate(parent=None)[source]

An item delegate used to paint the cross references window.

This delegate expects the display role of the cell to contain data in a simple hierarchical format:

::
color = 0xffffff text = “some text” word = [color, text] line = [word, word, …] lines = [line, line, …]
Variables:q – underlying Qt widget proxy