예제 #1
0
 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
예제 #2
0
	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]
예제 #3
0
    def __init__(self, parent):

        QItemDelegate.__init__(self, parent)
예제 #4
0
    def __init__(self, parent):

        QItemDelegate.__init__(self, parent)
        self.items = ["None"]