示例#1
0
    def searchPatient(self, str):
        if self.patient is not None:
            for w in self.patient.widgets:
                w.destroy()

        pat = str.split()[1]
        self.patient = pw.PatientWindow(self.window, pat)
示例#2
0
 def on_close(self):
     if self.browser_frame:
         self.browser_frame.on_root_close()
     self.master.destroy()
     self.old_root.destroy()
     if self.frame is not None:
         self.frame.stop()
     pw.PatientWindow(self.old_window, self.id)
    def stop(self):
        cv2.destroyAllWindows()
        self.window.destroy()
        #self.vid.__del__()
        pw.PatientWindow(self.old_window, self.PatientId)

        # check this if it is replacable because it is creating problem
        self.vid.__del__()
        def selectPatient(str):

            if self.patient is not None:
                for w in self.patient.widgets:
                    w.destroy()

            #name_surname = str.get().split()
            pat = str.get().split()[2]
            self.patient = pw.PatientWindow(self.window, pat)
示例#5
0
        def selectPatient(str):
            if self.patient is not None:
                no_participant.destroy()
                for w in self.patient.widgets:
                    w.destroy()


            pat = str.get().split()[1]
            self.patient = pw.PatientWindow(self.window, pat)
示例#6
0
        def selectPatient(str):

            if self.patient is not None:
                for w in self.patient.widgets:
                    w.destroy()

            name_surname = str.get().split()

            self.patient = pw.PatientWindow(self.window, name_surname[0],
                                            name_surname[1], 0)
示例#7
0
 def registerPatientWindow(self, event):
     import patientWindow
     patientWindow.PatientWindow(self)