def _asns_clicked(self):
        nickname = self.ui.nicknameEdit.text()
        prj = Dataset.projects[nickname]
        prj.set_assignments()

        from views import AssignmentDialog
        assignment_dialog = AssignmentDialog(prj)
        assignment_dialog.exec_()
    def _asns_clicked(self):
        name = self.ui.nameEdit.text()
        emp = Dataset.employees[name]
        emp.set_assignments()

        from views import AssignmentDialog
        assignment_dialog = AssignmentDialog(emp)
        assignment_dialog.exec_()
    def _employee_clicked(self, row):
        from models import Dataset
        emp_name = self.tbl.item(row, 0).text()
        emp = Dataset.employees[emp_name]
        emp.set_assignments()

        from views import AssignmentDialog
        assignment_dialog = AssignmentDialog(emp)
        assignment_dialog.exec_()