title: Select all items in QListView and deselect all when directory is changed
body: <p>I created a window like this <a href="https://stackoverflow.com/questions/50283851/how-to-display-list-of-files-in-a-specified-directory-using-pyqt5">The link</a>! and when I select a directory I would like to select all items in the right Qlist, and when I change to a different directory, I would deselect the items in the previous directory and select all items in my current directory.</p>
  
  <p>How can I approach this?</p>