to what integer? Row or column? E.g.
Qt Code:
  1. currentIndex().row()
To copy to clipboard, switch view to plain text mode