diff --git a/main.py b/main.py index 60376ce..460fc78 100644 --- a/main.py +++ b/main.py @@ -37,7 +37,7 @@ class mywindow(QtWidgets.QMainWindow, Ui_MainWindow): self.stopEvent = threading.Event() self.stopEvent.clear() - + def exit(self): self.close() @@ -124,20 +124,6 @@ class mywindow(QtWidgets.QMainWindow, Ui_MainWindow): except Exception as e: pass - - - - - # files=os.listdir(self.video_image_path) - # print(type(files)) - # files=self.Sorted(files) - # print(files) - # for xmlFile in files: - # print(xmlFile) - # self.label_movie.setPixmap(QtGui.QPixmap( - # self.video_image_path+'/'+xmlFile)) - # time.sleep(0.5) - def Sorted(self,files): files=[int(i.split('.')[0]) for i in files] files.sort()