<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def on_source_directory_chooser_clicked(self):
 """Autoconnect slot activated when tbSourceDir is clicked."""


        title = self.tr('Set the source directory for script and scenario')
        self.choose_directory(self.source_directory, title)