pyqt5 从本地选择图片 并显示在label上

1.主要用到 QFileDialog 方法打开本地文件 2.界面    打开前:        打开后: 3. 代码 import sys from PyQt5 import QtWidgets, QtCore, QtGui from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtCore import * cla
相关文章
相关标签/搜索