Function ListWidget.selectionChanged

override to handle change of selection

void selectionChanged(
  int index,
  int previouslySelectedItem = -1
);