Connect to valueEdited() signal instead of valueChanged(int)