code: def on_source_directory_chooser_clicked(self):
          
  
          title = self.tr('Set the source directory for script and scenario')
          self.choose_directory(self.source_directory, title)
docs: Autoconnect slot activated when tbSourceDir is clicked.