def change_job_state(self, job: Job):
        """Changes the status of a job in the jobs view table to running."""

        if job.state == JobState.RUNNING:
            status = RunningWidget()
        elif job.state == JobState.CANCELLED:
            status = CancelledWidget()
            self.cancel_button_map[job].setDisabled(True)
        elif job.state == JobState.FINISHED:
            status = FinishedWidget()
            self.change_job_progress(job)
            self.cancel_button_map[job].setDisabled(True)
        else:
            return
        self.status_map[job] = status
        self.setCellWidget(self.row_map[job], 0, status)
Changes the status of a job in the jobs view table to running.
angrmanagement/ui/widgets/qjobs.py