def _fileChooserClicked(self):
    (location, _) = QtWidgets.QFileDialog.getOpenFileName(self, 'Select File Location', self._previousLocation)
    if location:
        self._previousLocation = location
        display_location = self._output_location(location)
        self._ui.lineEditFileLocation.setText(display_location)
def _fileChooserClicked(self):
    (location, _) = QtWidgets.QFileDialog.getOpenFileName(self, 'Select File Location', self._previousLocation)
    if location:
        self._previousLocation = location
        display_location = self._output_location(location)
        self._ui.lineEditFileLocation.setText(display_location)