def __init__(self, parent, index_name, model): QItemDelegate.__init__(self, parent) self.index_name = index_name self.model = model self.document_type_row = -1 self.display_valid_row = -1 self.preservation_valid_row = -1
def __init__(self, parent): QItemDelegate.__init__(self, parent) self.font = binaryninjaui.getMonospaceFont(parent) self.font.setKerning(False) self.baseline = QFontMetricsF(self.font).ascent() self.char_width = binaryninjaui.getFontWidthAndAdjustSpacing(self.font)[0] self.char_height = QFontMetricsF(self.font).height() self.char_offset = binaryninjaui.getFontVerticalOffset() self.expected_char_widths = [10, 32]
def __init__(self, parent): QItemDelegate.__init__(self, parent)
def __init__(self, parent): QItemDelegate.__init__(self, parent) self.items = ["None"]