“修改”

This commit is contained in:
p02945817 2022-06-13 22:48:08 +08:00
parent bf79a5c298
commit 563a221999
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ class mywindow(QtWidgets.QMainWindow, Ui_MainWindow):
print(self.path1) print(self.path1)
# 打开图像读取对话框 # 打开图像读取对话框
self.Img_fname, _ = QFileDialog.getOpenFileName(self, '打开', '.', '文件(*.jpg *.png)') self.Img_fname, _ = QFileDialog.getOpenFileName(self, '打开', '.', '文件(*.jpg *.png)')
self.label_movie.setPixmap(QtGui.QPixmap(self.Img_fname)) self.label_movie.setPixmap(QtGui.QPixmap(self.Img_fname))
pass pass