Gets the index of the selected item in its ListModel.
a ListBoxRow
the index of the selected item, or -1 if no item is selected