code: def index2qindexb(self, index):
          
          r = index // 0x10
          c = index % 0x10
          return self.index(r, c)
docs: from a buffer index, get the QIndex (row/column coordinate system) of the byte pane