“更新”

This commit is contained in:
p02945817 2022-06-14 18:13:52 +08:00
parent dffb614d36
commit 4c706e9e3e
1 changed files with 1 additions and 1 deletions

View File

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